help creating a shaded material

General discussion about Indigo Materials - material requests, material developement, feedback, etc..
elDiego
Posts: 43
Joined: Thu Feb 03, 2011 10:22 pm

help creating a shaded material

Post by elDiego » Thu Jul 31, 2014 9:10 pm

Hi, i'm building this pieces and i wanted to look like this (see image) I'm thinking I need somehow two materials (glass and mirror) that fade into each other. any help will be much apreciated.
Attachments
larry-bell-6x6x4-CD1996-four-12mm-glass-panels-coated-with-nickel-chrome.jpg

User avatar
bubs
2nd Place Winner
Posts: 614
Joined: Fri Jul 22, 2011 8:46 pm
Location: UK

Re: help creating a shaded material

Post by bubs » Thu Jul 31, 2014 10:12 pm

Use a gradient map to blend between a Chrome material and a glass material...
Attachments
glass.jpg

User avatar
bubs
2nd Place Winner
Posts: 614
Joined: Fri Jul 22, 2011 8:46 pm
Location: UK

Re: help creating a shaded material

Post by bubs » Thu Jul 31, 2014 10:13 pm

here's what I used. Hope it helps.
Attachments
Chome Plated Glass.pigm
(1.01 MiB) Downloaded 147 times

elDiego
Posts: 43
Joined: Thu Feb 03, 2011 10:22 pm

Re: help creating a shaded material

Post by elDiego » Thu Jul 31, 2014 10:29 pm

Hi Bubs, thanks for the reply. I cant open your scene. i get this message
Error: Failed to parse material: Found unexpected element 'max_extinction_coeff'. (In element 'basic', around line 6, column 9)

User avatar
bubs
2nd Place Winner
Posts: 614
Joined: Fri Jul 22, 2011 8:46 pm
Location: UK

Re: help creating a shaded material

Post by bubs » Thu Jul 31, 2014 10:36 pm

I'm afraid I've no idea what that means... It works for me OK.
Here's the blend map I used. Just use the preset 'Glass' or 'Tinted Glass' as Material A and the NK data preset for Chrome as Material B.
Attachments
blend.jpg

elDiego
Posts: 43
Joined: Thu Feb 03, 2011 10:22 pm

Re: help creating a shaded material

Post by elDiego » Thu Jul 31, 2014 11:42 pm

Thanks, I'm far from being a pro, so I don't really know how to create a blend material from scratch ( I tried with no luck)
I do have my ways around it though. I used this material and modified the image to yours, which works fine. but what if that non translucent material to be mirror?
So when it comes to blend materials you have a material A and B , what does the blend number below do? and how can i add a new material to the blend?
Attachments
try-01.jpg
Etched_Glass.pigm
(11.57 KiB) Downloaded 99 times

User avatar
bubs
2nd Place Winner
Posts: 614
Joined: Fri Jul 22, 2011 8:46 pm
Location: UK

Re: help creating a shaded material

Post by bubs » Fri Aug 01, 2014 12:02 am

Create new material.
In Property editor choose 'Blend' from drop down menu.
Under the 'General' section choose 'texture' from the drop down menu and put in the texture I posted.
For Material A choose 'specular' and click the + to add medium.
For Material B choose 'phong' and choose cr.nk from the 'Nk data' drop down menu.

That's it!

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

Re: help creating a shaded material

Post by Zom-B » Fri Aug 01, 2014 3:05 am

elDiego wrote:Hi Bubs, thanks for the reply. I cant open your scene. i get this message
Error: Failed to parse material: Found unexpected element 'max_extinction_coeff'. (In element 'basic', around line 6, column 9)
Update Indigo to the latest version!
http://www.indigorenderer.com/forum/vie ... =1&t=13163
polygonmanufaktur.de

elDiego
Posts: 43
Joined: Thu Feb 03, 2011 10:22 pm

Re: help creating a shaded material

Post by elDiego » Fri Aug 01, 2014 4:43 am

I think I'm getting there, what do you think? just wish the fading was a bit more drastic.
thanks for the help!
ps. it doesn't let me attach the material
Attachments
try-02.jpg
try-03.jpg
try-04.jpg

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

Re: help creating a shaded material

Post by Zom-B » Fri Aug 01, 2014 4:47 am

elDiego wrote:just wish the fading was a bit more drastic.
Just change the gradient map to fit your needs, it controls the fading. Double check that you use gama 2.2 for the texture in Indigo!
elDiego wrote:ps. it doesn't let me attach the material
Yes, maximum attachment size is 0.5 MB, that sucks!
polygonmanufaktur.de

elDiego
Posts: 43
Joined: Thu Feb 03, 2011 10:22 pm

Re: help creating a shaded material

Post by elDiego » Fri Aug 01, 2014 8:13 pm

Zom-B wrote:
elDiego wrote:just wish the fading was a bit more drastic.
Just change the gradient map to fit your needs, it controls the fading. Double check that you use gama 2.2 for the texture in Indigo!


hmmm..., what is the gama 2.2 for the texture. sorry if you find this obvius

User avatar
bubs
2nd Place Winner
Posts: 614
Joined: Fri Jul 22, 2011 8:46 pm
Location: UK

Re: help creating a shaded material

Post by bubs » Fri Aug 01, 2014 8:37 pm

See below
Attachments
Untitled-1.jpg

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

Re: help creating a shaded material

Post by galinette » Fri Aug 01, 2014 10:11 pm

For a blend map, I'm not sure a gamma of 2.2 is always the best choice. If your gradient varies linearly from 0 to 255, a gamma of 1 will ensure that materials are blended linearly.

A gamma of 2.2 will unbalance towards material A.
Eclat-Digital Research
http://www.eclat-digital.com

User avatar
bubs
2nd Place Winner
Posts: 614
Joined: Fri Jul 22, 2011 8:46 pm
Location: UK

Re: help creating a shaded material

Post by bubs » Fri Aug 01, 2014 10:29 pm

galinette, when it comes to ANYTHING to do with textures I will bow to your knowledge! 8)

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

Re: help creating a shaded material

Post by Zom-B » Fri Aug 01, 2014 10:31 pm

galinette wrote:For a blend map, I'm not sure a gamma of 2.2 is always the best choice. If your gradient varies linearly from 0 to 255, a gamma of 1 will ensure that materials are blended linearly.
A gamma of 2.2 will unbalance towards material A.
Correct me if I'm wrong, but a gradient created in PS or GIMP, saved as a RGB texture with gamma 2.2 (per default!) needs to be set in Indigo to have gamma 2.2 too, otherwise you get a shift in gradient strength.

I would really like some automated gamma extraction from textures and setting it correctly by default, so such "mistakes" are prevented from the start.

***EDIT***

Actually it seems I'm wrong here, did some test using that map for displacement, since its the best way to actually SEE whats going on:
Attachments
2.2.jpg
1.0.jpg
polygonmanufaktur.de

Post Reply
30 posts

Who is online

Users browsing this forum: No registered users and 32 guests