Great job Carl! I tried the OpenGL demos on MacOS X 10.2 before and after making your change and yes it makes a big difference.
Another example is that, before the change, when I rotate the Simple demo (Basic | Simple) it appears that the object is in front of the red wireframe box, but after your change it appears to be contained within the red wireframe box as it does on Windows. I am using an iMac with a ATI Radeon 2600 graphics card. Assuming this change doesn't have any negative effects when using other hardware, it would be good to see this change made in the Library. --- Carl Jacobs wrote: > Okay, after much head scratching the OpenGL problems on the > MAC are making more sense. > > In jzopengl_darwin.ijs, I replaced line 37 which was: > r=. CGLChoosePixelFormat 53 8 32 0;(,2);,2 > with: > > r=. CGLChoosePixelFormat 53 8 32 12 8 0;(,2);,2 > which (I think) adds an 8 bit depth buffer to the render context. > (Well it could be adding just 8 levels - ie 3 bits). > > After that all the demos worked great!! > > I'm very much an OpenGL newbie, so comments are welcome! > > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
