Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

View VRML file with WebGL-capable browser [closed]

Tags:

webgl

vrml

I have a legacy application that generates VRML 1.0 files. I'd like to build a WebGL-based web interface that can display these VRML files. Is there an easy way to do so?

Edit: Specified that they are VRML 1.0.

like image 984
Lorin Hochstein Avatar asked Feb 07 '11 22:02

Lorin Hochstein


1 Answers

If you can get it to VRML 2.0 (VRML '97) using a tool like the above-referenced one from Parallelgraphics, you can use the Fraunhofer Institute's tools (see discussion and links to InstantReality at http://www.x3dom.org/?page_id=532) to go from VRML 2 to either X3DOM or X3D. With Firefox or Chrome and a current graphics card and driver, you've got the WebGL support needed to run X3DOM. X3DOM handles only a subset of X3D, but can be referenced straight from XHTML and CSS, or plug-ins required. It's at a much higher level and easier to deal with than dealing directly with WebGL.

like image 183
ViennaMike Avatar answered Oct 12 '22 11:10

ViennaMike