Page 1 of 1

orange juice

Posted: Mon Dec 15, 2008 11:08 pm
by tony
How to make orange juice?

Thank you

Posted: Tue Dec 16, 2008 12:00 am
by suvakas
Hey,

I made one in the past:
Image

You can get the material itself from this link (second post from the top):
http://www.indigorenderer.com/joomla/fo ... &start=135
The issue with this mat is, that my scene was too small. (only a few cm's). So you may have to change some parameters to make it work for normal sized scene or use 2cm high glass 8)

Posted: Tue Dec 16, 2008 12:29 am
by tony
Thanks Suvakas, so I'm testing.

Posted: Tue Dec 16, 2008 1:06 am
by tony
Suvakas:

On

<scattering_coefficient_spectrum>
<uniform>
<value>20.0</value>
</uniform>
</scattering_coefficient_spectrum>


for that serves the value 20?

and

<rgb>
<rgb>2.8 9.5 25.5</rgb>
<gamma>1</gamma>
</rgb>


as a change in the blendigo value of gamma (it is by default in 2.2).

Thank´s.

Posted: Tue Dec 16, 2008 1:53 am
by suvakas
Well..i don't know Blender at all, so I don't know how to translate those params into Blendigo format. But yeah, use gamma 1 instead of 2.2. Again, i don't know how you can set it up from Blender. Sry.

Posted: Tue Dec 16, 2008 3:34 am
by Kram1032
yes, change to 1...
and 20 *should* be correct :)

Posted: Tue Dec 16, 2008 9:44 am
by tony
Kram1032:

What really I want to know is what made the value (20, 50, 70, etc.) in indigo.

And also I would like to know how change in blendigo the gamma value because I can not find it.

Greetings.

Posted: Tue Dec 16, 2008 11:13 am
by dmn
Tony, notice how "<value>20.0</value> " is between "<scattering_coefficient_spectrum>" and "</scattering_coefficient_spectrum>." The way most script language works, this means that 'value' is somehow related/ subordinate to "scattering_coefficient_spectrum." So search in the manual for "scattering_coefficient_spectrum" and you will find on page value to be the number of meters^-1

...although this still doesn't explain much :D

Posted: Tue Dec 16, 2008 12:21 pm
by tony
I have done tests and I note that with low value the liquid becomes transparent.

As you climb up the values becomes opaque, as more dense.

With a value of 200 seems custard or flan.

This is what I asked.

The second question: how change in blendigo the value of gamma.