On 11 mei 2011, at 10:07, Pieter Van Houten wrote:
i am stuck a bit, however. i spent now 2 hours searching the
examples on how to acquire the current frame number that is going to
be rendered?
Look for DD::Image::OutputContext and examples in AddClip.cpp, like
this one
void setOutputContext(const OutputContext& c) {
Iop::setOutputContext(c);
thisFrame = int(rint(outputContext().frame()));
}
--
Julik Tarkhanov | HecticElectric | Keizersgracht 736 1017 EX
Amsterdam | The Netherlands | tel. +31 20 330 8250
cel. +31 61 145 06 36 | http://hecticelectric.nl
_______________________________________________
Nuke-dev mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev