Mantra renders nothing to file )but preview is OK)

   1608   1   2
User Avatar
Member
5 posts
Joined: May 2017
Offline
I am trying to render fire in Houdini.

When I check “render view” in Houdini I've see:


But when I try render to tif-file, I see nothing:


I have tried to create a new file and make same conent again, but same result.

Can anybody explain me where I am wrong? Thank you.

Attachments:
TorchFire.hipnc (833.0 KB)

User Avatar
Member
1743 posts
Joined: March 2012
Offline
I'm not an expert in compositing, but the short explanation is that the opacity is zero (or close to zero), because emission doesn't block anything behind it. However, many programs reasonably assume that opacity must be applied to the image when viewing, meaning that the colour doesn't contribute anything. Mantra and many other 3D renderers output TIFF files with opacity already applied to the colours so that emission will automatically add, instead of needing infinite values to survive an opacity of zero. If you open the TIFF file in MPlay, it will show up correctly. Full compositing can require additional image planes for emission, but this at least handles one simple case, at the expense of having many programs not related to rendering display them incorrectly.

Hopefully there won't be a flame war about premultiplied vs. unpremultiplied opacity following this comment, 'cause it does seem to be a contentious issue.
Writing code for fun and profit since... 2005? Wow, I'm getting old.
https://www.youtube.com/channel/UC_HFmdvpe9U2G3OMNViKMEQ [www.youtube.com]
  • Quick Links