PDA

View Full Version : Houdini Introduction to Fluids



ZvfxZ
02-25-2009, 12:21 PM
I have recently run through the Houdini Introduction to Fluids tutorial, and I have a question about the two particle fluid emitters mixing colors. I have completed the tutorial, and there was no coverage on how to render the two emitters mixing, with liquid materials affecting each other.

My question is, when or where does the color information from the gas diffuse get applied to the material? The exported/imported meshes have the color, but the default materials, (basic liquid) are applied to the particle fluid surface on the object level. I want to render fluids similar to the cover of the DVD.

sunder
02-25-2009, 02:08 PM
Hello ZvfxZ and welcome to DT. You need to manually apply the mixed colors to the Basic Liquid shader. Drop in a Parameter node, set it as a Color and name/label it as Cd and your mixed liquid color from the mesh is stored there. Now you can multiply it to the final color or set it as the reflected color/refracted color. Hope this helps.

ZvfxZ
03-02-2009, 11:38 AM
Thank you so much for the warm welcome and the great fix. I never realized that the Cd value was accessible from all networks. Thanks again!

Hydralisc
06-29-2009, 02:07 AM
Hi Sunder,

first of all thanks for the great fluids tutorial. I am facing the same problem as ZvfxZ, when trying to render the scene. My fluids are not colored yet. I see you provided a solution here, but since i am quite a newbie to Houdini i need a more detailed step by step list where to click and what to do as you usually do in your tutorial :)

Thanks,
Hydra

sunder
06-29-2009, 09:20 AM
Hi Hydra. Thanks for the feedback. I'll see if I can make an update video lesson for this; if not, I will post some detailed steps here.

ettylka
12-08-2009, 04:16 PM
Haven't seen any thing in the videos about getting this to render the colors, can you post a "how to color your fluids for dummies" guide. I just need to know where to create the nodes, and how to multiply to the final color.:bow

zerowp
06-01-2010, 01:48 AM
any help with this would still be appreciated! I have been looking around all over and no one mentions how to get that color hooked up for rendering purposes.

I've found a couple different ways to add a color parameter, but i havent been able to figure out how to hook any of them up to the proper channels or whether i'm even making the correct parameter node...

thanks in advance!

Salias
07-24-2010, 06:28 AM
Enters the liquid basic material node, you will find three nodes, enters into the liquid node, and serch the parameter node atten, change the parameter name as Cd, at this point, back out of the node, select basic liquid material, go to voice Blur.Density.Shadow find Attenuation Pensity parameters set the parameters minimum to one, at this point gives the material and have done, if you want a more intense color incremente the Attenuation Density parameter.