Hi Ric, I noticed that Oleg had a similar problem with Macs in his Diagram script. http://www.jsoftware.com/jwiki/Scripts/Diagram It sounds as though setinvalid is a challenge for the Mac platform and he painted directly instead.
Hope this helps, bob On -Jan7-2010, at -Jan7-20107:13 PM, Sherlock, Ric wrote: > Thanks, Yes I had found the solar.ijs file and seen that the reference to it > was commented out (along with tank) in glview.ijs. On second glance I saw > that 'solar' is added again below, and sure enough it is in the OpenGL demo > too - and it works! > > Regarding the jerkiness you see on your Mac for the pendulum animation, does > it improve if you change DT to say DT=: %200 ? > >> From: Brian Schott >> >> If the file solar.ijs is in the system/examples/graphics/opengl >> directory, try putting it into the script glviews.ijs in the same >> directory and fire it up. Otherwise, it may not be available to you >> unless someone with a Mac (wink, wink) sends you a copy. >> >> A simpler alternative might be to decomment the phrase solar.ijs in >> glview.ijs (notice, no s in this one). >> >> Other than that I can't remember if the file needed some tweaking. But >> let me know if you need more. >> >> >> >> On Thu, Jan 7, 2010 at 8:03 PM, Sherlock, Ric wrote: >>>> From: Brian Schott >>>> >>>> On my Mac your fine simulation is not smooth like the solar system >>>> Demo of J. >>> >>> I had a vague memory of seeing this before, but wasn't sure where to >> find it. Searching for "solar" in the ~system folder I found it in the >> OpenGL demo. However it appears to be commented out in the current >> distribution for Windows. Is it available in the Mac one? >>> >>> Ric >> ---------------------------------------------------------------------- >> For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm