Volumelight And Fluid Clouds

Hello,

I am unable to get this interaction, is this possible? Is there a workaround that is…GULP…simple? Thanks for any thoughts.

I tried this for a volume light and a default fluid container. It seemed to work fine(in the maya renderer… perhaps you are using Mental Ray?). Does your fluid have “use real lights” enabled?

In terms of shadowing on the fluid I think it will treat the volume light as a point source.

Duncan

QUOTE(DuncanBrinsmead @ 12/06/05, 01:42 PM)
I tried this for a volume light and a default fluid container. It seemed to work fine(in the maya renderer… perhaps you are using Mental Ray?). Does your fluid have “use real lights” enabled?

In terms of shadowing on the fluid I think it will treat the volume light as a point source.

Duncan
[snapback]221720[/snapback]

I am sorry, I am getting light interaction, but the clouds do not shadow the lights volume (clouds not casting shadows thru the volume).

Do you mean volume lights(in maya these are volume bounded lights)? Or light fog volumes( fog volumes illuminated by light, eg a spot cone)?

If it is the latter then it is possible but trickier. If one has shadows on for the light then the fluid will show “god rays” in its own volume resulting from shadows cast into its self. One needs a very low base density(tenuous) in the fluid to catch the light and show these rays. Manipulating the right index of the opacity graph can achieve this.

I you still wanted to use the light fog( which won’t be as accurate as the above technique ) you could potentially convert the fluid to poly, create a depth map for the light using this and then render using the original fluid and the saved depth map.

Duncan

QUOTE(bjohnston @ 12/07/05, 12:23 PM)
I am sorry, I am getting light interaction, but the clouds do not shadow the lights volume (clouds not casting shadows thru the volume).
[snapback]221818[/snapback]

Thank you Duncan. I was trying it with a light fog volume from a spotlight. I have seen these God rays of which you speak.