Jump to content

getting the right primitive nums


sparkChan

Recommended Posts

hi,

when I used particles to control the primitives moving, I got a problem which the sphere's primitives don't get the right position.

Because every point number does not match every primitive number. Looking at the file I have attached below. How can I let the primitives get the right position.

Thanks

primitive.hip

Link to comment
Share on other sites

hi,

when I used particles to control the primitives moving, I got a problem which the sphere's primitives don't get the right position.

Because every point number does not match every primitive number. Looking at the file I have attached below. How can I let the primitives get the right position.

Thanks

I havent taken a look at your file, but before your popnet I would store your prim num, $PR, in a point attribute such as "prnum", then after your popnet put a sort SOP down and sort your points by expression and put "$PRNUM". Then feed that into your primitive SOP.

Link to comment
Share on other sites

here's your modified file..

First, Thanks bhaveshpandey, but I want't to get this effect,

I don't want to bypass the sort which has the point expression -$BBX*$BBY.

so if I use this expression, How can I correct the primitives' number to match the points' number.

Link to comment
Share on other sites

I havent taken a look at your file, but before your popnet I would store your prim num, $PR, in a point attribute such as "prnum", then after your popnet put a sort SOP down and sort your points by expression and put "$PRNUM". Then feed that into your primitive SOP.

I have done it according to your mind. although it soluve this problem, It is not what I want.

Because I want to use the expression -$BBX*$BBY in the Sort SOP, when I change the particle behavior to 'Modify Source Geometry' in the Particle SOP.

YourMind.hip

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...