Photochromatic film material help?

General discussion about Indigo Materials - material requests, material developement, feedback, etc..
Post Reply
11 posts • Page 1 of 1
User avatar
gjengi
Posts: 37
Joined: Tue Jun 08, 2010 9:12 am
Location: England

Photochromatic film material help?

Post by gjengi » Tue Feb 21, 2012 6:14 am

How easy would it be to make a photochromatic film material - as used on the glass in this building http://www.unstudio.com/projects/la-defense-offices? I assume it would be similar in nature to the build up of this pearl material?

I'd like to incorporate it into a render, but I've not really created materials beyond standard building components. Would it be easier to apply post-production?

Thanks,

Jen
Architect in training...
...almost done!

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

Re: Photochromatic film material help?

Post by galinette » Tue Feb 21, 2012 9:51 am

Hi,

It's more a dichroic filter. If you do not need to model light transmission, that could be done with a simple phong shader

You can find a simple one here :
http://www.indigorenderer.com/materials/materials/1065

Colors can be changed by tuning the "600.0" coefficient in the thickness function
Eclat-Digital Research
http://www.eclat-digital.com

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

Re: Photochromatic film material help?

Post by CTZn » Tue Feb 21, 2012 11:41 am

Nice Etienne, I always wanted to see some wavelength dependent shader.
obsolete asset

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

Re: Photochromatic film material help?

Post by galinette » Tue Feb 21, 2012 8:41 pm

The pearl uses a wavelength dependent shader for a long time! This one is just a variation of the pearl

These physics based, wavelength and angle dependent shaders would be very nice in an animation to see the changing colors.

I never tried the parametric shaders yet, but I definitely should. Maybe that one is a good candidate

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

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

Re: Photochromatic film material help?

Post by CTZn » Tue Feb 21, 2012 11:25 pm

Those physics are above my head anyways :?

About params, I think the UV scale is needed first, whenever applicable; you never know the details frequency the user is looking for...

Also, Ono insisted on the slowness of the pow() function. Perhaps would it be worth declaring the sin() in a let statement to multiply it by itself below, if that power is not to be changed by the user.

edit: I see that you may be looking for backwards compatibility with shaders... Let's see what Jen says now ^^
obsolete asset

User avatar
gjengi
Posts: 37
Joined: Tue Jun 08, 2010 9:12 am
Location: England

Re: Photochromatic film material help?

Post by gjengi » Wed Feb 22, 2012 2:16 am

Wow, thanks for the replies both of you!

Most of that went way over my head too, but that material looks like the kind of thing I was after galinette, thankyou (not sure why I hadn't spotted it in the first place!) I'll give it a test and update you on my progress :-)

Thanks again!

Jen
Architect in training...
...almost done!

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

Re: Photochromatic film material help?

Post by galinette » Wed Feb 22, 2012 2:17 am

gjengi wrote:(not sure why I hadn't spotted it in the first place!)
Because I made it just after reading your post ;)
Eclat-Digital Research
http://www.eclat-digital.com

User avatar
gjengi
Posts: 37
Joined: Tue Jun 08, 2010 9:12 am
Location: England

Re: Photochromatic film material help?

Post by gjengi » Wed Feb 22, 2012 2:33 am

galinette wrote:
gjengi wrote:(not sure why I hadn't spotted it in the first place!)
Because I made it just after reading your post ;)

Ah, hehe. Thanks! :P

Also, am I right in thinking if I wanted to make dichroic glass, that I could just blend that material you made with a glass material?
Architect in training...
...almost done!

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

Re: Photochromatic film material help?

Post by galinette » Wed Feb 22, 2012 2:59 am

Yes, this could do the trick.
Other interesting test could be:
- Make a 8-10mm thick glass pane with a glass material
- Blend the dichroic material with a null
- Insert a single polygon layer halfway inside the glass pane and use the blend material on it

This would be similar to the actual glass, which is a dichroic polymer film sandwiched (laminated) between two glass panes

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

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

Re: Photochromatic film material help?

Post by CTZn » Wed Feb 22, 2012 4:34 am

gjengi wrote:Wow, thanks for the replies both of you!
No no it's all galinette, I am just interfering !

I hope that you will be able to share with us an image of his shader in action. Don't forget to use Glass Acceleration.
obsolete asset

StompinTom
Indigo 100
Posts: 1828
Joined: Mon Sep 04, 2006 3:33 pm

Re: Photochromatic film material help?

Post by StompinTom » Wed Feb 22, 2012 6:19 am

Nice one, galinette!

Post Reply
11 posts • Page 1 of 1

Who is online

Users browsing this forum: No registered users and 20 guests