newLISP Fan Club

Forum => newLISP and the O.S. => Topic started by: cormullion on March 17, 2007, 07:28:29 AM

Title: OpenGL on MacOS
Post by: cormullion on March 17, 2007, 07:28:29 AM
Can I do OpenGL on MacOS X? Existing OpenGL code doesn't work here - Linux and Windows only... :-(
Title:
Post by: Lutz on March 17, 2007, 08:37:28 AM
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



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



Time to upgrade to  new Mac ;)



Lutz



Ps: enjoyed your last piece "Idle chatter" at http://newlisper.blogspot.com/ very much.
Title:
Post by: cormullion on March 17, 2007, 08:53:04 AM
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? ;-)
Title:
Post by: Lutz on March 17, 2007, 10:16:02 AM
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
Title:
Post by: m i c h a e l on March 17, 2007, 10:23:40 AM
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
Title:
Post by: cormullion on March 17, 2007, 11:39:50 AM
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...
Title:
Post by: Lutz on March 17, 2007, 03:11:49 PM
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