PDA

View Full Version : openGL can it be web-based???



joshuaaa
09-28-2002, 01:50 PM
halo

i have created a standalone application using 3D max 4 and openGL api with MS VC++. But i have decided that i want this application to be on the web as i want more user interaction .... is this possible?? if so can you tell me how and where i can find more info. If possible i DO NOT want to rewrite my code .. i don't mind adding more coding?? what lang do i use XML, HTML do they support openGL ???

jwatte
09-28-2002, 04:27 PM
There is an extension to Java to support OpenGL.

Your other approach is to write a custom ActiveX control and embed it in your web page. You need to write one control per browser/OS combination, though, which kind-of puts a drain on your time.

Robbo
09-30-2002, 07:29 AM
Also, as a veteran ActiveX control with OpenGL writer - and a newbie to java (currently working on a Java project right this moment) - I would say that its quicker to learn Java\Java GL than to learn how the **** to get an active X control up and running properly.

Eric
09-30-2002, 11:28 AM
I would agree with Robbo. I don't know how to use Java and GL for Java but having done several ActiveX controls that used OpenGL, I can say that it wasn't easy at all (main problem wasn't GL of course...).

That being said, it is possible to do it too...

Regards.

Eric

Antorian
09-30-2002, 03:06 PM
I'm doing an ActiveX with OpenGL and as you said it's really **** to get something "working fine". http://www.opengl.org/discussion_boards/ubb/biggrin.gif
My current problem is when you press F5 on IExplorer , it resfresh the page but the ActiveX isn't relaunched from beginning.
Has anyone an idea?

So to shortcut lots of problem due to ActiveX and OpenGL I create a Thread that manage OpenGL separatly.
Switching Context everyframe independtly from redraw function (that allows to get synchro with ActiveX extensions all the time.)

But As you said, Java is easier (better in time and problems occurences).