Colored Glass

Announcements, requests and support regarding SkIndigo - the Sketchup / Indigo exporter.
Post Reply
7 posts • Page 1 of 1
dchero
Posts: 4
Joined: Tue Jun 02, 2009 9:39 pm

Colored Glass

Post by dchero » Wed Jun 02, 2010 12:36 am

Hi everyone,

I couldn't colored glass materials in skindigo. I tried to change surface color in specular but no chance.
I want to render my glass like plexiglas. Red,blue,yellow etc..

I need some help here :(

User avatar
galinette
1st Place Winner
Posts: 923
Joined: Sat Jan 09, 2010 1:39 am
Location: Nantes, France
Contact:

Re: Colored Glass

Post by galinette » Wed Jun 02, 2010 1:11 am

There is a recent topic on a very similar subject here:
http://www.indigorenderer.com/forum/vie ... 38&p=96991

The idea behind this : for a colored transparent material, color does not come from the interface properties (like the one you define in the specular model) but from the associated medium properties. Light is not colored when entering or reflecting on the surface, but while travelling inside the material.

Etienne
Eclat-Digital Research
http://www.eclat-digital.com

dchero
Posts: 4
Joined: Tue Jun 02, 2009 9:39 pm

Re: Colored Glass

Post by dchero » Thu Jun 03, 2010 4:53 am

wow! you are the king :D
that solved my problem

ieatfish
Posts: 127
Joined: Sun Jan 31, 2010 5:29 pm

Re: Colored Glass

Post by ieatfish » Thu Jun 03, 2010 7:08 am

I uploaded a few colors (red,green,glue) to the material database. You can change the IOR in the file to whatever medium you'd like as well.
Intel Core-i7 @ 4.0 GHz | GTX 580 | 12 GB RAM

dchero
Posts: 4
Joined: Tue Jun 02, 2009 9:39 pm

Re: Colored Glass

Post by dchero » Sat Jun 05, 2010 10:04 pm

I got it thanks. Soon I'll upload some renders from my project

dchero
Posts: 4
Joined: Tue Jun 02, 2009 9:39 pm

Re: Colored Glass

Post by dchero » Thu Jun 24, 2010 8:44 am

What can you tell me about these?
Any advice?
Attachments
Kopyası MLT.png
a.jpg

User avatar
galinette
1st Place Winner
Posts: 923
Joined: Sat Jan 09, 2010 1:39 am
Location: Nantes, France
Contact:

Re: Colored Glass

Post by galinette » Thu Jun 24, 2010 11:14 am

Your glass bricks look "hollow". Was this intended, or do you want to make solid glass volumes?

In that case, you did likely forget to put a refractive index to your mediums, such as 1.52 for glass. There is no visible refraction here, which makes the blocks look like empty plastic boxes.

Also, you can add some dispersion by setting cauchy B coefficient to 0.02. But this slows the renderer (it seems to switch from broadband wavelength path tracing to per-wavelength path tracing when reaching a dispersive material)

And finally, just check that you colored the medium, not the material.

With all these, it should look ways more realistic.

Etienne
Eclat-Digital Research
http://www.eclat-digital.com

Post Reply
7 posts • Page 1 of 1

Who is online

Users browsing this forum: No registered users and 61 guests