How to edit Point Instancer prim with Sop Modify?

   2409   3   0
User Avatar
Member
620 posts
Joined: Nov. 2013
Online
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 - April 15, 2020 10:38:01
User Avatar
Staff
4438 posts
Joined: July 2005
Offline
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
620 posts
Joined: Nov. 2013
Online
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: Dec. 2018
Offline
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