particles goal base in texture??

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
particles goal base in texture??

hi everyone, im testing with particle goal, i want to drive it base in textur,
how can be this possible???
  05 May 2013
hi guys i have found this expresion

float $goalU=parentU;
float $goalV=parentV;

vector $color = `colorAtPoint -u $goalU -v $goalV file1`;

while ($color.x < 0.5 || $color.y < 0.5 || $color.z < 0.5)

$goalU = rand (0,1);
$goalV = rand (0,1);
$color = `colorAtPoint -u $goalU -v $goalV file1`;



this work fine, but makes the simulacion SUPERRRR SLOWWWWWW a sometime maya crash , have anybody an idea or other methodd for PARTICLE GOALS BY TEXTURE???????????
  05 May 2013
If the texture is static, then the expression should be a creation expression. If it's a runtime before/after dynamics expression, it will evaluate super slow.

Is this set as a per particle expression?
  05 May 2013
hi @VB2341 : this is runing this in creation, about the texture yeap is animated, and i wanted the goal must be by texture appearing, but is SUPERR SLOWWW :S
  05 May 2013
This is achievable with SOuP through per vertex values from the texture and transferring those values over the particles. Not sure how much quicker it would be than the expression, I would guess quite a bit faster.
  05 May 2013
Thumbs up

@Aikiman: thanx aikiman , i have nerver use soup jajaja, i will looking for some information about that, but there is a way to make this procedural in maya ? btw i will try with soup
  05 May 2013
I'm not really sure what your end goal is for this project, but If you are using the parentU,V attrs, I"m assuming you are emitting particles from the surface you are goaling to. In that case you could emit particles from your texture and then goal them to their parent UVs. That would achieve the same thing with much less calculation.
  05 May 2013

@Calibrix : well men im not emitting from the surface im goaling, once the particles goal one object by textur then i need to goal again to other obect by textur with the same particles.

what i trying to do is form one object by particles, and then tranforms that obect/particles to to ther object
  05 May 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 09:17 PM.

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