Original Post
I'm expieriencing some problems with my scenegraph concept atm and i haven't came to a good solution yet so maybe you can help me. The biggest problem is that i don't know how to integrate multiple passes in the scenegraph as i don't want a seperate graph for every pass(as most nodes are identiacl in every pass). The best solution i thought of so far is using a static Switch-node, which traverses different children every pass. The problem with that is that it can get really ugly:
...
|
[switch]
____|___
| |
[child1] [child2]
|________|
|
[someOtherNode]
the problem is that someOtherNode has 2 parents which doesn't work in a mono parent tree(except i'd introduce a multiparent node that activates only one of it's parents but that seems hackish to me) So that solution sucks. This problem looks very common, so can sb point me to a better solution? Thanks in advance. regards, m4gnus