[squeak-dev] OpenGL-Tutorial updated

Lawson English lenglish5 at cox.net
Thu Sep 8 23:13:53 UTC 2011


I added a couple of minor bits to my ongoing implementation of the HE 
OpenGL tutorials. Only 2-5 are available right now.

http://croquet-src-01.oit.duke.edu:8886/Contributions'
OpenGL-Tutorial-LDE.10

I added a timer option ala the OpenGL class>>example, basically.

To run, as is:

myOGLView :=  OGLMorphTutorial new.
myOGLView openInWorld.
myOGLView toggleTiming.  "on"
myOGLView toggleTiming. "off"

Currently it only runs Lesson 4. To change this, edit #renderScene to 
use one of the other tutorials available. I'll add an option to provide 
a choice of which lesson to run, eventually.

You can also use it as a template for your own experimentation with OpenGL.


Lawson






More information about the Squeak-dev mailing list