View Full Version : Is OpenGL Programming Same as VRML Programming

09-27-2008, 01:28 PM
I am starting out to design a program in VRML. I am just wondering, is OpenGL itself a programming language or specification like VRML? What's the difference? Can I program in VRML and view the files without ever knowing anything about OpenGL?


09-27-2008, 01:45 PM
Opengl is a specification for 2D and 3D graphics application programming. AFAIK, VRML is just a data format to describe a 3D scene that allow basic interactivity between users and 3D objects.

VRML is completly different from Opengl. For instance, Opengl may be used to program a VRML viewer.


So you can write a vrml file without having any knowledge about Opengl and then visualize it with one of the vrml viewer available.
With VRML, you just describe the scene, with Opengl you go at a lower level, managing for example, vertices transformation, texturing, lighting, etc...

Ilian Dinev
09-27-2008, 01:47 PM
Opengl is a specification of the API of a library. Drivers come with an implementation of those specs.
VRML is a file-format much like HTML (programmed by javascript and its own set of API)

API-spec != file-format != programming-language :)
Yes, you can program in VRML without knowing anything about opengl.

09-28-2008, 08:30 AM
Thanks you guys. That explains it.


09-28-2008, 01:32 PM
Am I in the wrong forum then if I need syntax help developint VRML applications? I presume I am?


09-28-2008, 02:17 PM
"VRML is dead-born since 10 years ago.
try X3D or Collada for modern formats."
And no, here is not the right forum for any of these 3 file formats.

09-30-2008, 03:07 PM