🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

How to run the NeHe code in Firefox

Started by
1 comment, last by Omid Ghavami 16 years, 6 months ago
I have written a simple OpenGL-programm using Nehe's Code with Visual C++. Pretty much all I use is lesson3 and math.h. I remember seeing OpenGL running (via Java?) on a homepage so my question is: Does anyone know how to port the Nehe-basecode/lesson3 code to run on Firefox? Thanks in advance
Advertisement
LWJGL Java applet using OpenGL. IIRC the only other practical way to get OpenGL running in a browser is to write an ActiveX plugin (which lets you write C++ code instead of Java, but last time I checked ActiveX isn't as widely supported).

For more info on LWJGL applets, check out their forum.
You've probably already noticed that NeHe has source code for several different languages and platforms. You could perhaps try the JOGL source and try to wrap it into a java applet.

Good luck.
Best regards, Omid

This topic is closed to new replies.

Advertisement