Nparticles Instancing Strange Rotations and Displacements

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Search this Thread Display Modes
  04 April 2013
Nparticles Instancing Strange Rotations and Displacements

I am running into some frustration with Maya NParticles, and would be very grateful for some help

So I created an NParticles emitter (water), placed it inside a mesh, set the mesh to nmesh > create passive collider.

So far, so good. Now I want to instance it, so I create a particle instance made from this default scaled pyramid primitive.
In the NParticles rotation options, I check 'compute rotations' and in the collision properties I also check 'self collide'. In the instancing options, I check 'allow all data types' and then set rotation type to RotationPP and rotation to RotationPP.

As expected, the pyramids start to collide with themselves within the volume.

Modifying the pyramids a bit and re-simming seems to work just fine. However, I now want to substitute the pyramids with grains of rice (I am modeling some sushi).

Then it goes nuts!

I find that if I remove 'RotationPP' from the NParticles Instancer Rotation parameter, it doesn't go nuts anymore but instead there is a displacement away from the passive collider.

I have no idea what is going wrong. I tried scaling up the model, freezing transformations on everything and deleting history, but nothing seems to work. I tried instancing simple UV spheres but as soon as I deform them, they behave just like the rice grains again.

When I decrease the particle radius, I observe that the particles are being emitted as if the particle emitter was misplaced somehow, and there is some kind of numerical blow-up.

I then realized that I forgot to clear transformations on my emitter, but now it just offsets at a new location.

Any suggestions?

  04 April 2013
Your rice mesh must have an offset in the vertex positions away from zero. After setting the instancer to use the rice, select all the vertices on your original rice mesh and translate it until all the instances overlap the particles. (there are other ways but this should be relatively foolproof)
  04 April 2013
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
Thread Closed share thread

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 10:54 PM.

Powered by vBulletin
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.