Advertisement

How to run the NeHe code in Firefox

Started by December 18, 2007 05:03 AM
1 comment, last by Omid Ghavami 16 years, 11 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
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.
Advertisement
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