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

Stefan Eilemann eilemann at gmail.com
Tue Nov 25 15:13:40 CET 2008


2008/11/25 Mathias Heyer <mheyer at 3dinteractive.de>:

> is it possible for a node to tell, if it only does compositing work, i.e.
> does not need the scene database?
>
>
>
> In my special case, I need to create a node which is only receiving and
> displaying the outputframe of another node. It should not try to open the
> database itself.
>
> How can I achieve this the best way?

Can you open the database lazily upon the first Channel::frameDraw?

> Another correlated question is, how do I tie the viewport size of the
> rendering node to the window size of the output node? It want to achieve
> that the rendering node is not doing more rendering work than the
> destination window can show.

compound
{
    channel "output"
    wall {}
    compound
    {
        channel "render"
        outputframe {}
    }
    inputframe { name "frame.render" }
}



HTH,

Stefan.



More information about the eq-dev mailing list