A baking test scene

Discussion related to the LuxCore functionality, implementations and API.
epilectrolytics
Donor
Donor
Posts: 790
Joined: Thu Oct 04, 2018 6:06 am

Re: A baking test scene

Post by epilectrolytics »

I remember there is also a light map option?
This should be great for render speedup with less bias than indirect cache.
Except from gltf export there could be a normal render result (from bakecpu engine) that can be composed/denoised like any other render for reuse in production rendering.
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: A baking test scene

Post by Dade »

u3dreal wrote: Sun Aug 15, 2021 10:32 am You can find the gltf exported from luxcoreui here
http://q3de.com/wp-content/uploads/2021/08/testbake.zip
It is working fine here: unpack the .zip, drag the unpacked directory on https://gltf-viewer.donmccurdy.com/ and it works :?:

scr.jpg

The https://github.khronos.org/glTF-Validator/ also works fine (it is only complaining of not begin able to find the not uploaded .png).

I need a description of how to replicate your problem.

Yes, the denoiser work, you can find an example of usage with light maps here: https://github.com/LuxCoreRender/LuxCor ... ke.cfg#L39

Note: you need also to use the BAKEMAP_MARGIN image pipeline plugin to avoid the annoying border on the edge of objects.

Note 2: you have also to be careful on how to configure image pipeline gamma correction because you may end with gamma correction applied two times when exporting in glTF.
Support LuxCoreRender project with salts and bounties
User avatar
u3dreal
Developer
Developer
Posts: 560
Joined: Tue Dec 03, 2019 3:23 pm
Location: Ulm
Contact:

Re: A baking test scene

Post by u3dreal »

Strange. Import into Blender or BabylonJS does not work ...

Could you try it with Blender ? That is where i got the error..

Also here in babylonjs sandbox there is a json error when i drop the folder there.
https://sandbox.babylonjs.com/
In gltf viewer it works for me as well. Strange that treejs works and babylon doesn't.

I think it is just some format of the text file since Blender throws an

binascii.Error: Incorrect padding

It is the same in macos and windows so i doubt it is a big/lttle endian problem.
So you should get an error when inporting to Blender 2.93.2
check out my newest stuff http://q3de.com/research/
portfolio http://q3de.com/


MB Pro i7 2.3Ghz, IrisPro 1.5GB, GTX750m 2GB - BigSur
Xeon X5650@4Ghz, RX 5700 - BigSur , Windows 10, Ubuntu 20.04
User avatar
u3dreal
Developer
Developer
Posts: 560
Joined: Tue Dec 03, 2019 3:23 pm
Location: Ulm
Contact:

Re: A baking test scene

Post by u3dreal »

check out my newest stuff http://q3de.com/research/
portfolio http://q3de.com/


MB Pro i7 2.3Ghz, IrisPro 1.5GB, GTX750m 2GB - BigSur
Xeon X5650@4Ghz, RX 5700 - BigSur , Windows 10, Ubuntu 20.04
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: A baking test scene

Post by Dade »

I added the work around and it should have fixed the problem. The Blender import now works.
Support LuxCoreRender project with salts and bounties
User avatar
u3dreal
Developer
Developer
Posts: 560
Joined: Tue Dec 03, 2019 3:23 pm
Location: Ulm
Contact:

Re: A baking test scene

Post by u3dreal »

Exellent :!:
check out my newest stuff http://q3de.com/research/
portfolio http://q3de.com/


MB Pro i7 2.3Ghz, IrisPro 1.5GB, GTX750m 2GB - BigSur
Xeon X5650@4Ghz, RX 5700 - BigSur , Windows 10, Ubuntu 20.04
Post Reply