nParticle cloud - texture rolling/billowing.

Become a member of the CGSociety

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

Thread Tools Display Modes
  01 January 2013
nParticle cloud - texture rolling/billowing.

HI! all. Have another question for our problem solvers out there. Thanks in advance.

Im using nParticle cloud to make a cloud like character. I got the nParticles goaled to my surface mesh. and collisions turned of. since i just need them to stick to the movement of the mesh. All of that been taken care of. they stick to character and render looks good. It looks like a cloud character. I just need to add a little movement to the cloud. Like a billowing movement of the fluid texture. I tried placing a runtime exp on the "texture time" attribute of the fluid (something like, "textureTime = time * 0.6;") but when i render it still doesnt roll or billow.

I tried turning on rotation on nParticles but it still does not move. Maybe thats because my nParticles are goaled.
3d is cool!!!
  01 January 2013
You need to actually add some rotation values to your particles.
Just enabling rotation only makes them rotate when they are colliding.
You need to pull out some rotation expressions to get things spinning.
I created a spinPP float attribute to have all my particles rotate at constant but different rates

//CREATION EXP: By seeding the random values with the particleId you get
//the same results each time...but different values for each particle.
$seed = nParticleShape.particleId;
seed $seed;
nParticleShape.spinPP = rand(5,25);
//sphrand gives you a random vector
nParticleShape.rotationPP = sphrand(360);

//RUNTIME EXP: During runtime you just add to the rotation values to make them spin. I break up the rotations more with some random sorting

$seed = blast_PRTShape.particleId;
seed $seed;
blast_PRTShape.rotationPP += <<nParticleShape.spinPP*.25, 0, nParticleShape.spinPP>>;
nParticleShape.rotationPP += <<0, nParticleShape.spinPP, 0>>;

Hope that helps some...and that it makes sense.
  01 January 2013
Thumbs up

hey, thanks a lot. will try it.
3d is cool!!!
  01 January 2013
Sorry I am just learning Maya coming over from Softimage and a little experience in ICE.

I assume you can create billowing particles with rotation without using an expression right? Is this because you have the clouds attached to a character?

Isn't there a parameter in n particles to create smoke and billowing clouds, fire and so on. I mean a rotation parameter that rotates the particles?

Going to be studying particles soon here. But I was just curious.
  01 January 2013
If you are just covering a mesh with particles then there is no instant animated rotation button...heck there isn't even and instant random rotation button. For better or worse particles in Maya still rely heavily on expressions if you want to fine tune things. Which, after bouncing around between Houdini and Realflow over the past year, I have to say is kinda nice sometimes...sometimes.
  01 January 2013
Yeah. Interesting.

Semantics, but I did not say button, I said parameter.

So do you mean only when it is in a set up like this?

In ICE you have an node to set point point position into which which you can simply plug a randomize node into. I mean in the simplest form. It can get complex. But there are already lots of included compounds and even presets for smoke and fire that you can go in and edit.

OK so I am not trying to make this an ICE vrs.... thing to set this thread off the rails.

I just want to clarify that point. Anytime you want to create smoke and fire or billowing clouds it requires expressions?

Or only if you have attached it to a mesh?
  01 January 2013
Sorry, didn't mean to sound snotty by saying there is no instant button...but there is no button or parameter to get auto rotations for particles in a setup like this thread is discussing.

You can definitely create smoke, fire, clouds (billowing/wispy/magical) without even knowing expressions exist.

As a further suggestion to the original poster, while you are adding rotation you could definitely benefit from adding a bit of scale movement as well with creative use of the scale ramp or add a scalePP expression using a sin() cos() function.
  01 January 2013
OK, Very good. Thanks for the clarification.

And also thanks for the solution. If I ever need it, I'll come to this thread.
  01 January 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:56 PM.

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