Environment Map Experimentation

Announcements, requests and support regarding SkIndigo - the Sketchup / Indigo exporter.
Post Reply
12 posts • Page 1 of 1
User avatar
Frutiger
Posts: 122
Joined: Wed May 05, 2010 4:05 am
Location: Northern California

Environment Map Experimentation

Post by Frutiger » Thu Sep 15, 2011 9:02 am

Hey Guys,
I'm doing a deep dive on environment maps and I've finally made some decent progress. I thought I'd share it with you fellas incase you find this stuff interesting.

Here's the goal: I want to be able to walk out onto a future building site and shoot the panoramic photos for an EXR from the exact position the render will be taken from and then see how the render ends up looking like. Theoretically, it should map out the surrounding landscape and all site features accurately as long as everything is aligned correctly.

The first step is getting equipment. I'm using a Nikon D300, Nikon 10.5mm fisheye lens and a Manfrotto 303SPH tripod head. For software, I'm using Autopano Giga to do pretty much everything. Then of course, I'm going Skindigo --> Indigo for the final render.

Here's a successfully stitched and rendered EXR of my office that used a very straightforward workflow. All steps were automated. There was no step that involved writing some sort of custom script or manually changing each file. I would consider this to be a commercially viable workflow, requiring no labor of love to make it functional.

This particular EXR is incomplete, as I only took one row of photos at 20 degree intervals, but demonstrates the competence of the blending and matching.
VICTORY.jpg
You have no idea how happy I was when this actually worked.
If there's sufficient interest I'll post a more detailed tutorial on all that later. For now I'll focus on the windup to what I'm trying to make work now.

Here's a dropbox link to the .exr (80MB) from that render just incase you're into that kinda stuff. And also, here's a low-rez LDR preview:
OfficeFinal.jpg
Not perfect, but not bad!

In a few hours I'm going to head out to the jobsite to shoot the photos for a more sophisticated render that meshes in the proposed building and landscape. I'll keep you guys up to date on how it's going. Wish me luck!

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

Re: Environment Map Experimentation

Post by OnoSendai » Thu Sep 15, 2011 9:27 am

Wow, cool stuff!
You may be pleased to know that the next version of Indigo will load and process EXRs much faster (something like 10x faster)

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

Re: Environment Map Experimentation

Post by Pibuz » Fri Sep 16, 2011 9:15 pm

Sorry frutiger: I hardy understand what's your aim..

You want to build up your own EXR of an outdoor environment to be able to use that EXR in the visualization of the project you'll realize on that site?

User avatar
Frutiger
Posts: 122
Joined: Wed May 05, 2010 4:05 am
Location: Northern California

Re: Environment Map Experimentation

Post by Frutiger » Sat Sep 17, 2011 3:58 am

Yes, but more specifically, I'm going to go out to a site before construction has begun and create an environment map from the exact position that the render is going to be. So if I model the site correctly and rotate the Env Map into the right place, it'll allow me to create some renders that show off the view from the proposed building.

It's going to be tricky making sure that some trees aren't in the way, but it'll be a good experiment.

Did that make more sense?
Last edited by Frutiger on Sat Sep 17, 2011 4:28 am, edited 1 time in total.

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

Re: Environment Map Experimentation

Post by Pibuz » Sat Sep 17, 2011 4:22 am

Yes ok: now I get it. Thanks.

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

Re: Environment Map Experimentation

Post by cotty » Sat Sep 17, 2011 7:35 am

Frutiger wrote:I'll keep you guys up to date on how it's going. Wish me luck!
Thank you for sharing and good luck! :wink:
little gallery... http://unverzagt.biz/cottysgallery/

User avatar
Whaat
Developer
Posts: 1827
Joined: Fri Dec 22, 2006 6:15 am
Location: Canada
Contact:

Re: Environment Map Experimentation

Post by Whaat » Sat Sep 17, 2011 1:00 pm

I'm definitely interested in your process. Please keep this thread updated with your progress. I'm not sure what you mean by 'the entire process was automated'. Care to explain?

User avatar
Frutiger
Posts: 122
Joined: Wed May 05, 2010 4:05 am
Location: Northern California

Re: Environment Map Experimentation

Post by Frutiger » Sat Sep 17, 2011 1:34 pm

Whaat wrote:I'm not sure what you mean by 'the entire process was automated'. Care to explain?
Good question, a little context might help.

I've found that with panorama stitching software there inevitably comes a step where you have to manually convert all your files, or organize them, or manually add control points, manually stack them by exposure, etc. It gets to be frustrating and time consuming. Autopano automates the process without too much fussing and allows you to que up multiple files for stitching and blending, making it all relatively painless.

The first few times I tried to figure out HDR panorama stitching I ended up reading SIGGRAPH papers. This software allows you to bypass that whole mess.

User avatar
Bosseye
Posts: 312
Joined: Fri Jan 01, 2010 10:52 pm
Location: Bristol, UK

Re: Environment Map Experimentation

Post by Bosseye » Tue Sep 20, 2011 2:31 am

Thats all very cool - I'm interested to see how you get on.

User avatar
wojtek-w
Posts: 106
Joined: Fri Nov 06, 2009 5:21 am
Location: Poland
Contact:

Re: Environment Map Experimentation

Post by wojtek-w » Tue Sep 20, 2011 7:01 am

Bosseye wrote:Thats all very cool - I'm interested to see how you get on.
+1 !!!

User avatar
Frutiger
Posts: 122
Joined: Wed May 05, 2010 4:05 am
Location: Northern California

Re: Environment Map Experimentation

Post by Frutiger » Tue Sep 20, 2011 7:25 am

Here's some early results. I'd say this may turn out to be a workable method. I'll post up more specific steps later. This is just to show how it's going so far.

Here's a quick test of one of EXRs just to make sure it's working. I took five "camera" positions while I was at this site, this is the first of five.
EXRtest.jpg
Test of EXR
Alignment of the ENV map and model is a bit of a pain. The only method is guess and check, so there's alot of back and forth. It's worth noting that it's important you record the camera position while on the site. You'll need to place the sketchup camera in the exact same spot as where you were really standing on the site. That leaves rotation, which is where the guess and check comes into play.


Anyways, you end up with something that looks like this:
Camera1_test1.jpg
almost aligned!
Which is starting to look like something we can use. It's got the view correctly projected behind the proposed building. The building on the far left is an existing building and that's just a rough model of it. It was very useful for aligning the environment map.

The final step will probably be to merge it with a "sketch overlay" like this image:
Sketch_Camera1.jpg
Clients love this stuff.
I think photoreal is feasible, but it's not the goal for this presentation. We're shooting for an image like this, but with more site context:
Brewery_Comp3.jpg
Old Work
More modeling and texturing is going to be the next step. I'm going to try to cover up "bad projections" like that tree that's looming on the far left. The more photoreal model detail the better, but there's always an easy way out with this method: I can always just cover it up with the sketch overlay in the composite.

Enough of this jibba jabba, time to get back to work.

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

Re: Environment Map Experimentation

Post by StompinTom » Thu Sep 22, 2011 9:47 pm

Really cool technique and exciting to see how you develop it! Looks very useful.

Post Reply
12 posts • Page 1 of 1

Who is online

Users browsing this forum: DotBot [Bot] and 36 guests