Author Topic: HDRI BIG TOO AT VIEWPORT  (Read 3224 times)

2019-12-30, 19:07:29

mvpetropolis

  • Active Users
  • **
  • Posts: 40
    • View Profile
I need some help guys, because my hdri appears so big in the viewport, it consequently affects shadows and reflections, for example I opened the same hdri in 3ds MAX and Sketchup and both appear with different size settings, in 3ds max it looks like it has an absurd zoom already in skt it appears correctly, what could be set wrong?

2019-12-30, 21:26:16
Reply #1

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 9278
  • Let's move this topic, shall we?
    • View Profile
    • My Models
If it's spherical HDRI, then it can't be too big or too small - it always fills whole sphere. Maybe it's just matter of difference in the viewing angle between two apps? Can you show some screenshots, how it looks in max and in sketchup?
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2019-12-30, 23:58:47
Reply #2

mvpetropolis

  • Active Users
  • **
  • Posts: 40
    • View Profile
the smaller the camera lens i use the smaller the better the hdri behaves in the scene why does this happen?

2019-12-31, 02:18:42
Reply #3

PROH

  • Active Users
  • **
  • Posts: 1219
    • View Profile
Hi. Is the HDRi set to "Environment" and "Spherical"?

Otherwise wee need to see some pictures showing the problem.

2019-12-31, 10:50:34
Reply #4

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 9278
  • Let's move this topic, shall we?
    • View Profile
    • My Models
the smaller the camera lens i use the smaller the better the hdri behaves in the scene why does this happen?

I think at this point, further discusion without examples, makes little sense, because from what you said, it looks like completely normal and expected behaviour.
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2019-12-31, 14:54:11
Reply #5

mvpetropolis

  • Active Users
  • **
  • Posts: 40
    • View Profile
Well let's go to the examples in practice, my question is as follows: In the first image I used a camera with a 15mm lens although this lens always distorts the background a bit it looks very nice and with a well-adjusted scale, the second I used a 36mm lens and moved the camera farther away from the car than in the first one, the background loses its full scale looking like it has a zoom despite the car's distance remaining similar to the first one, the big question is this, the images 3 and 4 were made in the sketchup which the big difference I noticed, the image 3 the car is closer to the camera and the image 4 farther but in both the background is still the same scale that in 3ds max does not happen, how do i make the background continue on the same scale as the camera lens independent sketchup i use

2019-12-31, 15:10:04
Reply #6

mvpetropolis

  • Active Users
  • **
  • Posts: 40
    • View Profile
I did one more test, rendered both in perspective without camera, one in 3ds max and another in sketchup notice that the background in skt looks smaller and in max it looks bigger, it looks like it fits better in skt what is intriguing me

2019-12-31, 15:13:04
Reply #7

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 9278
  • Let's move this topic, shall we?
    • View Profile
    • My Models
What you get in 3ds max, is completely normal and expected behaviour - if you zoom the camera, naturally it will see less of the enviroment. If you need enviroment to be constant, regardless of the camera settings, then you need to set its projection to screen. However keep in mind, that images with screen projection is not suited for lighting and will produce incorrect results. That's why there's enviroment overrides in Corona - you use spherical HDRI with spherical projection in enviroment for lighting and put another bitmap (usually rectilinear) with screen projection in direct visibility override. You can read more about that in these articles:
https://coronarenderer.freshdesk.com/support/solutions/articles/5000501978-how-to-set-up-hdri-environment-
https://coronarenderer.freshdesk.com/support/solutions/articles/5000515605-how-to-create-background-material-in-corona-
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2019-12-31, 17:24:29
Reply #8

pokoy

  • Active Users
  • **
  • Posts: 1988
    • View Profile
Increasing focal length will widen the field of view, you can see how it happens on a camera in Max directly, keep an eye on the fov parameter when changing focal length.
Of course, a greater fov means more of your surrounding is visible in the frame, it's hardly a problem in CoronaCam or Max, probably you're comparing with different camera settings.
For a proper test between apps, make sure to match the fov in both apps and render a frame with the same aspect ratio.
Or, match the focal width AND aperture size, and aspect ratio, too.