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

Use this forum for general user support and related questions.
Forum rules
Please upload a testscene that allows developers to reproduce the problem, and attach some images.
Post Reply
juangea
Donor
Donor
Posts: 332
Joined: Thu Jan 02, 2020 6:23 pm

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

Post 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!
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

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

Post 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
Support LuxCoreRender project with salts and bounties
juangea
Donor
Donor
Posts: 332
Joined: Thu Jan 02, 2020 6:23 pm

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

Post 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.

:)
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

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

Post 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).
Support LuxCoreRender project with salts and bounties
juangea
Donor
Donor
Posts: 332
Joined: Thu Jan 02, 2020 6:23 pm

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

Post 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 :)
kintuX
Posts: 810
Joined: Wed Jan 10, 2018 2:37 am

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

Post 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
Post Reply