kishxn
in this scene,
select plane & play.....
u see instancer.


pointAttrToArray nodes gives pos,normal to instancer.but
aim direction is not working......

how to solve this....


[sorry for my bad english]
Reply 0 0
kishxn
pls solve my same problem...pls reply..
Reply 0 0
pshipkov
why you are using particles as intermediate node between the SOuP nodes and the instancer ?
Skip that and pipe the SOuP generated data directly to the instancer using arrayToDynArrays nodes.
Check the example scenes if you are not sure how to use this node.
Reply 0 0
kishxn
i tried.but result is same....


sorry for the distrubence...
pls solve this scene..

Reply 0 0
noizfactory
Not sure what you are trying to do in this file but I've changed a few things in your setup. I've plugged a pointsOnMeshInfo node and piped the particle position as the input position and your sphere geo as the input geom. This returns you the sphere normal at those particle positions. This can be used as aimDirection.

Most likely the mesh that you are building with the pointCloudToMesh node is not generating the normals that you are expecting. But since you have the original point cloud anyways (whcih in your case is the particle) you can always use the neat pointsOnMeshInfo node.

Its a Maya 2013.5 file so make sure you have "Ignore Version" option on if you're on an older version.

Hope this helps! snapshot.jpg
Reply 0 0
pshipkov
Thanks Noiz.
Reply 0 0
kishxn
pointAttrToArray have biNormalPP output..but
pointsOnMeshInfo dont have  biNormalPP.
so in this scene(krish7_1_solved),
how to get & set biNormalPP...


hai,noizfactory & pshipkov
iam very confused.
my simple question is,
in this scene(krish7_1_solved),
how to connect biNormalPP to instancer....


[sorry for my bad english]
Reply 0 0
pshipkov
Why you want to do that ?
Not sure what you want to achieve.
Reply 0 0
kishxn
see this scene...
how to stop instancer twist...
only binormal can solve this twist.
how u connect binormalPP to instancer
or any other idea?

Reply 0 0
noizfactory
If I remember correctly binormal should go into aimWorldUp I think. Do a search on the forums man. These things have been discussed multiple times before.
Reply 0 0
pshipkov
In the pointAttributeToArray turn on "rotation". Then connect outRotationPP to arrayToDynArrays node. Then in that node type "rotation". That's everything you need.
Reply 0 0
pshipkov
@ noiz
Correct normal goes to aimDirection, tangent/binormal goes to the up-vector.
Reply 0 0
kishxn
my question is how to u do pointAttrToArray (biNormalPP or outRotationPP)  connection in this scene?
pls send scene file?
Reply 0 0
pshipkov
Ok, let's start step by step here. I will ask few questions because i am not sure we are connecting here.
First of all - did you check the example scenes ?
Did you search the forums for existing answers/solutions to your problem ?
Did you understand what you saw/found there (in the example scenes and forum posts) ?
Can you replicate some of that on your own ?
Reply 0 0
Reply