Hello Christoph,

[email protected] wrote:
> I wondered what would be a good way to create more complex scenes with the 
> ComplexSceneManager in opensg2 than those provided in the CSM examples. For 
> example, how should I proceed if I wanted to create a large (ideally 
> infinite) array of teapots rather than a single teapot, as demonstrated in 
> Examples/CSM/SimpleTeapot?

the CSM examples basically all demonstrate some aspect of the system by 
setting up a small scene graph with one (or a few) model so there is 
something that gets rendered.
More complex scenes would essentially just build a larger graph with 
more objects in it.
A seemingly infinite number of teapots would probably require a special 
type of NodeCore that implements a method to produce the illusion of a 
never ending line of models (e.g. by taking a fixed number of models and 
arranging them so that those "behind" the camera get moved to the far 
end of the line). Just rendering a large number of teapots (thousands) 
should work by just putting it in the graph as often as needed (make 
sure to share the Geometry core).

> What would be a good strategy to create complex landscapes or buildings and 
> load them into the ComplexSceneManager?

this type of thing is probably best built with modelling software and 
then exported to a format OpenSG can load (e.g. Collada, OpenFlight, 
.OBJ, ... ).

        Cheers,
                Carsten

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to