Render matched photo together with model

Announcements, requests and support regarding SkIndigo - the Sketchup / Indigo exporter.
User avatar
lape
Posts: 241
Joined: Wed Feb 13, 2013 9:09 am
Location: Germany
Contact:

Render matched photo together with model

Post by lape » Sat Apr 06, 2013 3:26 am

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... :?:
Attachments
test_photomatch.jpg
24 hours isn't enough
http://www.werkraum3d.com

User avatar
OnoSendai
Developer
Posts: 6241
Joined: Sat May 20, 2006 6:16 pm
Location: Wellington, NZ
Contact:

Re: Render matched photo together with model

Post by OnoSendai » Sat Apr 06, 2013 3:46 am

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.

StompinTom
Indigo 100
Posts: 1828
Joined: Mon Sep 04, 2006 3:33 pm

Re: Render matched photo together with model

Post by StompinTom » Sat Apr 06, 2013 3:47 am

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.

StompinTom
Indigo 100
Posts: 1828
Joined: Mon Sep 04, 2006 3:33 pm

Re: Render matched photo together with model

Post by StompinTom » Sat Apr 06, 2013 4:02 am

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?

User avatar
OnoSendai
Developer
Posts: 6241
Joined: Sat May 20, 2006 6:16 pm
Location: Wellington, NZ
Contact:

Re: Render matched photo together with model

Post by OnoSendai » Sat Apr 06, 2013 4:03 am

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 :)

User avatar
Zom-B
1st Place 100
Posts: 4700
Joined: Tue Jul 04, 2006 4:18 pm
Location: ´'`\_(ò_Ó)_/´'`
Contact:

Re: Render matched photo together with model

Post by Zom-B » Sat Apr 06, 2013 4:36 am

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 :)
polygonmanufaktur.de

User avatar
lape
Posts: 241
Joined: Wed Feb 13, 2013 9:09 am
Location: Germany
Contact:

Re: Render matched photo together with model

Post by lape » Sat Apr 06, 2013 6:16 am

seems I need a workaround for now... :?
24 hours isn't enough
http://www.werkraum3d.com

User avatar
cotty
Posts: 314
Joined: Tue Aug 03, 2010 7:59 am
Location: Germany
Contact:

Re: Render matched photo together with model

Post by cotty » Sun Apr 07, 2013 9:26 am

The beginning of a search after a solution...
little gallery... http://unverzagt.biz/cottysgallery/

User avatar
lape
Posts: 241
Joined: Wed Feb 13, 2013 9:09 am
Location: Germany
Contact:

Re: Render matched photo together with model

Post by lape » Sun Apr 07, 2013 7:32 pm

cotty wrote:The beginning of a search after a solution...
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.
Attachments
photomatch01.jpg
photomatch02.jpg
photomatch03.jpg
24 hours isn't enough
http://www.werkraum3d.com

User avatar
Pibuz
1st Place 100
Posts: 2646
Joined: Tue Dec 11, 2007 7:58 am
Location: Padua, Italy
3D Software: SketchUp

Re: Render matched photo together with model

Post by Pibuz » Wed Apr 10, 2013 9:51 am

Tricky indeed but it kinda works! :lol:

User avatar
lape
Posts: 241
Joined: Wed Feb 13, 2013 9:09 am
Location: Germany
Contact:

Re: Render matched photo together with model

Post by lape » Tue Apr 16, 2013 1:52 am

Here are the final shots, exterior and interior. Comments welcome! :mrgreen:
Attachments
915_kita.jpg
914_kita.jpg
24 hours isn't enough
http://www.werkraum3d.com

Voytech
Posts: 236
Joined: Thu Oct 06, 2011 8:57 am

Re: Render matched photo together with model

Post by Voytech » Tue Apr 16, 2013 4:48 am

Looks great! Love the green grass next to snow effect ;)

User avatar
CTZn
Posts: 7240
Joined: Thu Nov 16, 2006 4:34 pm
Location: Paris, France

Re: Render matched photo together with model

Post by CTZn » Wed Apr 17, 2013 12:40 pm

nicely done lape.
obsolete asset

User avatar
lape
Posts: 241
Joined: Wed Feb 13, 2013 9:09 am
Location: Germany
Contact:

Re: Render matched photo together with model

Post by lape » Wed Apr 17, 2013 9:32 pm

Thank you Voytech and CTZn! :D
24 hours isn't enough
http://www.werkraum3d.com

JK
Posts: 61
Joined: Fri Dec 23, 2011 8:59 pm

Re: Render matched photo together with model

Post by JK » Thu Apr 18, 2013 11:59 am

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!

Post Reply
16 posts

Who is online

Users browsing this forum: No registered users and 130 guests