Intensity values change in render after referencing in a USD

   2054   6   2
User Avatar
Member
134 posts
Joined: 9月 2021
オフライン
Hi

This question is similar to this [www.sidefx.com] post but the differences appear in render and not just viewport, so I figured it's different enough of a problem.




Any ideas of where to look to debug why this is different pre and post exporting as a USD?
Edited by AnsonSavage - 2023年9月27日 11:53:55

Attachments:
brightness_comparison.gif (172.6 KB)

User Avatar
スタッフ
609 posts
Joined: 6月 2020
オフライン
Can you send us a hip file for these?
User Avatar
Member
134 posts
Joined: 9月 2021
オフライン
robp_sidefx
Can you send us a hip file for these?
For sure!

Here's the HIP file:
Image Not Found


To reproduce:
  1. Turn on the Renderman Ris setting in the Viewport (in Solaris)
  2. Click "Save to Disk" on the usdrop node
  3. See the differences in the sparks' intensity between the material assignment node and the reference node that pulls in the USD that was saved out by the usdrop

Thanks!
Anson

Attachments:
Debug_010_fx_sparks.hipnc (2.2 MB)

User Avatar
スタッフ
609 posts
Joined: 6月 2020
オフライン
Thanks, I can reproduce this. It's not immediately obvious to me if this is a Solaris or USD or RenderMan thing, but I'm going to have a closer look early next week.
User Avatar
Member
134 posts
Joined: 9月 2021
オフライン
robp_sidefx
Thanks, I can reproduce this. It's not immediately obvious to me if this is a Solaris or USD or RenderMan thing, but I'm going to have a closer look early next week.
Awesome! Yeah, I'm very interested in what's going on.
User Avatar
スタッフ
609 posts
Joined: 6月 2020
オフライン
Okay, I had another look and I think it's a RenderMan thing, where it's trying to interpolate primvars for the curves geometry that has changing topology. If I export a USD file and try to load it into usdview I get errors along the lines of "primvar 'widths' size (2) did not match expected (4)". I don't see the same thing happening with Karma.

I'd suggest chatting with Pixar as a next step and seeing if they have any advice.
User Avatar
Member
134 posts
Joined: 9月 2021
オフライン
robp_sidefx
Okay, I had another look and I think it's a RenderMan thing, where it's trying to interpolate primvars for the curves geometry that has changing topology. If I export a USD file and try to load it into usdview I get errors along the lines of "primvar 'widths' size (2) did not match expected (4)". I don't see the same thing happening with Karma.

Okay, cool! I'll put something on the Renderman Discord. Also, I'm not able to reproduce the errors about the widths primvar.


These are the only errors I'm seeing:

Attachments:
2023-10-04_11-26.png (293.6 KB)
2023-10-04_11-29.png (207.0 KB)

  • Quick Links