authoring a USD file from imported packed prims [solved]

   371   3   2
User Avatar
Member
266 posts
Joined: 2月 2016
オフライン
Hello,

I am trying to find the best way to author a USD file in solaris from imported packed primitives (where the instance points are moving). I included my hip file. I have a very basic scene setup two different ways. It's just the rubber toy being instanced on some animated points. The points are just spinning around. In both node trees, they are in create point instancer method (as opposed to native instances). The point instancer branch (right side) works perfectly fine. Spits out a USD file that is appropriate in size. On the packed primitive branch (left side) I can't get it working properly. It spits out a USD file the same size as the other method, but for each frame. This results in a much bigger file size. I am just wondering how to achieve the same results with imported packed prims as with using the point instancer. Any ideas?

thanks
Edited by evanrudefx - 2025年8月14日 11:22:44

Attachments:
packed.JPG (319.2 KB)
setup.hiplc (326.9 KB)

Thanks,

Evan
User Avatar
Member
266 posts
Joined: 2月 2016
オフライン
update: looking at the usda files, it looks like when saving to disk using packed primitives, it is updating the prototype data each frame, even though it is the same. For example, you can see the normal is updated each frame where as on the left (the point instancer LOP) it is only set once, which is correct. I just need to figure out why that is happening. How do I tell it the prototype shouldn't have data each frame?
Edited by evanrudefx - 2025年8月14日 00:30:01

Attachments:
prototype.JPG (665.2 KB)

Thanks,

Evan
User Avatar
スタッフ
792 posts
Joined: 10月 2012
オフライン
I think you'd want to configure most of the attributes to not be time-sampled using the Set Default Values parameter - e.g. in the attached file this is set to "* ^transform" so that only the instance transforms are time-sampled

Attachments:
setup_v2.hiplc (320.2 KB)

User Avatar
Member
266 posts
Joined: 2月 2016
オフライン
cwhite
I think you'd want to configure most of the attributes to not be time-sampled using the Set Default Values parameter - e.g. in the attached file this is set to "* ^transform" so that only the instance transforms are time-sampled

Thankyou so much!!! I was trying to find a parameter like this, but I was thinking it would have some "time" related term in the name. Good stuff!
Edited by evanrudefx - 2025年8月14日 11:23:13
Thanks,

Evan
  • Quick Links