Lego brick

General discussion about Indigo Materials - material requests, material developement, feedback, etc..
Post Reply
13 posts • Page 1 of 1
Fencer
Posts: 12
Joined: Thu Apr 24, 2008 8:08 am

Lego brick

Post by Fencer » Fri Sep 26, 2008 4:23 am

Hi everbody,

I tried a few settings to find a material for a Lego brick (correct word?) but I'm not quite satisfied with my results.
so I ask everybody here if she/he can help me

greetings
Fencer

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

Post by Kram1032 » Fri Sep 26, 2008 4:38 am

Probably.
Though, you should post pics of your current material(s), so that we can tell you "use more red", "use less blue", "turn down the IoR" or "turn up your exponent" or what so ever ;)

A direct guess doesn't work too good, usually. Show your results and we might be able to help.

Fencer
Posts: 12
Joined: Thu Apr 24, 2008 8:08 am

Post by Fencer » Fri Sep 26, 2008 5:21 am

ok here we are 8)
Attachments
im1222360480.png
im1222360480.png (561.63 KiB) Viewed 5588 times

User avatar
PureSpider
Posts: 1459
Joined: Tue Apr 08, 2008 9:37 am
Location: Karlsruhe, BW, Germany
Contact:

Post by PureSpider » Fri Sep 26, 2008 5:43 am

That's what I've come up with (though I did that test some time ago)... Is that what you'd like to have?
Attachments
im1208548923.png
im1208548923.png (441.75 KiB) Viewed 5585 times

Fencer
Posts: 12
Joined: Thu Apr 24, 2008 8:08 am

Post by Fencer » Fri Sep 26, 2008 5:57 am

yes thx. what were your settings?
:D

User avatar
PureSpider
Posts: 1459
Joined: Tue Apr 08, 2008 9:37 am
Location: Karlsruhe, BW, Germany
Contact:

Post by PureSpider » Fri Sep 26, 2008 5:57 am

Will have to search the scene again... will do that later

€dit: Found it... here you go... but don't ask me which mat is which color ^^

Code: Select all

    <material>
        <name>Material00</name>
        <phong>
            <ior>1.018</ior>
            <diffuse_albedo_spectrum>
                <rgb>
                    <rgb>0.651 0.098 0.098</rgb>
                    <gamma>2.2</gamma>
                </rgb>
            </diffuse_albedo_spectrum>
            <exponent>124.452</exponent>
        </phong>
    </material>
    <material>
        <name>Material01</name>
        <phong>
            <ior>1.018</ior>
            <diffuse_albedo_spectrum>
                <rgb>
                    <rgb>1 0.498 0.2</rgb>
                    <gamma>2.2</gamma>
                </rgb>
            </diffuse_albedo_spectrum>
            <exponent>124.452</exponent>
        </phong>
    </material>
    <material>
        <name>Material02</name>
        <phong>
            <ior>1.018</ior>
            <diffuse_albedo_spectrum>
                <rgb>
                    <rgb>0.098 0.4 0.098</rgb>
                    <gamma>2.2</gamma>
                </rgb>
            </diffuse_albedo_spectrum>
            <exponent>124.452</exponent>
        </phong>
    </material>
    <material>
        <name>Material04</name>
        <phong>
            <ior>1.018</ior>
            <diffuse_albedo_spectrum>
                <rgb>
                    <rgb>0 0.2 0.698</rgb>
                    <gamma>2.2</gamma>
                </rgb>
            </diffuse_albedo_spectrum>
            <exponent>124.452</exponent>
        </phong>
    </material>
    <material>
        <name>Material05</name>
        <phong>
            <ior>1.018</ior>
            <diffuse_albedo_spectrum>
                <rgb>
                    <rgb>0.2 0.4 0.898</rgb>
                    <gamma>2.2</gamma>
                </rgb>
            </diffuse_albedo_spectrum>
            <exponent>124.452</exponent>
        </phong>
    </material>
    <material>
        <name>Material06</name>
        <phong>
            <ior>1.018</ior>
            <diffuse_albedo_spectrum>
                <rgb>
                    <rgb>0.8 0.8 0</rgb>
                    <gamma>2.2</gamma>
                </rgb>
            </diffuse_albedo_spectrum>
            <exponent>124.452</exponent>
        </phong>
    </material>
    <material>
        <name>Material07</name>
        <phong>
            <ior>1.018</ior>
            <diffuse_albedo_spectrum>
                <rgb>
                    <rgb>0.949 0.949 0.949</rgb>
                    <gamma>2.2</gamma>
                </rgb>
            </diffuse_albedo_spectrum>
            <exponent>124.452</exponent>
        </phong>
    </material>
    <material>
        <name>Material08</name>
        <phong>
            <ior>1.018</ior>
            <diffuse_albedo_spectrum>
                <rgb>
                    <rgb>0.329 0.298 0.298</rgb>
                    <gamma>2.2</gamma>
                </rgb>
            </diffuse_albedo_spectrum>
            <exponent>124.452</exponent>
        </phong>
    </material>
    <material>
        <name>Material09</name>
        <phong>
            <ior>1.018</ior>
            <diffuse_albedo_spectrum>
                <rgb>
                    <rgb>0.2 0.2 0.2</rgb>
                    <gamma>2.2</gamma>
                </rgb>
            </diffuse_albedo_spectrum>
            <exponent>124.452</exponent>
        </phong>
    </material>
    <material>
        <name>Material10</name>
        <phong>
            <ior>1.018</ior>
            <diffuse_albedo_spectrum>
                <rgb>
                    <rgb>0.4 0.2 0.2</rgb>
                    <gamma>2.2</gamma>
                </rgb>
            </diffuse_albedo_spectrum>
            <exponent>124.452</exponent>
        </phong>
    </material>
    <material>
        <name>Material13</name>
        <phong>
            <ior>1.018</ior>
            <diffuse_albedo_spectrum>
                <rgb>
                    <rgb>0.898 0.698 0.2</rgb>
                    <gamma>2.2</gamma>
                </rgb>
            </diffuse_albedo_spectrum>
            <exponent>124.452</exponent>
        </phong>
    </material>
    <medium>
        <name>MedMaterial18</name>
        <precedence>10</precedence>
        <basic>
            <ior>1.00000</ior>
            <cauchy_b_coeff>0.00000</cauchy_b_coeff>
            <absorption_coefficient_spectrum>
                <rgb>
                    <rgb>10 10 5.02</rgb>
                    <gamma>1</gamma>
                </rgb>
            </absorption_coefficient_spectrum>
        </basic>
    </medium>
    <material>
        <name>Material18</name>
        <specular>
            <internal_medium_name>MedMaterial18</internal_medium_name>
            <transparent>true</transparent>
        </specular>
    </material>
    <medium>
        <name>MedMaterial21</name>
        <precedence>10</precedence>
        <basic>
            <ior>1.00000</ior>
            <cauchy_b_coeff>0.00000</cauchy_b_coeff>
            <absorption_coefficient_spectrum>
                <rgb>
                    <rgb>1.02 1.02 1.02</rgb>
                    <gamma>1</gamma>
                </rgb>
            </absorption_coefficient_spectrum>
        </basic>
    </medium>
    <material>
        <name>Material21</name>
        <specular>
            <internal_medium_name>MedMaterial21</internal_medium_name>
            <transparent>true</transparent>
        </specular>
    </material>
    <material>
        <name>Material22</name>
        <phong>
            <ior>1.018</ior>
            <diffuse_albedo_spectrum>
                <rgb>
                    <rgb>0.549 0.549 0.549</rgb>
                    <gamma>2.2</gamma>
                </rgb>
            </diffuse_albedo_spectrum>
            <exponent>124.452</exponent>
        </phong>
    </material>
    <material>
        <name>Material23</name>
        <phong>
            <ior>1.018</ior>
            <diffuse_albedo_spectrum>
                <rgb>
                    <rgb>0.8 0.8 0.698</rgb>
                    <gamma>2.2</gamma>
                </rgb>
            </diffuse_albedo_spectrum>
            <exponent>124.452</exponent>
        </phong>
    </material>
    <material>
        <name>Material27</name>
        <phong>
            <ior>1.018</ior>
            <diffuse_albedo_spectrum>
                <rgb>
                    <rgb>0.8 0.8 0.8</rgb>
                    <gamma>2.2</gamma>
                </rgb>
            </diffuse_albedo_spectrum>
            <exponent>124.452</exponent>
        </phong>
    </material>

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

Post by Kram1032 » Fri Sep 26, 2008 6:33 am

I see...
you seem to have used a diffuse...
use a specular, turn up red and green a bit (green just a tad) and use pretty shallow IoR and medium Exponent... (1.2 IoR and 1000 Exponent or so) That's a first idea :) - maybe even lower IoR... and if the bricks are supposed to look entirely new, therefore higher exponent.)

@PS: O.o Why didn't you use ONE material per lego-material? xD Looks pretty messy like that (the code)

User avatar
PureSpider
Posts: 1459
Joined: Tue Apr 08, 2008 9:37 am
Location: Karlsruhe, BW, Germany
Contact:

Post by PureSpider » Fri Sep 26, 2008 6:42 am

I did ;)
It's all the LEGO colors existing :D

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

Post by Kram1032 » Fri Sep 26, 2008 8:02 am

you know what? it's the diffuse light! That's the problem... those mats are phongs... You can't see that they are. They all look diffuse...

User avatar
zsouthboy
Posts: 1395
Joined: Fri Oct 13, 2006 5:12 am

Post by zsouthboy » Fri Sep 26, 2008 8:30 am

Image

I used phong with medium IOR and high exponent. I can look up the specifics when I get home.

Fencer
Posts: 12
Joined: Thu Apr 24, 2008 8:08 am

Post by Fencer » Fri Sep 26, 2008 9:41 am

first, thank you all.
@zsouthboy this would be nice
greetings and good night fencer

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

Post by Kram1032 » Sat Sep 27, 2008 2:02 am

Not seeing lines between one row of bricks and the other bugs my eyes somewhat xD
Though, that's a far better example, as light conditions make it easier for the eye to decide, whether the colour is correct or not :)

User avatar
pixie
Indigo 100
Posts: 2332
Joined: Sat Dec 29, 2007 4:54 am
Location: Away from paradise
3D Software: Cinema 4D
Contact:

Post by pixie » Sat Sep 27, 2008 3:46 am

What is a "medium" ior!? :P

Post Reply
13 posts • Page 1 of 1

Who is online

Users browsing this forum: No registered users and 70 guests