Feature #41
add dynamic representation file type
Status: | New | Start date: | 11/11/2010 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | - | |||
Target version: | - | |||
Resolution: |
Description
up to now you can load model files in VRML, OSG,.. format.
the problem is if you have a complex object, which for example requires to specify a shader, like the terrain of the medieval town tutorial. The current solution is to export a partial scenegraph in the OSG format and import it afterwards.
Unfortunately the OSG format changed between OpenSG 1.8 and OpenSG 2.
So the idea is to be able to specify a classname instead of an existing file, e.g. with the type=INSTANCE. The class builds a custom scenegraph and returns the root node.
So one could specify the terrain in a portable way and build other dynamic representations.
Related issues