Page 1 of 2
Liquid inside a bottle
Posted: Wed May 06, 2009 5:13 am
by grndvilhockey
Hi everyone. I am fairly new when it comes to using Indigo. I recently decided to make of model the lava lamp that i have in my room. the glass and everything turned out fine but i ran into a problem when it came to the liquid inside of the glass bottle. Every time that i try I to render the liquid inside of the glass the liquid turns black.
I followed the instructions for this in the manual but it still renders the liquid black. I have been all over the forums here but i have not found anything that has helped.
If anybody has any suggestions they would be greatly appreciated.
I will attach an image so that you can see what i am talking about.
Re: Liquid inside a bottle
Posted: Wed May 06, 2009 7:57 am
by SmartDen
a couple of wireframe screenshots can be helpfull and material settings too. from glas and from liquid.
And... read my signature
Re: Liquid inside a bottle
Posted: Wed May 06, 2009 7:59 am
by pixie
Check the precedence of the mediums (glass, water), liquids having a lower precedence
Re: Liquid inside a bottle
Posted: Wed May 06, 2009 10:00 am
by grndvilhockey
I have checked rechecked and triple check the normals every time I try a render just to be sure, so I know it isn't the normals. and I set the precedence of the glass and liquid to what i found in some of the preset materials in the database. So I'm pretty sure it isn't that either.
Re: Liquid inside a bottle
Posted: Wed May 06, 2009 10:02 am
by grndvilhockey
And here are the material settings.
Re: Liquid inside a bottle
Posted: Wed May 06, 2009 12:08 pm
by Borgleader
From what i can see...your glass had no thickness or rather...its full. You seem not to have modeled the "interior" of it...making it one huge chunk of glass, and there does not seem to be any gap in size between the glass and the liquid. The precedence looks about right.
Re: Liquid inside a bottle
Posted: Wed May 06, 2009 12:17 pm
by grndvilhockey
It is hard to see in the first image of the meshes. But I did model the glass as with two layers. the thickness of the glass is pretty much even all the way around until you get to the bottom, which is thicker. The liquid is about half way between the layers of the glass mesh. And i made sure that all of the meshes are closed already.
Re: Liquid inside a bottle
Posted: Wed May 06, 2009 12:21 pm
by OnoSendai
Looks correct, but how thick is the glass? (how many mm?)
Re: Liquid inside a bottle
Posted: Wed May 06, 2009 12:34 pm
by grndvilhockey
I don't know. i don't know how to do measurements in blender. how would i find that out?
Re: Liquid inside a bottle
Posted: Wed May 06, 2009 1:38 pm
by Borgleader
Re: Liquid inside a bottle
Posted: Thu May 07, 2009 11:19 am
by grndvilhockey
The glass is 6 millimeters thick. that is if the measurements in blender are in meters. the edges length said 0.006.
Re: Liquid inside a bottle
Posted: Thu May 07, 2009 11:21 am
by pixie
grndvilhockey wrote:The glass is 6 millimeters thick. that is if the measurements in blender are in meters. the edges length said 0.006.
Quite Big I would say... I wonder the diameter of the liquid...
Re: Liquid inside a bottle
Posted: Thu May 07, 2009 12:15 pm
by grndvilhockey
Actually i think i might have figured it out. I did 2 things, i made that glass thicker, and i set the glass precedence up to 10 and kept the liquid at 5. I'm pretty sure it was the precedence that made the difference.
I am rendering an image right now and ill see how it turns out.
Re: Liquid inside a bottle
Posted: Thu May 07, 2009 3:14 pm
by Borgleader
grndvilhockey wrote:Actually i think i might have figured it out. I did 2 things, i made that glass thicker, and i set the glass precedence up to 10 and kept the liquid at 5. I'm pretty sure it was the precedence that made the difference.
I am rendering an image right now and ill see how it turns out.
The precedence shouldnt have changed anything, it'll cause problems only if its the same value for two different materials other than that it shouldnt.
Re: Liquid inside a bottle
Posted: Fri May 08, 2009 11:33 am
by grndvilhockey
Ok so the the problem with the liquid rendering black is fixed. It doesn't turn out horrible, but now i can't seem to get the liquid to be the right color. It keeps turning out purple when it should be blue. I tried to change the SSS to be the color that i wanted instead of uniform but it turned out looking really strange.