Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 3 of 3

Thread: OGL convertor to VRML

  1. #1
    Junior Member Newbie
    Join Date
    Dec 2001
    Posts
    3

    OGL convertor to VRML

    Does somebody know about a way to take an OGL code and convert it to VRML file ?

  2. #2
    Junior Member Regular Contributor
    Join Date
    Jan 2001
    Location
    Lafayette, LA
    Posts
    138

    Re: OGL convertor to VRML

    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

  3. #3
    Junior Member Newbie
    Join Date
    Dec 2001
    Posts
    3

    Re: OGL convertor to VRML

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •