Hoew to render a nice glass of wine ?

General questions about Indigo, the scene format, rendering etc...
Post Reply
8 posts • Page 1 of 1
Gwenouille
Posts: 9
Joined: Wed May 21, 2008 11:04 am

Hoew to render a nice glass of wine ?

Post by Gwenouille » Thu May 22, 2008 12:10 pm

Hello !

While i am not completely a noob with Blender, i am new to Indigo.
I've played a bit with 0.7 and 0.8, but not seriously.

I have the following problem with the latest 1.09 and its Blendigo:

Image

I've modelled this simple scene to test and learn Indigo.
You can see 2 glasses and floating wine (Woww!)

The pb is that, while hovering smoothly into the warm air of a nice spring evening, the wine is a nice ruby color (far right). BUT as soon as you put it in the glass (left) , it looses it's color and turns to vodka ! While this might have some advantages, it is not meant to happen, is it ?

The wine is too big for the glass so to speak, it goes right thrue the glass material, as i read it in an indigo pdf somewhere...

Someone has a clue ?

Wine has an absorbtion gain of 12 and an IOR of 1.33

User avatar
zsouthboy
Posts: 1395
Joined: Fri Oct 13, 2006 5:12 am

Post by zsouthboy » Thu May 22, 2008 1:31 pm

Precedence of glass must be > precedence of wine

User avatar
PureSpider
Posts: 1459
Joined: Tue Apr 08, 2008 9:37 am
Location: Karlsruhe, BW, Germany
Contact:

Post by PureSpider » Fri May 23, 2008 12:32 am

(the wine must intersect with the glass a tiny bit and) the precedence of the glass must be greater than the precedence of the wine
let us see your results ;)

Gwenouille
Posts: 9
Joined: Wed May 21, 2008 11:04 am

Post by Gwenouille » Fri May 23, 2008 1:34 am

Hello.
Thanks for your help !
What do you mean with precedence ? I've made the wine smaller so that it doesn't touch the glass and it seems to work, but it goes against what is sais in the indigo manual.
I guess i should find out what "precedence" is !

Here is what i get with no overlapping of the meshes:
Should i lift the glass of the ground even more ?

Image

BbB
Posts: 1996
Joined: Fri Feb 09, 2007 8:28 am
Location: Berlin
Contact:

Post by BbB » Fri May 23, 2008 1:35 am

Also, your glasses seem to intersect with the tablecloth, which in Indigo, as in life generally, is not a good thing.

Gwenouille
Posts: 9
Joined: Wed May 21, 2008 11:04 am

Post by Gwenouille » Fri May 23, 2008 2:03 am

Mmmm they don't: about 0.00003 Blender Unit.
I guess this wasn't enough :oops: I've lifted them a bit more

(I like this kind of humour by the way !)

Thanks for the "precedence" tip: I've found it in the exporter and it works.

Now i need to learn how do smooth these caustics...
Image

User avatar
Zom-B
1st Place 100
Posts: 4701
Joined: Tue Jul 04, 2006 4:18 pm
Location: ´'`\_(ò_Ó)_/´'`
Contact:

Post by Zom-B » Fri May 23, 2008 2:11 am

Hey Gwen, the black Ring is maybe a normal smoothing Issue. Try to subdivide the mesh more often on the Edges to prevent this!

For some smoother Caustics Rendering MLT + BiDir seems the best way.
You also could simply to a second render Region Image where you only render the area of the Two glasses, so Indigo will use its full render Power only at this part of the image for better/faster convergence on the caustics...
finaly you combine the big rendering with your renderRegion one (for such techniques Reinhard Tonemapping is a no-go, use linear or camera tonemapping instead!)
polygonmanufaktur.de

User avatar
CTZn
Posts: 7240
Joined: Thu Nov 16, 2006 4:34 pm
Location: Paris, France

Post by CTZn » Fri May 23, 2008 3:08 am

about 0.00003 Blender Unit.
Well that's less than

Code: Select all

"ray_origin_nudge_distance" "0.0001"
so rays may get killed here. Either disminish nudge distance (advanced manip) or set distance strictly superior to 0.0001 units.

As for the wine issue I don't see how precedence impacts on material aspect.

Precedence tells wich volume overlaps wich when they intersects. Smaller value = on top of bigger values.
obsolete asset

Post Reply
8 posts • Page 1 of 1

Who is online

Users browsing this forum: No registered users and 67 guests