[Rock-dev] Location for rock-specific osg plugin?

Sylvain Joyeux bir.sylvain at gmail.com
Tue Sep 1 18:17:44 CEST 2015


>
> - rock-gui (has the rock-gui/robot_viz which needs the plugin to display
> phobos-created )
>

I would go for rock-gui

For what it's worth, we use osgconvert to convert the source files into
OSG's own binary format (i.e. wavefront to osgb in your case, collada to
osgb in ours) and patched gui/robot_model to look for <file_basename>.osgb
for each visual, falling back to the original file if it does not exist.

The conversion is part of the build/install process.

Apart from fixing the loading time issue, it also optimizes the structure
to fit OpenGL better (i.e. reduces the number of drawcalls dramatically,
making turning on VBOs by default feasible *and* debugging with e.g. vogl
possible, leading in our case to more than 2x performance boost). And it's
a workflow that does not require yet-another-specially-made-format.

Sylvain
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.dfki.de/pipermail/rock-dev/attachments/20150901/c849ec3a/attachment.htm 


More information about the Rock-dev mailing list