Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] I need help! => Topic started by: erva on 2015-11-24, 10:50:52

Title: Panorama
Post by: erva on 2015-11-24, 10:50:52
I took a pano(panoramic) photo with my phone, and need to make a visuaization - set the new building in this photo. Problem is - the photo is distorted because it's panoramic. And now i don't know to render the building to match the photo. If the lines are straight then i use match perspective, but this is a different situation.
Any insights?
Title: Re: Panorama
Post by: maru on 2015-11-24, 11:27:07
Hi, I think "panoramic photo" is too broad term. Is it full 180x180 panorama? Or just a standard "turn around" 180 panorama with cropped top and bottom? You can render 360 shots in Corona by enabling spherical override in Corona camera modifier, but it still won't be easy to match it. I would probably just render the house and manually transform it in PS...
Title: Re: Panorama
Post by: romullus on 2015-11-24, 11:30:27
Is your panorama full spherical, i.e. 360x180? You can use Hugin, free panoramic software and convert your image from equirectangular to rectilinear projection.
Title: Re: Panorama
Post by: Nekrobul on 2015-11-24, 12:09:48
You could try to straightern the image using lightroom.

But trying to fit in something in disorted images like fisheye\spherical\hemispherical panoramas is the worst case scenario wich requeres a hell lot of postwork.
Title: Re: Panorama
Post by: erva on 2015-11-24, 13:04:53
thanks. that's what i thought. so i'll try to straighten the photo and wrap and stretch the render in post.
Title: Re: Panorama
Post by: romullus on 2015-11-24, 15:48:31
I'll try to write small tutorial about integrating CG elements into spherical panoramas, when i will have more time. Stay tuned.
Title: Re: Panorama
Post by: romullus on 2015-11-24, 20:38:49
Here's proof of concept. You can feed it to DeadClown's panorama exporter to watch it in more dimensional way.
Title: Re: Panorama
Post by: erva on 2015-11-30, 09:58:47
sweet, looking good. can't wait for Your tutorial
Title: Re: Panorama
Post by: romullus on 2015-11-30, 14:23:49
I hope it's not urgent, right now i'm a bit of busy - can't do tutorial :[
Title: Re: Panorama
Post by: Nekrobul on 2015-11-30, 14:28:38
Romullus am i right that it can be achived using Shadowcatcher+panorama on background+spherical camera+ most important interactive render?
Title: Re: Panorama
Post by: romullus on 2015-11-30, 14:45:17
Yes it can. On my example i did it in unnecessary more complicated way, but your described way is more preferable, because each transformation significantly degrades image quality, which is undesirable, of course.

Anyway i did some more tests later that day i posted aforementioned example and found some strange perspective dismatches, which i was unable to get rid of, so i'll need to investigate further before writing any tutorials.
Title: Re: Panorama
Post by: racoonart on 2015-11-30, 15:00:42
I once had 2 360x180° panoramas of a chinese metropolis where we had to rebuild the downtown skyscrapers around the free construction sites in those images. Easiest method was to estimate the height (panos made by a drone), create two cameras in 2 viewports, set each panorama as background image in the according VPs, build a couple of boxes and planes for reference and simply move the cameras until everything aligns perfectly. It's actually a lot easier than matching normal photographs since you don't have to care about focal length and angles - only position.