Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] I need help! => Topic started by: mvpetropolis on 2019-12-30, 19:07:29

Title: HDRI BIG TOO AT VIEWPORT
Post by: mvpetropolis on 2019-12-30, 19:07:29
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?
Title: Re: HDRI BIG TOO AT VIEWPORT
Post by: romullus on 2019-12-30, 21:26:16
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?
Title: Re: HDRI BIG TOO AT VIEWPORT
Post by: mvpetropolis on 2019-12-30, 23:58:47
the smaller the camera lens i use the smaller the better the hdri behaves in the scene why does this happen?
Title: Re: HDRI BIG TOO AT VIEWPORT
Post by: PROH on 2019-12-31, 02:18:42
Hi. Is the HDRi set to "Environment" and "Spherical"?

Otherwise wee need to see some pictures showing the problem.
Title: Re: HDRI BIG TOO AT VIEWPORT
Post by: romullus on 2019-12-31, 10:50:34
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.
Title: Re: HDRI BIG TOO AT VIEWPORT
Post by: mvpetropolis on 2019-12-31, 14:54:11
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
Title: Re: HDRI BIG TOO AT VIEWPORT
Post by: mvpetropolis on 2019-12-31, 15:10:04
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
Title: Re: HDRI BIG TOO AT VIEWPORT
Post by: romullus on 2019-12-31, 15:13:04
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-
Title: Re: HDRI BIG TOO AT VIEWPORT
Post by: pokoy on 2019-12-31, 17:24:29
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.