That's a great idea to share lists between frames,
if only j601 allowed it.
You did not have to zoom out, just change the
aspect ratio -- make the window wider.
To speed up rendering you could
- reduce sphere mesh from 10 10 to 3 3 (or 5 5)
- remove every other or two points:
L=: (#~ 1 0 0 $~ #) 0.07*I^:(<COUNT) 0 1 0
^^^^^^^^^^^^^
--- Brian Schott <[EMAIL PROTECTED]> wrote:
> 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''
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm