Random Objects in Instancing
7599 14 0- EugeneRockstar
- Member
- 22 posts
- Joined: June 2009
- Offline
Hi.
I'm using a object merge and copy node to instance geometry to particles. This gives me many objects but all the same.
How would I go about setting it up to randomly instance a group or number of different objects ? So, as the particles emit, it randomly assigns a different geometry to that particle.
Thanks
Eugene
I'm using a object merge and copy node to instance geometry to particles. This gives me many objects but all the same.
How would I go about setting it up to randomly instance a group or number of different objects ? So, as the particles emit, it randomly assigns a different geometry to that particle.
Thanks
Eugene
- circusmonkey
- Member
- 2624 posts
- Joined: Aug. 2006
- Offline
- EugeneRockstar
- Member
- 22 posts
- Joined: June 2009
- Offline
- EugeneRockstar
- Member
- 22 posts
- Joined: June 2009
- Offline
- circusmonkey
- Member
- 2624 posts
- Joined: Aug. 2006
- Offline
- EugeneRockstar
- Member
- 22 posts
- Joined: June 2009
- Offline
- circusmonkey
- Member
- 2624 posts
- Joined: Aug. 2006
- Offline
- EugeneRockstar
- Member
- 22 posts
- Joined: June 2009
- Offline
- EugeneRockstar
- Member
- 22 posts
- Joined: June 2009
- Offline
- circusmonkey
- Member
- 2624 posts
- Joined: Aug. 2006
- Offline
Hi,
I am struggling to make sense of just what you are trying to do. You have two orbit nodes after each other ? Yet none of your particles are actually rotating round a centre point.
The way to solve problems is to break the problem down into small chunks. That way its easier for you to communicate just what your are trying to achieve.Take a look at the example files for each POP node , then make yourself a small test to devlop that part of a solution to a bigger problem.
r
I am struggling to make sense of just what you are trying to do. You have two orbit nodes after each other ? Yet none of your particles are actually rotating round a centre point.
The way to solve problems is to break the problem down into small chunks. That way its easier for you to communicate just what your are trying to achieve.Take a look at the example files for each POP node , then make yourself a small test to devlop that part of a solution to a bigger problem.
r
Edited by - Oct. 1, 2009 22:02:05
Gone fishing
- EugeneRockstar
- Member
- 22 posts
- Joined: June 2009
- Offline
- EugeneRockstar
- Member
- 22 posts
- Joined: June 2009
- Offline
- asnowcappedromance
- Member
- 512 posts
- Joined: July 2009
- Offline
hey folks,
sry to bump into this thread, but i have a similar problem ))
i followed the “Creep Tool With Copy Stamping” Tutorial of the sidefx website. I created those different colored pebbles and put them in a partion SOP to create a different group of each pebble (rock_$PR).
Now i want to assign these pebbles to a new template. Say i have a grid with 9 points in it so i would need exactly 9 of those pebbles. Obviously i have to use the copy SOP but i can't solve the problem with the switch SOP method because all my primitves are in ONE node.
Can anyboy help me please?? )
best regards,
Manu
ps. sry Eugenerockstar for interfering
sry to bump into this thread, but i have a similar problem ))
i followed the “Creep Tool With Copy Stamping” Tutorial of the sidefx website. I created those different colored pebbles and put them in a partion SOP to create a different group of each pebble (rock_$PR).
Now i want to assign these pebbles to a new template. Say i have a grid with 9 points in it so i would need exactly 9 of those pebbles. Obviously i have to use the copy SOP but i can't solve the problem with the switch SOP method because all my primitves are in ONE node.
Can anyboy help me please?? )
best regards,
Manu
ps. sry Eugenerockstar for interfering
- asnowcappedromance
- Member
- 512 posts
- Joined: July 2009
- Offline
hi everyone!
i found the solution to the problem, the copysop can't handle primitive points so ein used the $PT variable and and a rand() expression to stamp the primitives into my copy SOP.
Now i am really confused because the copy SOP distributes the primitives randomly in space, they're not sticking to the provided template points.
I used a transform SOP to center the pivot of each primitve ($CEX,$CEY,$CEZ) but that doesn't work.
I would really appreciate some help, please take a look at the hipfile!
thanks a lot, greetings,
Manu
i found the solution to the problem, the copysop can't handle primitive points so ein used the $PT variable and and a rand() expression to stamp the primitives into my copy SOP.
Now i am really confused because the copy SOP distributes the primitives randomly in space, they're not sticking to the provided template points.
I used a transform SOP to center the pivot of each primitve ($CEX,$CEY,$CEZ) but that doesn't work.
I would really appreciate some help, please take a look at the hipfile!
thanks a lot, greetings,
Manu
- asnowcappedromance
- Member
- 512 posts
- Joined: July 2009
- Offline
-
- Quick Links