Hi,
I wondered if it is possible to output integers for point data using extra image planes. I have posted a sample file where I have attempted to do this. I want a channel in my exr that has an integer per object. I was able to get RGB data thanks to help I received in another thread from Huey Yeng https://www.sidefx.com/forum/topic/55257/?page=1#post-247767 [www.sidefx.com]
I'm trying to build on that. Also, it seems I can only output data for meshes, not heightfields. I have to convert heightfields to polygon for the channels to output.
Thanks,
Adnan
Extra Image Planes Integer Data
2221 3 0- madguru
- Member
- 100 posts
- Joined: Oct. 2013
- Offline
- huey_yeng
- Member
- 69 posts
- Joined: Nov. 2016
- Offline
- jsmack
- Member
- 8037 posts
- Joined: Sept. 2011
- Offline
- madguru
- Member
- 100 posts
- Joined: Oct. 2013
- Offline
Thanks for the replies Huey and Jsmack. I need to specify numbers for each object, otherwise Op_Id would be a good option. Cryptomatte seems to be the way to go, so I looked into that, but I was unable to extract the data using OpenEXR Python bindings. I just get zeros, whether I choose string or integer. I also tried the first method, adding attribute nodes with integers and the required nodes in the shader, but I still can't get the same numbers out. EXR is saving the data as float16, but I can see no way that it corresponds to what I set for each object, which were integers 0-2.
Any ideas? I'm just trying to encode mattes for objects with integer values.
Thanks,
Adnan
Any ideas? I'm just trying to encode mattes for objects with integer values.
Thanks,
Adnan
-
- Quick Links