Tim Saunders Posted November 16, 2015 Share Posted November 16, 2015 I'm not sure if these are some issues that have come up in the last couple releases of v-ray, but I don't ever remember having the issues in the past. When rendering an interior scene, I would like to replace the background in post. I have had best luck by rendering the scene with a black background, and saving as a png. However, for some reason, it isn't actually rendering with black background unless I turn off GI environment, but then the lighting quality is lacking. If I uncheck reflection/refraction environment I get the results in the alpha that I want, but there is no reflection of the environment on my floor and other objects in the scene. GI environment ON / Reflection/refraction environment ON: GI environment ON / Reflection/refraction environment OFF: Even the second option with the r/r environment turned off is not saving the reflection in the alpha. This has never been a problem in the past, but I haven't had projects that have this view/condition in a long time, so I'm not sure what I'm missing to get this to render properly. Any suggestions would be great. Link to comment Share on other sites More sharing options...
Francisco Penaloza Posted November 16, 2015 Share Posted November 16, 2015 What version of V Ray are you using? what type of lighting are you using in your scene? If you are using V Ray sun/Sky it is just simple as, set your 3D Max environment to black then move the V Ray sky to the GI environment and Reflection/refraction environment overwrite in V Ray panel. If you are using a dome light, then just check invisible, if you are in V Ray 3 you can also check/un check affect Alpha. Link to comment Share on other sites More sharing options...
Tim Saunders Posted November 16, 2015 Author Share Posted November 16, 2015 Thanks for the reply Francisco. I am using 3.20.03. I did all that before, and it isn't rendering the background black. Link to comment Share on other sites More sharing options...
Francisco Penaloza Posted November 16, 2015 Share Posted November 16, 2015 are you using portals??? they should be hidden too. try debug what light is doing what, turn on and off lights rendering each time to see what light is affecting that window area, because what I mentioned should work. Link to comment Share on other sites More sharing options...
Tim Saunders Posted November 17, 2015 Author Share Posted November 17, 2015 I have determined the problem is in the glass. I moved one of the pieces of glass outside about a foot.Now I'm just trouble shooting things to figure out what is causing it to be white any time an environment is involved with the reflection. Link to comment Share on other sites More sharing options...
Francisco Penaloza Posted November 17, 2015 Share Posted November 17, 2015 I forgot to mentioned you need to check refraction environment too. Do not put anything there just leave the black color. Link to comment Share on other sites More sharing options...
Tim Saunders Posted November 17, 2015 Author Share Posted November 17, 2015 (edited) Weird, that made the glass render properly, but the glass isn't allowing the environment in for reflection on the inside of the glass. Look at the floor. Below is a reference just so you can see where the glass is positioned. Only the one pane is moved from the door. Edited November 17, 2015 by Timothy Saunders Link to comment Share on other sites More sharing options...
Tim Saunders Posted November 18, 2015 Author Share Posted November 18, 2015 After hours of trying every setting I can think of, I have been unsuccessful at figuring out this glass issue. To sum up my needs: 1. black background, so I can replace the background) 2. have reflection saved in the alpha in a rendered png 3. have environment effects apparent in the reflections (floor particularly) If anyone has a spare moment to download my file, I would love it if someone could take a look and let me know what I'm missing. Like I said, I have done this may times in the past, but I haven;t had a similar scene pop up for well over a year, so I'm not sure if there is a new setting I need to be aware of, or what. Here is the scene I have made available. Link to comment Share on other sites More sharing options...
Francisco Penaloza Posted November 18, 2015 Share Posted November 18, 2015 I am pretty busy here, so I'll seat and wait for your answer Juraj, but. even though I totally agree with you about it, I don't have the same problem than Tim is having, I get alpha, reflections no problems. Unless of course I am missing something on his workflow. I don't think your 40 minutes were wasted if that will help several other people Link to comment Share on other sites More sharing options...
RyderSK Posted November 18, 2015 Share Posted November 18, 2015 (edited) That wasn't it :- ( I give up, I didn't use Vray for a year at the moment. But it works as should with simple invisible Domelight. (btw Tim, the .zip package didn't include the specular map from floor for me, so straight away people won't get reflections in any setup because it's only driven by map) Ugh, the same behaviour is in Corona too when I converted the scene. Going to Ask Ondra... Edited November 18, 2015 by RyderSK Link to comment Share on other sites More sharing options...
Tim Saunders Posted November 18, 2015 Author Share Posted November 18, 2015 Thanks for the heads up. I added the texture to the .zip. So is my only solution to use an invisible domelight? Link to comment Share on other sites More sharing options...
RyderSK Posted November 18, 2015 Share Posted November 18, 2015 I remember this stuff working normally in both render engines, I've no idea why it now doesn't in either :- D I am honestly confused and chatting up to Ondra (corona's developer) right now. Link to comment Share on other sites More sharing options...
Tim Saunders Posted November 18, 2015 Author Share Posted November 18, 2015 Cool. Let me know if you come up with any solutions. I have posted it on chaos group with no reply, but we'll see. Link to comment Share on other sites More sharing options...
RyderSK Posted November 18, 2015 Share Posted November 18, 2015 (edited) Ondra explained me it's because of the last interaction the ray goes through, which is refraction that becomes reflection then. Why I never noticed it before or why it's designed like this (obviously in both render engines)... Outside of my solution with invisible Domelight, other solution is changing to thin glass and thus avoiding refraction. Tested and works in both Vray and Corona. 1)Corona: Simply check "Thin" in Material, you can keep original volume geometry. Then simply do Visibility Override, not Refraction Override. 2)Vray: Apply Glass material without IOR in Refraction slot to preferably thin geometry and do simple refraction override. The material needs "LOCK" unchecked next to IOR. It's important the glass still has fresnel 1.6 in reflection, but not in refraction. Of course, this solution is visually identical, because you can't see any refraction in glass plane anyway if we're not doing caustics. See attached render : (the left glass has more reflection because I kept original geometry and thin glass thus reflect twice in there) Edited November 18, 2015 by RyderSK Link to comment Share on other sites More sharing options...
Francisco Penaloza Posted November 19, 2015 Share Posted November 19, 2015 (edited) well it took me a wile to understand... any ways, pretty clever solution Juraj. I was about to offer the render per passes solution too, VRay GI (Diffuse+RawGI) Reflection, refraction, glossiness. then you still get the clean alpha and everything else without the weird edges problems. Edited November 19, 2015 by fco3d 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