Page 1 of 2

Doubts about glass materials

Posted: Tue Jun 29, 2010 11:32 am
by kubo
Hi there, I've seen Proupin's Frosted Glass (help me mate!), and as hard as I've tried I haven't been abled to replicate it with an specular material and I've had to use a glossy + opacity. So I would like to know if any of you have done a frosted like glass or even better a laminated glass with a PVB film http://www.cricursa.com/segur/prinprodu ... erTip1=207. My approach with laminated has been creating a realistic model, 2 solid 6mm glass meshes with a "plane" inside with the PVB with an opacity mask. I'm afraid the results have been quite bad, adding lots of fireflyes and unexpected black areas.
I don't seem able to make "white" glass, if I use white for reflection and transmission I get a clear glass, If I lower the transmission to grey or thru a floattexture the glass goes darker. I'm a little thick atm, so bear with me.
Thanks

Re: Doubts about glass materials

Posted: Tue Jun 29, 2010 2:46 pm
by sam75
"I've seen Proupin's Frosted Glass"

where ?

Image

something like this ?

Re: Doubts about glass materials

Posted: Tue Jun 29, 2010 3:32 pm
by kubo
Proupin's http://www.refractivesoftware.com/forum ... f=6&t=1773
Yours looks good too, if you don't mind sharing your setup I would be thankful, but I would like more a PVB film without the noise and almost white but with some transparency. I'm certain there is something I'm missing, but can't put my finger on it. Basically I would like to make a white or better mask controled white glass.
Thanks

Re: Doubts about glass materials

Posted: Tue Jun 29, 2010 3:51 pm
by sam75
kubo wrote:Proupin's http://www.refractivesoftware.com/forum ... f=6&t=1773
Yours looks good too, if you don't mind sharing your setup I would be thankful, but I would like more a PVB film without the noise and almost white but with some transparency. I'm certain there is something I'm missing, but can't put my finger on it. Basically I would like to make a white or better mask controled white glass.
Thanks
you make your texture in photoshop and put it in the transmittance channel of your specular material, black no transparency and white for transparent

so black and white as mask if you want a white glass and if you want a colored glass just replace the white in your texture by this color.

Re: Doubts about glass materials

Posted: Tue Jun 29, 2010 4:52 pm
by kubo
thanks, I'll try that later and post feed back.

Re: Doubts about glass materials

Posted: Tue Jun 29, 2010 5:29 pm
by sam75
I am not sure this is what you are looking for, do you have some refs of the type of glass you want ?

Re: Doubts about glass materials

Posted: Tue Jun 29, 2010 6:41 pm
by kubo

Re: Doubts about glass materials

Posted: Tue Jun 29, 2010 7:28 pm
by sam75
Here a test

Re: Doubts about glass materials

Posted: Tue Jun 29, 2010 9:15 pm
by Proupin
Yeah, I think it is weird that transmittance is hooked to the tone of the glass material... as soon as you lower the transmittance it begins to get darker... (I think a pinch of opacity is needed for this...)

Oh yes btw, the tests I'm doing I have done the stencil with geometry (no opacity texture), is that an option in your project?

Re: Doubts about glass materials

Posted: Tue Jun 29, 2010 9:26 pm
by kubo
Thanks a lot mate, not only for the time to anwser but also taking the time to make a test scene.
That's what I was looking for, the one you've made is a frosted glass (I'll keep it in my head for future reference), I needed one with a noisless film so using yours as a base I've changed the film material from specular to diffuse and that was just it, perfect, thanks a lot, you've solved my problem.
Also at first I was getting lots of fireflies, the bump map was set to 1 which can produce fireflies like there is no tomorrow, I've lowered to 0.1 or so, it still looks good but the images are free from those dammed fireflies.
Now the funny thing I can't figure out is why depending on the angle is totally specular and doesn't behave correctly you can see the different angles in the images, also on the back side no matter the angle everything looks good.
I've included the variant of the last image back in the pack.
Thanks for all the time, and for giving me a great solution.
Edit: @ Proupin, nope, more polygons are out of the question I need to save some memory for my hated trees, of which I might need several hundred copies... without instances is going to be a blast.... I might be doing 2 passes... don't know yet