Page 1 of 1

Does LuxCore have a cubic camera to render to a 360 cube map?

Posted: Tue Jan 21, 2020 9:47 am
by juangea
So that's the question.

We are going to render some 360`s and we could do that with separated cameras, but it would be much more efficient to render 360 pictures to a cubic render.
Does lux support it somehow?

Thanks!

Re: Does LuxCore have a cubic camera to render to a 360 cube map?

Posted: Tue Jan 21, 2020 9:53 am
by Dade
juangea wrote: Tue Jan 21, 2020 9:47 am We are going to render some 360`s and we could do that with separated cameras, but it would be much more efficient to render 360 pictures to a cubic render.
Does lux support it somehow?
We have a Environment Camera (a 360 panoramic camera):

c360.jpg

Re: Does LuxCore have a cubic camera to render to a 360 cube map?

Posted: Tue Jan 21, 2020 10:54 am
by juangea
No, I mean something along this lines:
cubemap-ok.png
The problem with panoramic 360 is that there is a lof of low quality information at the poles.

:)

Re: Does LuxCore have a cubic camera to render to a 360 cube map?

Posted: Tue Jan 21, 2020 11:13 am
by Dade
juangea wrote: Tue Jan 21, 2020 10:54 am No, I mean something along this lines:

cubemap-ok.png

The problem with panoramic 360 is that there is a lof of low quality information at the poles.
We don't have a cube one and it would be easy to add one but there may be some drawback with the Denoiser. It is likely to go mad with seams when going across different cube projection planes. At the end of the day, it is probably faster to do separate renderings (may be there is an add on to automate the renderings).

Re: Does LuxCore have a cubic camera to render to a 360 cube map?

Posted: Tue Jan 21, 2020 11:17 am
by juangea
Yes, the denoiser can be problematic up to some point, but manual denoising in comp may be way easier than having to deal with seams, which is the bigger problem to render this as separated cameras :)

If I get approval for this project I’ll create a bounty for this :)

Re: Does LuxCore have a cubic camera to render to a 360 cube map?

Posted: Tue Jan 21, 2020 10:56 pm
by kintuX
Dade wrote: Tue Jan 21, 2020 9:53 am
juangea wrote: Tue Jan 21, 2020 9:47 am We are going to render some 360`s and we could do that with separated cameras, but it would be much more efficient to render 360 pictures to a cubic render.
Does lux support it somehow?
We have a Environment Camera (a 360 panoramic camera):
And then convert it with 'Panorama to Cubemap' online tool in an instant...
PanoramaToCubemap-online.jpg
Here's even the source code: https://github.com/jaxry/panorama-to-cubemap ;)

PS.
& This one also saves as .hdr
online: https://matheowis.github.io/HDRI-to-CubeMap/
source code: https://github.com/matheowis/HDRI-to-CubeMap