Hi, Robert et al,

This is a plugin (two, actually) that will allow OSG to load .bsp map files from Valve's Source Engine games (Half-Life 2, etc.). One plugin (called "vbsp" to distinguish it from the Quake 3 bsp loader) reads the .bsp file itself, and the other ("vtf") reads the texture files.

The set up for this to work is a bit more complex than most files, since the engine expects all files to be in a certain place, and it tends to mix case a lot. I tried to explain everything in the VBSP_README.txt file.


One potential issue is that Quake 3 and Valve share the same .bsp extension. I noticed that the bsp plugin isn't referenced in the CMakeLists, but I don't know if this is intentional or not. I went ahead and added a file extension alias in Registry.cpp to point to the new plugin, so Quake 3 files won't be loaded now. I don't know what the proper way to solve this would be. If you have any suggestions, let me know, and I'll see what I can do.

--"J"

Attachment: osg_VBSP_plugin.tar.gz
Description: Unix tar archive

_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to