Author Topic: spherical cam mode issue  (Read 4214 times)

2015-06-01, 13:17:22

PROH

  • Active Users
  • **
  • Posts: 1219
    • View Profile
Hi. Can't make the camera render a full 360 panorama. But it doesn't render a full sphere, there seems to be missing a bit of the 360. Here's what I've done:

1) Created a free-camera (max-standard), and set lens to 35mm. The camera has no rotation on X & Y, but is rotated -45 degree on Z (to make the startup view correct).
2) Applied a CornonaCameraMod to this camera, and activated (checked) "Override: Spherical" in Projection Type. Nothing else changed.
3) Set renderoutput size to 1600 x 800 for testing purpose.

Any ideas what's wrong or missing?

BTW - Using Corona v1.00.02 and PanoramaExporter v0.3

2015-06-01, 13:21:50
Reply #1

racoonart

  • Active Users
  • **
  • Posts: 1446
    • View Profile
    • racoon-artworks
First of all...
1) don't change the tilt angle! You are not changing the "initial startup view", you're changing the axis of rotation!
2) that's fine
3) also fine

So, it should work the way you did it.
If you could post an image we may be more helpful ;)
Any sufficiently advanced bug is indistinguishable from a feature.

2015-06-01, 13:48:51
Reply #2

PROH

  • Active Users
  • **
  • Posts: 1219
    • View Profile
Hi DeadClown. The Z-rotation is in World-coordinates, so its not the tilt angle (?). I've attached the test image, so you can see whats wrong. I'll try to set Z rotation to 0, and check again if there should be something wrong with my spherical HDRi.

Really would like to make this work :)

2015-06-01, 13:56:56
Reply #3

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12710
  • Marcin
    • View Profile
1) don't change the tilt angle! You are not changing the "initial startup view", you're changing the axis of rotation!
He said he changed Z axis. It's not a mistake, right? (right??)
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2015-06-01, 13:59:47
Reply #4

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8779
  • Let's move this topic, shall we?
    • View Profile
    • My Models
Are you sure CamMod is set to spherical and not a cylindrical mode?
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2015-06-01, 14:08:15
Reply #5

racoonart

  • Active Users
  • **
  • Posts: 1446
    • View Profile
    • racoon-artworks
1) don't change the tilt angle! You are not changing the "initial startup view", you're changing the axis of rotation!
He said he changed Z axis. It's not a mistake, right? (right??)

Whoops, my bad! Yes, sure, Z is correct ;)
Any sufficiently advanced bug is indistinguishable from a feature.

2015-06-01, 14:10:23
Reply #6

PROH

  • Active Users
  • **
  • Posts: 1219
    • View Profile
Hi. So I checked the HDRi - nothing wrong. I set Z rotation to 0 (world coordinates) - nothing changed. Checked (again) if CoronaCameraMod was set to Spherical - yes it is!

So in the next test I made a spline-sphere centered around the camera (Blue lines are 0, 90, 180 and 270 degree, and red lines are 45, 135, 225 and 315 degree). As you can see in the attached render, there's clearly missing a bit of the panorama - about 60-70 degrees.

Any ideas?

2015-06-01, 14:12:54
Reply #7

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8779
  • Let's move this topic, shall we?
    • View Profile
    • My Models
Can you try this with newly created camera? Maybe yours was scaled or has some correction applied?
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2015-06-01, 14:17:38
Reply #8

PROH

  • Active Users
  • **
  • Posts: 1219
    • View Profile
Just did. Nothing changed. Still no full 360.

I'm using 3dsMaxDesign2014 with all SP's - any known issue regarding that?

2015-06-01, 14:25:48
Reply #9

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8779
  • Let's move this topic, shall we?
    • View Profile
    • My Models
Mine's exactly the same 2014 design sp5 and works just fine. Just tested it in latest build.

Does this behaviour happens in fresh scene? Maybe something is corrupted in your current scene?
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2015-06-01, 14:33:56
Reply #10

PROH

  • Active Users
  • **
  • Posts: 1219
    • View Profile
Tried restarting max, and fresh scene without any changes. But I might have found something: Tried to render both Spherical and Cylindrical and both are giving identical result. Not just regarding "cutting of", but exactly the same result.

I'm not using daily builds, so is this a bug in v1.00.02? Or should I try to uninstall and reinstall Corona?


Edit: I attached the scene, so anyone (romullus?) with 2014 can try to see if they get identical result - or maybe someone can see what's I've been doing wrong :)
« Last Edit: 2015-06-01, 14:46:56 by PROH »

2015-06-01, 14:58:56
Reply #11

PROH

  • Active Users
  • **
  • Posts: 1219
    • View Profile
OK. Restarted once again. Started fresh file once again. ANNNNND...... IT WORKS!

Everything is done exactly as before, but somehow it works now. Might be a weak point somewhere?

Thank you all for your help :)

2015-06-01, 14:59:54
Reply #12

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12710
  • Marcin
    • View Profile
Any chance this was a file created with an older version of Corona?
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2015-06-01, 15:07:54
Reply #13

PROH

  • Active Users
  • **
  • Posts: 1219
    • View Profile
Yes, the first file I believe was created in an older version, but the second one was not - so number 2 should have worked?

Anyhow, after both a max restart and a new fresh file, at least the last one (third) works :)


BTW - Thanks for moving this thread.