OpenGL on MacOS

Machine-specific discussion
Unix, Linux, OS X, OS/2, Windows, ..?
Locked
cormullion
Posts: 2038
Joined: Tue Nov 29, 2005 8:28 pm
Location: latiitude 50N longitude 3W
Contact:

OpenGL on MacOS

Post by cormullion »

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

Lutz
Posts: 5289
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California
Contact:

Post by Lutz »

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.

cormullion
Posts: 2038
Joined: Tue Nov 29, 2005 8:28 pm
Location: latiitude 50N longitude 3W
Contact:

Post by cormullion »

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
Posts: 5289
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California
Contact:

Post by Lutz »

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
Posts: 394
Joined: Wed Apr 26, 2006 3:37 am
Location: Oregon, USA
Contact:

Post by m i c h a e l »

Lutz wrote: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
Posts: 2038
Joined: Tue Nov 29, 2005 8:28 pm
Location: latiitude 50N longitude 3W
Contact:

Post by cormullion »

Lutz wrote: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
Posts: 5289
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California
Contact:

Post by Lutz »

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

Locked