Page 1 of 2
Render matched photo together with model
Posted: Sat Apr 06, 2013 3:26 am
by lape
I'm still struggeling with photomatch.
What I did so far:
-modeled my scene with sketchup
-used photomatch to get the right perspective
-hit render and merge rendered perspective and real photo with photoeditor, deleted unessesary pixel from render
Attached is the quick result (yet there are no materials added).
The problem is: there are glass panes, and through these panes I would like to show the background picture.
Is it possible to render the scene together with the background picture? Unfortunately Indigo does not recognize this photo attached to sketchup...

Re: Render matched photo together with model
Posted: Sat Apr 06, 2013 3:46 am
by OnoSendai
I think the best solution for this problem is for rays that go through glass like in your picture to be 'background rays', for the purpose of the 'render foreground alpha' mode.
I'll try and get this working soon.
Re: Render matched photo together with model
Posted: Sat Apr 06, 2013 3:47 am
by StompinTom
lape wrote:I'm still struggeling with photomatch.
What I did so far:
-modeled my scene with sketchup
-used photomatch to get the right perspective
-hit render and merge rendered perspective and real photo with photoeditor, deleted unessesary pixel from render
Attached is the quick result (yet there are no materials added).
The problem is: there are glass panes, and through these panes I would like to show the background picture.
Is it possible to render the scene together with the background picture? Unfortunately Indigo does not recognize this photo attached to sketchup...

Why don't you just Photoshop it? There's a glaring white border between the rendered bit and the background image that should be cleaned up anyway. Just replace the black with the background photo and Photoshop a slight reflection or sheen onto it. There already seems to be a subtle reflection, so just take that bit of the background and 'Screen' or 'Add' it onto the glass, maybe at only 80% opacity or such, should do fine.
Re: Render matched photo together with model
Posted: Sat Apr 06, 2013 4:02 am
by StompinTom
OnoSendai wrote:I think the best solution for this problem is for rays that go through glass like in your picture to be 'background rays', for the purpose of the 'render foreground alpha' mode.
I'll try and get this working soon.
Always the problem with alpha maps and glass materials. Is it possible to keep the reflections while making the transmission transparent?
Re: Render matched photo together with model
Posted: Sat Apr 06, 2013 4:03 am
by OnoSendai
StompinTom wrote:OnoSendai wrote:I think the best solution for this problem is for rays that go through glass like in your picture to be 'background rays', for the purpose of the 'render foreground alpha' mode.
I'll try and get this working soon.
Always the problem with alpha maps and glass materials. Is it possible to keep the reflections while making the transmission transparent?
Yeah, should be, with enough hacks

Re: Render matched photo together with model
Posted: Sat Apr 06, 2013 4:36 am
by Zom-B
OnoSendai wrote:Yeah, should be, with enough hacks

A feature that would push alpha rendering even further, and be really useful!
I would LOVE to see that in the 3.6 branch

Re: Render matched photo together with model
Posted: Sat Apr 06, 2013 6:16 am
by lape
seems I need a workaround for now...

Re: Render matched photo together with model
Posted: Sun Apr 07, 2013 9:26 am
by cotty
Re: Render matched photo together with model
Posted: Sun Apr 07, 2013 7:32 pm
by lape
For now I have a workaround for my problem:
I place a plane in sketchup behind my areas where I want the photo to be seen through the glass planes.
After I placed the plane I use the projection tool of sketchup to place the photo as a texture on the plane. This is not perfect because when I render the lighting on the texture is different, but here I have to use postprocess or adjust the brightnes of the texture.
Quite time consuming, but the only solution that works for me now.
Re: Render matched photo together with model
Posted: Wed Apr 10, 2013 9:51 am
by Pibuz
Tricky indeed but it kinda works!

Re: Render matched photo together with model
Posted: Tue Apr 16, 2013 1:52 am
by lape
Here are the final shots, exterior and interior. Comments welcome!

Re: Render matched photo together with model
Posted: Tue Apr 16, 2013 4:48 am
by Voytech
Looks great! Love the green grass next to snow effect

Re: Render matched photo together with model
Posted: Wed Apr 17, 2013 12:40 pm
by CTZn
nicely done lape.
Re: Render matched photo together with model
Posted: Wed Apr 17, 2013 9:32 pm
by lape
Thank you Voytech and CTZn!

Re: Render matched photo together with model
Posted: Thu Apr 18, 2013 11:59 am
by JK
Totally kewl mate but the shadow casting exactly on the line of the floor(i mean the tile of the texture line) makes it look like "too perfect". Try to dash it or smth

on more unperfect angle. That sticky poster on the windows is it a phisically based division or is it supposted to look like a stick on a glass(sorry if im not using the right term)? Dont get me wrong I really do totally and wesomely like what is there, but I just got "that feeling"

.
Cheers!