Hey,
I'm unsure if I'm even trying to do the correct thing. I thought I'd ask anyway!
I have a fluid sim, which contains a tank, an emitter and some collision geometry.
I want to be able to take the particle movement, at a given frame, and render it's direction/vector to a texture.
If possible, my end result would be a texture where if the particle was moving positive X, nothing on the Y, it would create a pixel with the value of 1.0,0.5. (The Z channel, would just write 0 to blue).
Any help / direction would be hugely appreciated.
Thank you!
Kieran
Render Particle Motion Vector
3568 4 1- Kieran Belkus
- Member
- 12 posts
- Joined: May 2014
- Offline
- pezetko
- Member
- 387 posts
- Joined: Nov. 2008
- Offline
- Sadjad Rabiee
- Member
- 1391 posts
- Joined: Dec. 2010
- Offline
Exporting any attributes such as velocity or any custom attribute is so simple.
Just export it in the shader with same name , then use this name for Extra Image Plane in the Mantra node , In this case you can see your custom attribute's data as image in the different layers of your rendered image :idea:
Check attached project :wink:
Just export it in the shader with same name , then use this name for Extra Image Plane in the Mantra node , In this case you can see your custom attribute's data as image in the different layers of your rendered image :idea:
Check attached project :wink:
- Kieran Belkus
- Member
- 12 posts
- Joined: May 2014
- Offline
- Sadjad Rabiee
- Member
- 1391 posts
- Joined: Dec. 2010
- Offline
-
- Quick Links