Chaos Corona for 3ds Max > [Max] Tutorials & Guides

Workaround for hemispherical rendering

(1/3) > >>

borisquezadaa:
As Corona only have cilindrical and spherical for now i made this to bypass that limitation.

As guide a typical spherical image are something like this:


This kind of images Corona can handle but in the other hand
A hemispherical ligthprobe  is something like this:


This sadly... Corona can render yet.

But don't be afraid... we can do it in no time!... a great hemispherical ligthprobe image rendered in Corona (with some help).

JUST:

Render your scene using a CoronaCameraMod to obtain a 2:1 ratio image (twice the width as height)   and  save it in jpg, png (or hdri if you intend to correct it later).

Load that image as environment using VrayHdri map. Hide all your model and ligths and change renderer to Vray.

In Render Setup (F10)-> Vray-> Vray: Camera change camera type to Fish eye and check "autofit" dont forget to change your resolution to a Width=Height (1024x1024 by example) to obtain a fast 180° hemispherical panorama. (I think those are calle chromeballs).

This projections are used to ligth a sky domes or lighten a planetarium.

You can even take a step further and make an animation of it like some cool sky timelapses that hiperfocal design are showcasing.

As side note: if you render some hughe resolution, doing a full size render of the initial spherical panorama could can eat some RAM (and why to render some you dont need) a workaround for that would be using render región (available in VFB Settings, just change native Corona VFB to native 3DSMax and set a proper area of interest). This way you select the area of interest and render it and not the whole image.
Another posibility if your RAM is scarce  coul be using the same aproach of Render region but this time render a lot of small parts of the image to compose later in some image stitchin sowtware.

Hope this helps.

Resume:
Render a spherical 2:1 pano in Corona with CoronaCameraMod
Load the result as VrayHDRI
Hide absolutely all and  render with Vray fisheye camera type override (autofit).

And that's it... an awesome great fisheye render of your scene using Corona with a little help.

Note 1: A better way to do it is using the VrayDomeCamera with FOV=180. That produces a less distorted image.

racoonart:
Actually, the second picture is not a hemispherical panorama ;) . It's a Light probe and just another way of storing the full 360*180° info in a square image. You still have the full sphere not a hemisphere.
But instead of rendering things out, you can do all kinds of panoramic transformations in most hdr specific programs (I'm still using the good old Hdr shop)

borisquezadaa:
My mistake but i'm kind of miss here. It seems they differe in the way we put the "camera" being totally upwards for hemisferical and "horizontal" to ligth probes like those chromeballs used to ligth match locations?...

Romullus mentiones Hugin (free open source) to work with panos.

And it seems they distorted the image a little un the borders?...


racoonart:
Lightprobes(or better angular maps) , mirrored ball,  latitude/longitude or cube maps are all just different ways to represent spherical panoramas.
While Mirrored ball images are just a "bad" input format, due to the way they are made, the other formats represent a way to store the date with less distortions or better distribution of the resolution.

Mirrored Ball is bad because the borders are extremely distorted and cannot represent data in a useful way (actually, ideally there's always two mirrored ball hdris combined to 1 angular map or latitude/longitude)

Angular maps are a lot better for storing because data is represented with less distortions


All in all, it's always the same data just stored in a different format with different pros and cons.

borisquezadaa:
Well thats very informative.
So the fisheye lens produces a ligth probe it seems, i made some render test.

Best way to do is to use the DomeCamera with FOV =180 produces a way less distorted angular map.

Half sphere is painted to better check if really is a 180° image or not.


Navigation

[0] Message Index

[#] Next page

Go to full version