keppel opened this issue on Feb 13, 2014 · 8 posts
keppel posted Thu, 13 February 2014 at 6:01 AM
I have the render layer set up to render only the mirror and the objects. I have the Output set to RGBA and the "transparent" checkbox ticked in the Film panel.
In the picture attached the top image is the render from Blender, and the bottom picture is what I want to get.
Rendering in Blender 2.69 using Cycles with a glossy shader on the mirror.
My Renderosity Store
Virtual Furnishing
My Portfolio
Cybermonk posted Thu, 13 February 2014 at 1:36 PM
Dude I wish i could help ya. I'm trying to come to grips with cycles myself. If I come across something I'll let ya know.
____________________________________________________
"The true sign of intelligence is not knowledge but imagination".
Albert Einstein
heddheld posted Thu, 13 February 2014 at 2:04 PM
thought it would work with light paths
but not made what you want work !!
can do the cant see the "vampire"
but not the vampire and nothing else lol
maybe the compositing nodes will help with different render layers
keppel posted Thu, 13 February 2014 at 8:45 PM
The original photograph shows a mirror on the wardrobe door. When the virtual furniture is added with the Blender world colour set to the rooms paint colour the reflection that I get in the mirror matches the colour tone of the room but the reflected details of the actual room in the original photo are gone in the overlay. Having a transparent world colour in Blenders reflection renderlayer would save alot of editing and manipulation of the Blender render in Photoshop.
My Renderosity Store
Virtual Furnishing
My Portfolio
Touchwood posted Fri, 14 February 2014 at 7:49 AM
Not proficient by any means with Cycles but have you tried using a colour mask in the node setup to block out the world colour? I think I remember a tutorial by either Andrew Price at Blenderguru or Sebastian Konig at Blendercookie demonstrating the method.
keppel posted Fri, 14 February 2014 at 9:16 AM
Attached Link: Best Practices for Masking
Thanks for the tip Touchwood, it put me on the right path. I did a search for masking in the compositor and found the attached link which will prove helpful. It uses the difference, colour and distance nodes in the compositor to mask the selected colour.In my situation this method has its limitations as it is removing the colour post render. This means that if any of the objects being rendered in the mirror have the same colour as the world colour then those colours get removed as well. If I change the world colour to something that is different to the rendered objects in order to create a clean mask it leaves an incorrect colour tint on the rendered reflected objects.
Again thanks for the help.
My Renderosity Store
Virtual Furnishing
My Portfolio
Touchwood posted Sat, 15 February 2014 at 5:18 AM
Was thinking more of using a colour ramp node inside the compositor to create the alpha mask. I found an article in the wiki which may help.
keppel posted Sat, 15 February 2014 at 7:48 AM
Touchwood, thanks for the link. Off to do some reading and experimenting.
My Renderosity Store
Virtual Furnishing
My Portfolio