johnharrison Posted April 16, 2013 Share Posted April 16, 2013 (edited) Hi. I know this have been discussed several times but after A LOT of googling on the topic I find myself no wiser. Say you want to render an arch viz image with a hdri map, and replace the background in photoshop with a better suited image. I have found this problematic as there are white outlines when the alpha is applied in compositioning. I use 3ds Max, vray, photoshop and I usually render to .tif files. Does anyone have any solution? Edited April 16, 2013 by johnharrison Link to comment Share on other sites More sharing options...
Francisco Penaloza Posted April 16, 2013 Share Posted April 16, 2013 Hi, in photoshop you select your layer, then in the top menu Layer-> Matting-> defringe, you can adjust the pixel size but usually 1 or 2 pix will do the trick Other way is using remove black matte or white matte, but defringe does a good verage of both so that should be your new best friend. Cheers. Fco. Link to comment Share on other sites More sharing options...
Chris MacDonald Posted April 16, 2013 Share Posted April 16, 2013 I was going to say Defringe too. Link to comment Share on other sites More sharing options...
johnharrison Posted April 16, 2013 Author Share Posted April 16, 2013 Hi, thanks but I've tried those before and they rarely seem to work. Especially defringe is sketchy, seemingly stretching the pixels vertically. See image attachment. Link to comment Share on other sites More sharing options...
notamondayfan Posted April 16, 2013 Share Posted April 16, 2013 When you render your images, is the HDR visible, or is the background black? Ideally you should render the background black for compositing. Dean Link to comment Share on other sites More sharing options...
John Dollus Posted April 16, 2013 Share Posted April 16, 2013 In Pshop, create a layer mask using the alpha. Right click over the mask and select 'refine mask'. Link to comment Share on other sites More sharing options...
johnharrison Posted April 16, 2013 Author Share Posted April 16, 2013 (edited) EDIT: Both defringe, which turned out with quite horrible edges, and remove black/white matting seemed to work properly when first applying the alpha to the image. When you render your images, is the HDR visible, or is the background black? Ideally you should render the background black for compositing. Dean I usually, if a backplate replacement is intended, render with a black background, yes. John Dollus; That didn't seem to work very good. Which settings do you usually shift around with? Edited April 16, 2013 by johnharrison Link to comment Share on other sites More sharing options...
John Dollus Posted April 16, 2013 Share Posted April 16, 2013 shift edge in a negative amount works like defringe but with more control and allows for non destructive refinement since you don't have to actually apply the mask to the layer. decontaminate colors can also help with background color artifacts. It also works well for painting in varying amounts of refinement in situations like tree leaves or railings. defringe/remove matte is fast and easy but it can be heavy handed sometimes and is a destructive process since it has to be repeated if the layer updates. here's a good intro to how to use it: http://www.adobepress.com/articles/article.asp?p=1950633&seqNum=4 Link to comment Share on other sites More sharing options...
johnharrison Posted April 16, 2013 Author Share Posted April 16, 2013 Thanks for the tips, John. Although I believe it can be very effective in alot of situations, I found it to be "damaging" to my scene as it made the curtains who are somewhat transparent, very transparent. (See curtains in post 1) Link to comment Share on other sites More sharing options...
johannestiner Posted April 17, 2013 Share Posted April 17, 2013 Save as 32bit exr and choose transparency instead of alpha when importing the image to photoshop is the only way i have found to work without having to do any work. If that is not something you want to do then render your image with the hdr or similar as background, if you dont want the background to affect the light and reflection just use the environment override and set it to black. You will still get halo but it wont be visible since your using the same or similar hdr as background. You can also tweak the alpha with the mask options or blurring the mask and use the level adjustment. Link to comment Share on other sites More sharing options...
johnharrison Posted April 17, 2013 Author Share Posted April 17, 2013 Thank you (Tack så mycket ) Johannes. I'll try this. Is saving to .exr files a common practice? As far as I've understood, alot of people use tiffs when saving their renders. Link to comment Share on other sites More sharing options...
johannestiner Posted April 17, 2013 Share Posted April 17, 2013 Exr is becoming the standard, or it is the standard, this is at least what i think and exr is pretty sweet since you can have the passes in one file and deep compositing (maybe the deep comp work in other file extensions) You can try and save the tiff in 32bit and see if it works, i have just tried with exr. Link to comment Share on other sites More sharing options...
johnharrison Posted April 18, 2013 Author Share Posted April 18, 2013 (edited) Ok, I've been looking into the EXR file format, and it's still very confusing. I say still as it's not the first time I have done so, and I gave it up back then. I was wondering if you could perhaps write a little guide on saving the files in max and opening them in photoshop, and other common issues for a first time user? Do I use ProEXR from fnord? And do I use ProEXR or ProEXR EZ? I dont understand the difference, and it seems the EZ version is the only one with the option of importing the exr with transparency instead of alpha as you stated in a previous post. Also have a look at my attached image. Im thinking I might aswell export as 16 bit as photoshop dont really support 32 and I usually wont need the extra information per pixel? Also; do you save the render as an RAW file, and then specify it as exr or do you save as split render? ( both in the vray frame buffer tab) Edited April 18, 2013 by johnharrison 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