Page 1 of 1

Black fluid when used with glass.

Posted: Tue Apr 22, 2008 12:42 am
by mrCarnivore
Hello again.

It's been a while since my last post and I seem to have forgotten everything about indigo. ;-)

Yesterday I downloaded the most recent indigo build (1.0.9.3 final) and blendigo 1.0.9.
I modelled a scene with a glass on a table and intersecting fluid (fluid is in the glass but overlaps with it according to the old tutorial here) I set the precedence of the glass to 20 and fluid to 10 and rendered. The fluid has an absorbtion factor of about 1.

The result was a black fluid. :shock:
When I rendered without the glass, the fluid was like it was supposed to be: with a little colour absorbtion and non-black.

I used env-map for lighting and left almost all settings in blendigo on default.
I tried with bidir, without bidir, with hybrid, without hybrid. No difference.

Is it a bug or a feature? :twisted:

No, seriously, what am I doing wrong? :?

Posted: Tue Apr 22, 2008 1:24 am
by Stur
welcome back Carnivore.

Transparent materials appearing black are usually because of wrong sizes or too much gain, but the fact that it's ok when there is no glass is strange.

Could you share your .blend ?

Posted: Tue Apr 22, 2008 8:31 am
by mrCarnivore
Very strange. I seem to have found a bug in indigo, but I can't reproduce it.

I changed the material of the fluid while rendering without the glass before saving it. So when I tried to render with the glass again to see if there was still the black fluid, everything worked out fine.
I changed the settings of the fluid, but couldn't reproduce it...

I will get back, when the black fluid returns. :-)

Posted: Thu Apr 24, 2008 10:12 pm
by Kram1032
Did you actually try to render the glass without the fluid? Maybe the glass was the problem ;) It could be that your glass had all the normals pointing away from the fluid which would mean that the normals of the inner glass wall would have pointed inward...