I have a filter that works fine with a plate but as soon as run it with anything with a bounding box inside the image bounds I get an instant crash. I've tried this with rotoshapes and just cropping a the plate down.

I can only assume I'm trying to access some info that is outside the bounding box but I'm not sure where. I've tried the following two methods in _validate() both with the same (crashing) result. I get no output from the console after the crash.

copy_info();

info_.y(info_.y() - sizeY);

info_.t(info_.t() + sizeY);

info_.x(info_.x() - sizeX);

info_.r(info_.r() + sizeX);


And,

copy_info();

info_.pad(std::max(sizeX, sizeY));


And then I'm requesting the following.

input(0)->request( x - sizeX , y - sizeY , r + sizeX, t + sizeY, channels, count );


And this should give me the enough pixels at the bounding box to process my filter, where sizeX is an integer value rounded up from the width of my filter.

I know this is a little vague, but any ideas what is going wrong. As I said it works correctly unless the bounding box is INSIDE the image bounds.

Cheers,
Steve
_______________________________________________
Nuke-dev mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev

Reply via email to