Jean-Sébastien Guay wrote:
Hi Jason,
Hi, J-S!
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.Wow, interesting! I wonder, does the XSI Mod Tool for Half-Life 2 save .bsp files? If so, that means we can now use one of the best 3D content creation tools to author OSG content through this format. Very nice!
I believe the XSI tools are for the .mdl format, which are used for both the static and physics props in the maps. These aren't working yet, but I've been asked by the sponsor to do this next. Unfortunately, there isn't nearly as much documentation for this format, so it'll take some digging. Stay tuned.
Which features are supported and which are unsupported by your plugin? For example, does the plugin support all texture types? Shaders? etc. Or is it just geometry and base texture?
Most of that is covered in the VBSP_README.txt file. It's mostly base geometry and textures, although I did add support for the displaced terrain tiles, which require a shader to properly draw the blended textures.
--"J"
_______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
