colored smoke

   3346   0   0
User Avatar
Member
14 posts
Joined: March 2013
Offline
Hello!

SETUP:
*I have 3 emitters, because I want 3 different colors in my smoke.
*Each emitter's fields create a new field (Cd.x,Cd.y,Cdz) so that the Cd attribute can be stored there.

*In the Dopnet, those newly created vector fields are called and they create the Dataname (that is the color stored), which is also used to be driven by the vel (with gas advect) so that color doesn´t remain static.

*Then in the shader you just tell it to use the 3 color values you have there.


The PROBLEM is that my color doesnt match my smoke, because the color appears only on a small percentage of the smoke (only on a small part of the density) and the rest is black.

I think that maybe the color was just created at the beginning of the simulation so that is why it remains on some parts of the volume (the highest and oldest ones –>what it seems were the first ones emitted)


I attached an image so you can see in the render my problem (color is only visible on render, not on viewport)

There is also my hip file so you can see what I did and explain me further if you can detect a problem (my smoke is in 2D)

Attachments:
humo.jpg (1.6 MB)
2smokes_v04.hip (1.2 MB)

  • Quick Links