rolfcoppter

Hey guys,

I was just wondering if there way any way to plug particle attributes back into a new particle node after manipulating them with say a point node? right now i am just using a point cloud to curve with only the CV display on to view my edited point positions. I know of using the instancer to view the positions but that is way slower with tons of particles.

When i try to plug into the input for particle positions I get an error that it cant be connected. Is there somewhere else i have to look? Is the only way to do this Emit Particles on every frame?

Thanks,
Jordan 

David l
Hey

You can plug a positionPP array into .deformedPosition on the particle shape node, unfortunately this disables the ability to write expressions on the particle node, but for visualisation purposes it should work just fine :)


Reply 0 0
rolfcoppter
Awesome got it up and running, thanks for the info David. is there also an input for rotation? scale? or can you only input positions?
Reply 0 0
David l
afaik you can only use positions, maybe Peter has some tricks that I dont know of :)
Reply 0 0
rolfcoppter
now that i think about it for preview purposes i wouldn't need to plug rotation back into the particle node.scale would be handy though. 

Thanks again david!
Reply 0 0
pshipkov
just read the data back from the particle expressions.
for example - for positions:
position = point1.outPositionPP;

that's all.
Reply 0 0
David l
Thanks for the tip Peter, dont know why I didn't think of this before.

This solves pr. instance shading for me in vray, very very helpfull!
Reply 0 0
Reply