# openGL and psychtoolbox

**URL:** <https://psychtoolbox.discourse.group/t/opengl-and-psychtoolbox/1365>\
**Category:** Uncategorized\
**Created:** [March 13, 2001, 7:08pm UTC](https://psychtoolbox.discourse.group/t/opengl-and-psychtoolbox/1365 "2001-03-13T19:08:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Allen\_Ingling](https://avatars.discourse-cdn.com/v4/letter/a/a183cd/32.png) [@Allen\_Ingling](https://psychtoolbox.discourse.group/u/Allen_Ingling)\
**Post date:** [March 13, 2001, 7:08pm UTC](https://psychtoolbox.discourse.group/t/opengl-and-psychtoolbox/1365/1 "2001-03-13T19:08:59Z")

</div>

Has anyone used OpenGL in psychtoolbox to show 3D objects? We just want   
to show 3D openGL objects and manipulate them in realtime. Anyone have   
some code they could share?  
  
Thanks, Mike Tarr  
[Michael\_Tarr@...](mailto:Michael_Tarr@...)

---

<div class="post-metadata">

**Author:** ![Allen\_Ingling](https://avatars.discourse-cdn.com/v4/letter/a/a183cd/32.png) [@Allen\_Ingling](https://psychtoolbox.discourse.group/u/Allen_Ingling)\
**Post date:** [March 14, 2001, 12:10am UTC](https://psychtoolbox.discourse.group/t/opengl-and-psychtoolbox/1365/2 "2001-03-14T00:10:51Z")

</div>

> \>Has anyone used OpenGL in psychtoolbox to show 3D objects? We just want   
> \>to show 3D openGL objects and manipulate them in realtime. Anyone have   
> \>some code they could share?  
> \>  
> \>Thanks, Mike Tarr  
> \>[Michael\_Tarr@...](mailto:Michael_Tarr@...)

dear mike  
  
you might want to look at Ben Singer's MATLAB extension for doing 2-D   
things in OpenGL. I think he provides complete sources, so it might be   
easy to extend for 3-D.  
  
[http://swift.cvs.rochester.edu/~bens/SimpleGL/](http://swift.cvs.rochester.edu/~bens/SimpleGL/)  
  
best  
  
denis
