orange juice

General discussion about Indigo Materials - material requests, material developement, feedback, etc..
Post Reply
9 posts • Page 1 of 1
tony
Posts: 78
Joined: Fri May 02, 2008 11:41 am

orange juice

Post by tony » Mon Dec 15, 2008 11:08 pm

How to make orange juice?

Thank you

User avatar
suvakas
3rd Place Winner
Posts: 2613
Joined: Mon Sep 04, 2006 11:08 pm
Location: Estonia
Contact:

Post by suvakas » Tue Dec 16, 2008 12:00 am

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)

tony
Posts: 78
Joined: Fri May 02, 2008 11:41 am

Post by tony » Tue Dec 16, 2008 12:29 am

Thanks Suvakas, so I'm testing.

tony
Posts: 78
Joined: Fri May 02, 2008 11:41 am

Post by tony » Tue Dec 16, 2008 1:06 am

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.

User avatar
suvakas
3rd Place Winner
Posts: 2613
Joined: Mon Sep 04, 2006 11:08 pm
Location: Estonia
Contact:

Post by suvakas » Tue Dec 16, 2008 1:53 am

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.

User avatar
Kram1032
Posts: 6649
Joined: Tue Jan 23, 2007 3:55 am
Location: Austria near Vienna

Post by Kram1032 » Tue Dec 16, 2008 3:34 am

yes, change to 1...
and 20 *should* be correct :)

tony
Posts: 78
Joined: Fri May 02, 2008 11:41 am

Post by tony » Tue Dec 16, 2008 9:44 am

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.

dmn
3rd Place Winner
Posts: 243
Joined: Thu Dec 21, 2006 6:42 pm

Post by dmn » Tue Dec 16, 2008 11:13 am

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

tony
Posts: 78
Joined: Fri May 02, 2008 11:41 am

Post by tony » Tue Dec 16, 2008 12:21 pm

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.
Attachments
value200.png
value200.png (981.26 KiB) Viewed 3241 times
value60.png
value60.png (1014.76 KiB) Viewed 3243 times
value30.png
value30.png (998.75 KiB) Viewed 3243 times
value15.png
value15.png (991.75 KiB) Viewed 3243 times
value5.png
value5.png (968.85 KiB) Viewed 3245 times

Post Reply
9 posts • Page 1 of 1

Who is online

Users browsing this forum: No registered users and 16 guests