On 23/05/11 17:50, Stephen Newbold wrote:
Sorry, another one of those vague development questions, but you guys
have been so helpful in the past, I'm hoping you'll do it again. ( I do
think about this stuff before posting mind... honest!)
So I have my custom drawIop. It appears to be working correctly in
general use. One of its limitations is the lack of motionBlur so I
thought I'd sling on a TimeBlur node to see what would happen This isn't
working. I'm getting results where my bounding box has now gone funny
(shrinks to tiny box!!!) and I get no output from my Iop. Is there
anything particular that I should be doing in my code to facilitate the
use of TimeBlur? Rectangle seems to work fine when I tested it.
Am I write in saying that TimeBlur will process my Iop at multiple
intervals around my current frame and then average the result? I haven't
come across problems manually moving controls to arbitrary positions so
I'm not sure why it won't work with TimeBlur.
How are you handling the frame lookup (passing in the frame)?
What OutputContext are you doing it on? - it sounds like you're doing it
on Op::uiContext(), which only returns the context (including frame)
that the viewer is actively looking at through the UI.
I think you should be using Op::outputContext(), which should provide
you with the frame ranges TimeBlur will be asking for in order to do the
motion blur blending across frames.
Regards,
Peter
--
Peter Pearson, Software Engineer
The Foundry, 6th Floor, The Communications Building,
48 Leicester Square, London, UK, WC2H 7LT
Tel: +44 (0)20 7434 0449 - Fax: +44 (0)20 7434 1550
Web: www.thefoundry.co.uk
The Foundry Visionmongers Ltd.
Registered in England and Wales No: 4642027
_______________________________________________
Nuke-dev mailing list
Nuke-dev@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev