I downloaded lorenz_3d.ijs from Oleg's
http://www.jsoftware.com/jwiki/Essays/Lorenz_Attractor and
the good news is it plugged directly into glviews.ijs
/j601/system/examples/graphics/opengl/demo/glviews.ijs and
produced an image with no variations except that I had to
press the "i" key several times to zoom in. But the bad news
was the very slow refresh rate when I rotate/translate the
image with the key presses.
So my idea is to create a glCallList for the Lorenz
curve also and to move the calllist creations OUT of the
paint verb into the opengl_run verb so that the lists are
only created once and called repeatedly in paint. But I
have not found a way to move the sequence like the following
out of paint and into opengl_run without crashing J. Any
ideas?
gsnewlist SPHERE
gluSphere quad,SPHERESIZE,10 10
gsendlist''
(B=) <----------my "sig"
Brian Schott
Atlanta, GA, USA
schott DOT bee are eye eh en AT gee em ae eye el DOT com
http://schott.selfip.net/~brian/
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm