vrml parser

Hi,
I would like to read a vrml file (.wrl) and convert it (load its data) into my own geometry data structures (in VC++). Before starting to write my own vrml parser I’d like to know if there is some generic parser that reads .wrl files and allows to store the info in some data structure in VC++.

Any ideas are welcome,
guille

I would think so, I’ve seen them for C++Builder.

Where can I find it? I’ve been looking and I couldn’t find anything…

If your using Visual Studio it wont help you. Borlands visual components only work with Borlands framework. The point is that the code should be all over the net. You may need to download a parser and design your own code to store the data in objects.

Make your won is pretty easy. But if you can’t find a vrml one but find another like 3ds, dxf just use polytrans or something similar to change the format, some will do opengl as output, but I have never used that.

Make your won is pretty easy. But if you can’t find a vrml one but find another like 3ds, dxf just use polytrans or something similar to change the format, some will do opengl as output, but I have never used that.