Pazuzu Posted March 25, 2011 Share Posted March 25, 2011 Hi!! 1 Quote Link to comment Share on other sites More sharing options...
Ezz Posted March 26, 2011 Share Posted March 26, 2011 Hi :-) Thats pretty cool. Can you tell us a bit about your approach?? Thanks Erik Quote Link to comment Share on other sites More sharing options...
Pazuzu Posted March 26, 2011 Author Share Posted March 26, 2011 (edited) Hi!! For the resize thing, i first calculate the min and max values for the density field to calculate a perfect shell to scatter points for the gas resize dop, also transfer to those points the velocity field as N attribute to then peak those points in the velocity direction (rought velocity extrapolation), then merge the peak points with the shell density scatter points. For the custom velocities, i used the tangent of the path and the gradient of the sdf path to equalize an atraction and a travel velocity along the path; The most important thing is the correct sum of those custom velocities with the next step velocity; I first normalize both vectors and then multiply it with the average of their magnitudes. For the dissipation and preservation of the advected density, i analize the velocity to threshold based on his magnitude to find the lower and higher advection speed to dissipate and preserve the advected density. Edited March 29, 2011 by Pazuzu Quote Link to comment Share on other sites More sharing options...
chumbuk Posted March 29, 2011 Share Posted March 29, 2011 look nice! Quote Link to comment Share on other sites More sharing options...
anupamd Posted April 4, 2011 Share Posted April 4, 2011 Looking great! What do you mean by the gradient of the SDF path? How do you set up the SDF path and calculate the gradient? Quote Link to comment Share on other sites More sharing options...
Pazuzu Posted April 4, 2011 Author Share Posted April 4, 2011 (edited) Hi!! Here are a more easy method to compute the gradient and the customvel fields from the path. compute_sop_fields.hipnc compute_sop_fields.hipnc Edited April 4, 2011 by Pazuzu 1 Quote Link to comment Share on other sites More sharing options...
GallenWolf Posted May 15, 2011 Share Posted May 15, 2011 Ooo just saw this, great work! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.