anupamd Posted October 7, 2010 Share Posted October 7, 2010 I am trying to write the velocities of a simulated fluid to a 2d texture. Obviously I only care about a 2d slice of a 3d sim. The method I am using right now is to advect particles into my fluid, then attribute transfer the velocity of the particles to point color on a flat piece of geo that is highly subdivided. Then render that geo out. The more elegant solution which I do not know how to do would be to sim the fluid, write to a pointcloud. Then read the velocity attribute from the fluid pointcloud in a shader. But I have done no work with pointclouds and would love to see an example file of how that works in the context of a shader. Thanks for the advice... 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.