Page 1 of 1

Making a material from picture

Posted: Fri Aug 29, 2008 8:09 pm
by daedalus
Hello, I have a simple question:

I want to render a line drawing with a pattern that I created, on a glass facade of a building in 3d.

I though that the easier way to do that would be to create a perforated material, using my pattern as a base.
I know you need for that to create an image with black lines and white background, and a inverted one with the lines in white and the background in black.

Unfortunately my knowledge of perforated materials stops here.
How do I do to construct the material itself in the material editor?
So far I've been using ready made materials like the "perforated metal screen" from the MXM gallery, and then replacing the image files by my ones. Nevertheless I can't get rid of the metalic effect and so on, so I would really like to learn how to create the material from scratch.
I'm sure it's very easy thing to do.

Could you please help?


thank you very much.

J :?:

Posted: Fri Aug 29, 2008 11:14 pm
by KurtS
I'm not sure I understand the problem - do you want a perforated material, or a material that is glass with a pattern on it?

Posted: Mon Sep 01, 2008 10:34 am
by Brett Morgan
I would suggest downloading a few perforated materials from the mxm website there are a lot of metals, have a close look at them and dissect how they are made and what makes them work, there are plenty on there, then ask again here if you get stuck anywhere. I made my first tree this way just replaced the maps with my own, and went from there.

Cheers

Brett

Posted: Mon Sep 01, 2008 12:34 pm
by JTB
A picture of what you need would help....
Is it easy to find something similar ?

Posted: Tue Sep 02, 2008 12:17 pm
by daedalus
The picture is a line drawing of russian toys, made in ilustrator.
It's just plain, thick lines.

I've already tried what you said brett, and used the perforated metal materials and replaced the maps with my pattern. The problem is that I can't get rid of the metalic effect. I just want plain white lines, not a shiny metalic finish.

Basically what I am trying to get is a glass with a pattern of white lines on it.
I don't need to do a complicated glass material. It's probably easier to just have a simple "perforated" material made with my pattern, and I then put a simple plain of glass behind it.

Please advice.
I'm really stuck with this.

thkx

J

Posted: Tue Sep 02, 2008 4:14 pm
by Bubbaloo
Take your line drawing and make sure there are only 2 colors; 0 and 255, 0 for the lines and 255 for the background. Create an mxm with 2 layers. On the first layer place your line drawing map in the layer weight slot. This will be your glass layer. Place the same map in the second layer's weight map slot and invert the map. This will be the "lines" layer. Set this layer according to what kind of surface you want it to be.

Hope that helps.

Posted: Tue Sep 02, 2008 4:48 pm
by daedalus
thank you,
i seem to be headed in the right direction.

I created the material with two bsdf layers and placed the drawing map in the weight slot.
My question is now: how to change the glass layer properties so that it becomes glass? right now it's grey opaque - I haven't changed any of the settings.

thank you very much

J

Posted: Tue Sep 02, 2008 4:55 pm
by Bubbaloo
I would start with a glass material from the wizard, then add your second layer.

Posted: Tue Sep 02, 2008 5:14 pm
by daedalus
thanks, it worked.

what about if I wanted not to have the glass but only the perforated pattern?

what values do I have to change in the glass layer to make it disappear?

thanks again

J

Posted: Tue Sep 02, 2008 5:20 pm
by Bubbaloo
Set transmittance to white, nd to 1.

Posted: Tue Sep 02, 2008 5:31 pm
by daedalus
great...

problem solved

cheers from london

J