jozefvasko Posted May 13, 2013 Share Posted May 13, 2013 Hello, Im new to rendering with vraymtlwrapper and I want to create model with glass windows, but I have a problem. Behind model I have vrayplane like a wall of the house with vraymtlwrapper for masking model to photo but on glass windows I see this vraymtlwrapper color and I cant see background house through the windows. Everything else is OK, shadows, GI, only cant see through the windows. When I disable Visible in refraction in Vray parameters of vrayplane, I can see through the windows, and its what I want, but there is on shadows and GI on the wall. How can I render it only with shadows and GI on the wall of the background building but with transparent window glasses? Thanks for your reply Link to comment Share on other sites More sharing options...
cg_Butler Posted May 13, 2013 Share Posted May 13, 2013 I'd normally keep it a normal vray material but change the vray properties of it to matte -1.0 and tick affect shadows and alpha. Link to comment Share on other sites More sharing options...
jozefvasko Posted May 13, 2013 Author Share Posted May 13, 2013 (edited) Thanks for your reply, but the problem with refracted material of matte material color is still there Edited May 13, 2013 by jozefvasko Link to comment Share on other sites More sharing options...
cg_Butler Posted May 13, 2013 Share Posted May 13, 2013 If you've ticked it to be a matte object it shouldn't appear in the rgb channel. What does your alpha channel look like? It should be black and white, black where that object is. Save you image as a .tga or a file type you are used to using that will save an alpha channel. Then when you select your objects, all of the background gets cutout. If that's not working or confusing, if you upload your maxfile i will take a look for you. Link to comment Share on other sites More sharing options...
jozefvasko Posted May 13, 2013 Author Share Posted May 13, 2013 Andy, thanks for your reply.. My alpha channel looks like this And In attachment is my max file. Thanks a lot01.zip Link to comment Share on other sites More sharing options...
cg_Butler Posted May 13, 2013 Share Posted May 13, 2013 Hello. Looking at it quickly, although there are some missing maps, I think you can leave the mtlWrapper on as it's effectively doing the same as the vray properties, but put the alpha contribution on -1.0. Then on your glass material tick affect shadows in the refraction area and change the Affect channels to Color and Alpha in the refraction area too. Also, remove your reflection map and change the color the 250,250,250 and tick Fresnel reflections. I think in doing those things, you should then see through your glass and when you paste your render on to your background you will get the shadows.........if not, let me know. It should work though! https://dl.dropboxusercontent.com/u/137523/01_AndyButler.max Link to comment Share on other sites More sharing options...
jozefvasko Posted May 13, 2013 Author Share Posted May 13, 2013 Thanks a lot Andy, I did everything you told me, but result is almost same.. I cant see throught the windows. Aplha is now visible but only for front windows and I dont understand why Link to comment Share on other sites More sharing options...
cg_Butler Posted May 14, 2013 Share Posted May 14, 2013 Download my maxfile from the link. There must be something else that i did that i forgot to tell you to do as my render is different. I can see the rear wall and the shadows etc... Link to comment Share on other sites More sharing options...
jozefvasko Posted May 14, 2013 Author Share Posted May 14, 2013 hello, i was trying to open your file but I got error "File Open Failed... " and cant open the file. I have 3dsmax 2010 and vray 2.20 Link to comment Share on other sites More sharing options...
cg_Butler Posted May 14, 2013 Share Posted May 14, 2013 Ah yes ok. Try this link. I've saved it as a max 2010 file. :-) Any problems then let me know. https://dl.dropboxusercontent.com/u/137523/01_AndyButler2010.max Link to comment Share on other sites More sharing options...
jozefvasko Posted May 14, 2013 Author Share Posted May 14, 2013 Thanks a lot for your maxfile.. there was different setting. When in reflection for windows glass is selected Affect channels to Color + Alpha, then in alpha channel of rendered picture is only front wall of the model, then I switch it to Color only and everything is OK. Now I can select it and retouch it in photoshop. But still I dont understand, why refraction is still displaying mtl wrapper in windows. If you scale matted plane behind model to hide whole house on background glasses will display this mtl wrapper. Link to comment Share on other sites More sharing options...
cg_Butler Posted May 14, 2013 Share Posted May 14, 2013 In my file it does not appear. This is because I have also set it's vray properties to be a matte object...... Is that latest render of yours from my maxfile? If not, open mine and change the plane01 vray settings to match mine, or just merge it in. Link to comment Share on other sites More sharing options...
jozefvasko Posted May 14, 2013 Author Share Posted May 14, 2013 hmmm.. I dont know where is the problem, because this last picture was rendered from your file, where Plane01 is matte object with value -1. Whats your version of vray (I have 2.20.02)? Maybe its a problem of vray. Link to comment Share on other sites More sharing options...
cg_Butler Posted May 14, 2013 Share Posted May 14, 2013 Curious. Could you zip up the following files. IMG-0004.jpg, BasketballCourt_3k.hdr and sa802tx.jpg. I'm missing these so perhaps i need them to render your problem fully....Then I can figure it out. Here's my render though for reference. Link to comment Share on other sites More sharing options...
jozefvasko Posted May 14, 2013 Author Share Posted May 14, 2013 in attachment you can download zip with 2 pictures.. .HDR is not necessary and is too big thanks for your reply Andy.mtlwrapper.zip Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now