Hi, 

I'm having trouble with an Iop I wrote. The Iop is supposed to read an exr and 
display it. Everything works fine until I change the exr to display to on of a 
different size. 
In the attached screenshot the initial exr was 1920x1080 and then I loaded in 
one with 640x480 


As you can see the bbox and all other information is correct, but I end up with 
two strange box outlines in the viewport. The same happens if I load a larger 
image in. It seems that the original 1920x1080 box always remains visible. 
Other than that the images are being displayed correctly. 


In validate_ I have this, where _width and _height are the dimensions of the 
exr: 



_fmt->width(_width); 
_fmt->height(_height); 
info_.format(*_fmt); 
info_.full_size_format(*_fmt); 
info.set(0, 0, _width, _height); 


Any ideas on how to fix the display issue or what the correct way is to 
accomplish this? 


-- 
./Sven 

<<attachment: huh.png>>

_______________________________________________
Nuke-dev mailing list
Nuke-dev@support.thefoundry.co.uk
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev

Reply via email to