Scene Graph and Node Names

One issue that occurs with collada models in Inspector is that the names of the groups, components, and other model parts as defined in SU have been replaced with instance numbers. The scene graph only shows these instance numbers.

In the Sketchup model, it's easy to select the entire tree and find its associated name which is 'IPÊ AMARELO'. In Inspector selections always occur at the lowest level sub-part. It's difficult to select the entire tree as it's comprised of thousands of sub-parts. A search for the name 'IPÊ AMARELO' does not yield any results. It is possible to browse the scenegraph and find the top level node for the tree but it takes awhile and there's an easier way.

The instance numbers can be converted back to names as they were given in SU by running a simple conversion script. In addition this script saves out the model to Vizard's native format called OSG. The OSG format is a binary format which is quicker to load and embeds the textures within the file. There is no longer an additional folder of textures. Run the 'collada_convert_to_names.py' file to convert numbers to names and save an osg file. You should see a file called 'house.osgb' in the same folder appear.

Double click 'house.osgb' to open it in Inspector. Names are displayed in the scenegraph and it's now possible to search for components by name (e.g. IPÊ AMARELO, Bentley_Continental_SS). Copy 'IPÊ AMARELO' into the search box (upper right of Inspector) and in the search results the associated node is displayed. Click on the result to select the entire tree.