[eq-dev] Identifying a compositing-only-node

Mathias Heyer mheyer at 3Dinteractive.de
Tue Nov 25 15:27:22 CET 2008


>How can I achieve this the best way?
> 
> Can you open the database lazily upon the first Channel::frameDraw?
> 

In other words, a call to Channel::frameDraw is the only sure sign, that the
node needs the scene database (or not)?
I could implement it that way, but it wouldn't feel good :-) It would shift
a part of the setup process outside of the setup of the nodes.
I thought about introducing a certain naming scheme for nodes, so each node
could identify its role at the time of initialization... what do you think
about that?
 
> compound
> {
>     channel "output"
>     wall {}
>     compound
>     {
>         channel "render"
>         outputframe {}
>     }
>     inputframe { name "frame.render" }
> }
> 

Thanks, will try this!


Mathias




More information about the eq-dev mailing list