OpenGL on MacOS

Started by cormullion, March 17, 2007, 07:28:29 AM

Previous topic - Next topic

cormullion

Can I do OpenGL on MacOS X? Existing OpenGL code doesn't work here - Linux and Windows only... :-(

Lutz

#1
The OpenGL demo will not work on the older PPC Macs but runs fine on the new Intel Macs out of the box, without the necessity of installing anything.



See a screen shot here: http://nuevatec.com/opengl.png">http://nuevatec.com/opengl.png



The file opengl-demo.lsp can-be found in the examples directory of the source distribution or the modules/examples package here:



http://newlisp.org/downloads/newlisp-9.1.1-modex.tgz">http://newlisp.org/downloads/newlisp-9.1.1-modex.tgz



Time to upgrade to  new Mac ;)



Lutz



Ps: enjoyed your last piece "Idle chatter" at http://newlisper.blogspot.com/">http://newlisper.blogspot.com/ very much.

cormullion

#2
Can't upgrade... machine less than 1 year old ;-/



I can use other OpenGL applications fine. So it's just newLISP that can't do it? Is there no way to fix it? What is the problem, anyway...?



See you on #newlisp, Lutz? ;-)

Lutz

#3
Its the way the OpenGL has been compiled on the PPC architecture and how floating point numbers are passed during runtime in the PPC architecture from to OpenGL. There is no easy way to fix this and not worth doing just for OpenGL and for the old PPC CPUs.



Lutz

m i c h a e l

#4
Quote from: "Lutz"There is no easy way to fix this and not worth doing just for OpenGL and for the old PPC CPUs.


That leaves me out, too :-(



m i c h a e l

cormullion

#5
Quote from: "Lutz"the old PPC CPUs


they're going to be around for some years yet!



I'm surprised that newlisp can't handle this - ppc macs have been around for years.



Oh well, no matter - I was just curious. I'm not a serious 3D user...

Lutz

#6
Its just OpenGL, all other libraries work well with newLISP on the PPC processor.



The nice thing about the new Intel platform for the Mac is, that 100% portable graphics apps can be delivered on the Mac, Win32 and UNIX platforms when using OpenGL, which is installed by default on the Mac and Win32 platforms. On Win32 only glut32.dll is required additionally and available on the newlisp.org site.



Lutz