Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] I need help! => Topic started by: krassihg on 2019-01-20, 15:56:57

Title: cube map 360 maximum resolution
Post by: krassihg on 2019-01-20, 15:56:57
Hi all,
I am trying to render cube map 360 for a VR viewing. I wonder what is the maximum resolution that I can afford?
I am using Intel I-9 processor and 64 Gig RAM. The scene seems pretty heavy, 50 million polygons.
Also, is there a way to render each of the cubic map sections separately? instead of 1x 12 image to render 1x1 each section?
Title: Re: cube map 360 maximum resolution
Post by: sprayer on 2019-01-20, 17:22:06
Why you rendering  cube map? You may render equidistant projections and convert to cube map later in panorama software, but still do not know that for, i only convert between  cube and spherical image for editing in photoshop only.
Anyway you can try to render via panorama exporter, it rendering every side separate
(https://imagizer.imageshack.com/img924/5232/nFBWGj.jpg)

Also there is great algorithms for upscaling images what you may try to use and there is no visible artifacts and blur, Topaz A.I. Gigapixel for example or other new algorithms
Title: Re: cube map 360 maximum resolution
Post by: krassihg on 2019-01-21, 15:00:40
Spherical 360 doesn't give me the option for stereo. When I try it, it stacks the two images one over other vertically, instead of horizontally.

Cube map 360 works OK for stereo, but I need more resolution. The highest I could do so far is 2000x 24000 ( 1:12 for stereo), but I need a sharper image.

As per panorama exporter, for some reason every time I start the Panorama exporter from utilities, the 3D max crashes, so I gave up.

Any suggestions are welcome.
Title: Re: cube map 360 maximum resolution
Post by: sprayer on 2019-01-21, 15:15:01
I think it crashing because you using corona camera so it should be a bug, i am still using phys camera and no problem so far, try with phys camera. Also stereo image you may render via two cameras as separate renders and stitch it in photoshop. Stereo image it's just two parallel cameras
Title: Re: cube map 360 maximum resolution
Post by: krassihg on 2019-01-21, 15:54:15
That's a good idea, sprayer, I will try two parallel cameras. Thanks!
Title: Re: cube map 360 maximum resolution
Post by: Erald on 2019-01-21, 16:15:38
If you render a cubemap, the max output you should do is related to the device you are going to look the rendering at.
You should match the vertical pixel resolution of the display, 1 pixel in the render = 1 pixel in the screen. If you go higher it is an overkill, and you won't see the difference anyway as the display wont be able to reproduce it.

For example:
Oculus Rift display is 2160 x 1200. That means the vertical resolution should not exceed 1200px. Final output :1200 x 14400 for cubemap 1:12 ratio
Oculus Go  display is 2560 x 1440  That means the vertical resolution should not exceed 1440px. Final output :1440 x 17280 for cubemap 1:12 ratio
Gear VR / Samsung display x1440: That means the vertical resolution should not exceed 1440px. Final output :1440 x 17280 for cubemap 1:12 ratio

Hope this helps.
Title: Re: cube map 360 maximum resolution
Post by: krassihg on 2019-01-21, 16:35:57
Thanks, Erald, that makes sense. So, I guess 2560x 1440 is my target.
Title: Re: cube map 360 maximum resolution
Post by: mferster on 2019-01-21, 18:35:08
Spherical 360 doesn't give me the option for stereo. When I try it, it stacks the two images one over other vertically, instead of horizontally.

Why not just crop and stitch the spherical 360 image so the two images are horizontally oriented rather than vertical? You could even make an action in photoshop that does it on a click of a button if you have to do alot of them? I have found cube maps to have way more issues in panoramas than spherical images.
Title: Re: cube map 360 maximum resolution
Post by: romullus on 2019-01-21, 19:48:40
I would strongly suggest not to touch 3ds max panorama exporter. That thing is ancient and outputs horribly degraded image. If you don't want/can't use Corona camera's cubic projection, then simple old trick with 6 cameras, with 90 degrees angle each, will do much better job than panorama exporter. Although i'm not sure if that would work with VR setup.

Regarding the maximum resolution - AFAIK there's no hard limit on that, appart from your system RAM. If you need higher resolution than your machine can handle, then you can try render to strips via backburner.
Title: Re: cube map 360 maximum resolution
Post by: Frood on 2019-01-21, 20:21:12
then simple old trick with 6 cameras

One camera animated over 6 frames -> one single click submission to BB :]


Good Luck




Title: Re: cube map 360 maximum resolution
Post by: romullus on 2019-01-21, 21:07:52
Ah yes, that's even better. I wonder why i never came up to this idea by myself? :]