How to edit Point Instancer prim with Sop Modify?

   3422   3   0
User Avatar
Member
672 posts
Joined: 11月 2013
オフライン
Hi,

I download a .usd file with Point Instancer inside it. I want to import the instancer points prim (not prototype) to sop for editing (edit point's position, count, size… ), and import back to lop network. I test many options, but all those can't keep PointInstancer.
How to import back to lop with keeping the PointInstancer prim type?

Thanks for any tips!
Edited by jerry7 - 2020年4月15日 10:38:01
User Avatar
スタッフ
4558 posts
Joined: 7月 2005
オフライン
Try the Modify Point Instances LOP.

Even if that LOP doesn't give you exactly what you want, it is an HDA so you can look at how it is built and customize it to your liking.
User Avatar
Member
672 posts
Joined: 11月 2013
オフライン
mtucker
Try the Modify Point Instances LOP.

Even if that LOP doesn't give you exactly what you want, it is an HDA so you can look at how it is built and customize it to your liking.

It seemed some problem with modify point instance lop.

Attachments:
inst.png (84.9 KB)
instance.hip (114.5 KB)

User Avatar
Member
6 posts
Joined: 12月 2018
オフライン
I've also found this node to be quite buggy, so I had to write a custom node that just applies all parameters of the points to the PointInstancer parameters in a python script node.

Also using this modifypointinstances node with setting the Point Instances parameter to "/points" will create a huge json array of every point internally, which will overflow the python scripts when having a huge amount of instances (> 10.000).
  • Quick Links