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 CLOSED
 
Thread Tools Search this Thread Display Modes
Old 04 April 2013   #1
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???
 
Old 05 May 2013   #2
hi guys i have found this expresion



Quote:
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`;

}

goalU=$goalU;
goalV=$goalV;





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???????????
 
Old 05 May 2013   #3
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?
 
Old 05 May 2013   #4
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
 
Old 05 May 2013   #5
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.
__________________
Vimeo
 
Old 05 May 2013   #6
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
 
Old 05 May 2013   #7
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.
 
Old 05 May 2013   #8
Talking

@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
 
Old 05 May 2013   #9
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
CGSociety
Society of Digital Artists
www.cgsociety.org

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

All times are GMT. The time now is 12:57 AM.


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