Hello Carsten,

"Carsten Neumann" <carsten_neum...@gmx.net> schrieb im 
Newsbeitrag news:4bdf4e76.9030...@gmx.net...
>
> hm, how large (i.e. number of nodes) is this model?
>
I have counted 587 Geometry nodes in the flatten model2.osb. In model1.osb 
should be even more nodes.

>
> What do you need to be able to do with the individual instances of the
> model?
>
Actually, I have to do the following:

1. render the instances
2. pick the instances
3. load and save the instances individually as well as the whole scene.
4. highlight the instances individually

>
> If you only need to render them, one alternative could be to
> share the actual tree of your "master instance" with VisitSubTree cores.
>
> i.e. you build something like this:
>
> model_root      // this is the root of your model
>   |
>   +- ..
>
> root
>  |
>  +-- Transform -- VisitSubTree (model_root)
>  |
>  +-- Transform -- VisitSubTree (model_root)
>  |
>  +-- Transform -- VisitSubTree (model_root)
>  |
> ...
>
> It runs a bit against the philosophy of a single parent scene graph,
> because model_root essentially gets multiple parents, but this may be a
> situation where the gains justify it.
> Please be aware that some things may not work when using VisitSubTree,
> i.e. anything that tries to follow the chain of parents to the root of
> the scenegraph will not be able to go higher than model_root and miss
> anything between root and VisitSubtree - bounding volume calculation and
> world matrix accumulate should work though.
>
I will seriously consider this one. I didn't know about the VisitSubTree 
class.

Regards,
Johannes




------------------------------------------------------------------------------
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to