CGTalk > Software > Autodesk Maya > Maya Dynamics
Login register
Thread Closed share thread « Previous Thread | Next Thread »  
 
Thread Tools Search this Thread Display Modes
Old 04-27-2013, 08:53 PM   #1
D4riel
Frequenter
 
D4riel's Avatar
portfolio
Dariel Rodriguez
3D Animation & VFX
santo domingo, Dominican Republic
 
Join Date: Apr 2009
Posts: 163
Exclamation 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-01-2013, 03:45 AM   #2
D4riel
Frequenter
 
D4riel's Avatar
portfolio
Dariel Rodriguez
3D Animation & VFX
santo domingo, Dominican Republic
 
Join Date: Apr 2009
Posts: 163
Exclamation

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-02-2013, 12:19 AM   #3
VB2341
Frequenter
portfolio
Varun Bajaj
Troy, US
 
Join Date: Jan 2013
Posts: 125
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-02-2013, 03:10 AM   #4
D4riel
Frequenter
 
D4riel's Avatar
portfolio
Dariel Rodriguez
3D Animation & VFX
santo domingo, Dominican Republic
 
Join Date: Apr 2009
Posts: 163
Exclamation

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-03-2013, 08:15 PM   #5
Aikiman
Pixel Collisions
 
Aikiman's Avatar
portfolio
Jeremy Raven
Wellington, New Zealand
 
Join Date: Jun 2005
Posts: 3,582
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.
__________________
www.jeremyraven.co.nz
Vimeo
 
Old 05-03-2013, 08:24 PM   #6
D4riel
Frequenter
 
D4riel's Avatar
portfolio
Dariel Rodriguez
3D Animation & VFX
santo domingo, Dominican Republic
 
Join Date: Apr 2009
Posts: 163
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-03-2013, 09:18 PM   #7
Calibrix
Frequenter
 
Calibrix's Avatar
portfolio
Chris Wombold
FX Artist
Nickelodeon
USA
 
Join Date: May 2009
Posts: 172
Send a message via AIM to Calibrix
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-03-2013, 09:37 PM   #8
D4riel
Frequenter
 
D4riel's Avatar
portfolio
Dariel Rodriguez
3D Animation & VFX
santo domingo, Dominican Republic
 
Join Date: Apr 2009
Posts: 163
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-03-2013, 09:37 PM   #9
CGTalk Moderation
Lord of the posts
CGTalk Forum Leader
 
Join Date: Sep 2003
Posts: 1,066,480
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 05:19 PM.


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