Feature #41

add dynamic representation file type

Added by sam g over 13 years ago.

Status:NewStart date:11/11/2010
Priority:NormalDue 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

Related to Feature #34: create wrapper around SkyBox New 10/29/2010

Also available in: Atom PDF