Author Topic: Panorama  (Read 5810 times)

2015-11-24, 10:50:52

erva

  • Active Users
  • **
  • Posts: 11
    • View Profile
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?

2015-11-24, 11:27:07
Reply #1

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12768
  • Marcin
    • View Profile
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...
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2015-11-24, 11:30:27
Reply #2

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8856
  • Let's move this topic, shall we?
    • View Profile
    • My Models
Is your panorama full spherical, i.e. 360x180? You can use Hugin, free panoramic software and convert your image from equirectangular to rectilinear projection.
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2015-11-24, 12:09:48
Reply #3

Nekrobul

  • Primary Certified Instructor
  • Active Users
  • ***
  • Posts: 1026
    • View Profile
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.
---------------------------------------------------------------
https://www.blackbellstudio.com/
https://www.behance.net/blackbell3d
CEO at "Blackbell Studio"

2015-11-24, 13:04:53
Reply #4

erva

  • Active Users
  • **
  • Posts: 11
    • View Profile
thanks. that's what i thought. so i'll try to straighten the photo and wrap and stretch the render in post.

2015-11-24, 15:48:31
Reply #5

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8856
  • Let's move this topic, shall we?
    • View Profile
    • My Models
I'll try to write small tutorial about integrating CG elements into spherical panoramas, when i will have more time. Stay tuned.
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2015-11-24, 20:38:49
Reply #6

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8856
  • Let's move this topic, shall we?
    • View Profile
    • My Models
Here's proof of concept. You can feed it to DeadClown's panorama exporter to watch it in more dimensional way.
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2015-11-30, 09:58:47
Reply #7

erva

  • Active Users
  • **
  • Posts: 11
    • View Profile
sweet, looking good. can't wait for Your tutorial

2015-11-30, 14:23:49
Reply #8

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8856
  • Let's move this topic, shall we?
    • View Profile
    • My Models
I hope it's not urgent, right now i'm a bit of busy - can't do tutorial :[
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2015-11-30, 14:28:38
Reply #9

Nekrobul

  • Primary Certified Instructor
  • Active Users
  • ***
  • Posts: 1026
    • View Profile
Romullus am i right that it can be achived using Shadowcatcher+panorama on background+spherical camera+ most important interactive render?
---------------------------------------------------------------
https://www.blackbellstudio.com/
https://www.behance.net/blackbell3d
CEO at "Blackbell Studio"

2015-11-30, 14:45:17
Reply #10

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8856
  • Let's move this topic, shall we?
    • View Profile
    • My Models
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.
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2015-11-30, 15:00:42
Reply #11

racoonart

  • Active Users
  • **
  • Posts: 1446
    • View Profile
    • racoon-artworks
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.
Any sufficiently advanced bug is indistinguishable from a feature.