PDA

View Full Version : OGL convertor to VRML



Yair
12-31-2001, 05:36 AM
Does somebody know about a way to take an OGL code and convert it to VRML file ?

Dirk
01-03-2002, 10:29 PM
Originally posted by Yair:
Does somebody know about a way to take an OGL code and convert it to VRML file ?

You can't make a general converter, as VRML can only handle a very small subset of what OpenGL can handle. If you want to get the results of your OpenGL program into VRML you'll have to write your own exporter.

It might be easier to export to a simpler format like OBJ or OFF and then use a converter to get to VRML, if you really need that.

Hope it helps

Dirk

Yair
01-05-2002, 09:43 PM
Dear Dirk,
Thanks for the info.
Actually I don't care to convert "all" OGL to VRML. My target is to do "save 3D image" from my application - which means to create a VRML (or different format) which store the geometry along with normal, colors and textures.
What are OBJ and OFF ?
Do you know about any converter to those formats and from those formats to VRML ?
Thanks