What is new in LuxCore API v2.0 ?

Discussion related to the Engine functionality, implementations and API.
User avatar
Dade
Developer
Posts: 1458
Joined: Mon Dec 04, 2017 8:36 pm

Re: What is new in LuxCore API v2.0?

Post by Dade » Tue Mar 27, 2018 9:54 am

neo2068 wrote:
Tue Mar 27, 2018 7:16 am
Dade wrote:
Mon Mar 26, 2018 10:04 pm
It is a lot faster and it works :lol:

I must admit I have still aliasing problem with sharp edges but there aren't usually a lot of sharp edges in most common heterogeneous volumes (i.e. smoke, etc.).

Just compile the latest sources and try to use an heterogeneous volume with density grid (btw, I added the OpenCL support for density grid texture too).
:lol: OpenCL support is really great. Thanks for that. I tried to implement that some time ago but only got frustrated as debugging the code was a nightmare.
It always is :roll: Anyway the winning trick was to store the density grid 3D data as a 2D image map (x projected on image x and y/z on image y). I had already in place the infrastructure to encode/transfer image maps on GPUs and everything worked flawless once I used this trick (I hadn't to write any additional code).
neo2068 wrote:
Tue Mar 27, 2018 7:16 am
Is there an automatic step size estimation for heterogeneous volumes?
No but the step size is now fixed (it was variable before) so if you want to render a 1 meter cube you know you are going to need a 5cm-20cm step size. It is not hard to setup once you know the step size in expressed in a real world unit.
neo2068 wrote:
Tue Mar 27, 2018 7:16 am
Aliasing was bad with the old code, too, and multiple scattering volumes wasn't as bright as rendered with other renderers. I have to try it. :D
Single scatter:
single.png
Multi-scattering :D
multi.png
It is also so much faster, multi-scattering at 9M samples/secs:
fast.jpg
Support LuxCoreRender project with salts and bounties

Odilkhan Yakubov
Posts: 27
Joined: Fri Jan 26, 2018 10:07 pm
Location: Tashkent, Uzbekistan

Re: What is new in LuxCore API v2.0?

Post by Odilkhan Yakubov » Tue Mar 27, 2018 1:45 pm

Is it possible to add some HD Cache or add the secondary engine like Corona renderer?
Allah bless us!

User avatar
Dade
Developer
Posts: 1458
Joined: Mon Dec 04, 2017 8:36 pm

Re: What is new in LuxCore API v2.0?

Post by Dade » Tue Mar 27, 2018 1:52 pm

Odilkhan Yakubov wrote:
Tue Mar 27, 2018 1:45 pm
Is it possible to add some HD Cache or add the secondary engine like Corona renderer?
What does Corana do ? Do they compose rendering by doing volume rendering in a separate step with a separate engine :?:

For HD cache, do you mean the Corona light cache ?
Support LuxCoreRender project with salts and bounties

User avatar
B.Y.O.B.
Developer
Posts: 1728
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: What is new in LuxCore API v2.0?

Post by B.Y.O.B. » Tue Mar 27, 2018 2:08 pm

Some engines use different integrators for primary/secondary bounces.
E.g. V-Ray: https://docs.chaosgroup.com/display/VRA ... Parameters

edit: their nomenclature is a bit weird, I think with "primary bounces" they mean the first indirect bounce, and with "secondary bounces" all following bounces.
Maybe this image shows it: https://docs.chaosgroup.com/display/VR2R/Brute+Force+GI
Support LuxCoreRender project with salts and bounties

Odilkhan Yakubov
Posts: 27
Joined: Fri Jan 26, 2018 10:07 pm
Location: Tashkent, Uzbekistan

Re: What is new in LuxCore API v2.0?

Post by Odilkhan Yakubov » Tue Mar 27, 2018 2:19 pm

Dade wrote:
Tue Mar 27, 2018 1:52 pm
Odilkhan Yakubov wrote:
Tue Mar 27, 2018 1:45 pm
Is it possible to add some HD Cache or add the secondary engine like Corona renderer?
What does Corana do ? Do they compose rendering by doing volume rendering in a separate step with a separate engine :?:

For HD cache, do you mean the Corona light cache ?
Seems like that, but just a little bit different
Allah bless us!

Odilkhan Yakubov
Posts: 27
Joined: Fri Jan 26, 2018 10:07 pm
Location: Tashkent, Uzbekistan

Re: What is new in LuxCore API v2.0?

Post by Odilkhan Yakubov » Tue Mar 27, 2018 2:20 pm

Is there planned bucket rendering not Progressive refine (like now, like Cycles)?
Allah bless us!

User avatar
Sharlybg
Supporting Users
Posts: 815
Joined: Mon Dec 04, 2017 10:11 pm
Location: Ivory Coast

Re: What is new in LuxCore API v2.0?

Post by Sharlybg » Tue Mar 27, 2018 2:24 pm

Odilkhan Yakubov wrote:
Tue Mar 27, 2018 2:20 pm
Is there planned bucket rendering not Progressive refine (like now, like Cycles)?
This is already available as Tile rendering. See option in render engine setting.
Support LuxCoreRender project with salts and bounties

Portfolio : https://www.behance.net/DRAVIA

User avatar
B.Y.O.B.
Developer
Posts: 1728
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: What is new in LuxCore API v2.0?

Post by B.Y.O.B. » Tue Mar 27, 2018 2:25 pm

Odilkhan Yakubov wrote:
Tue Mar 27, 2018 2:20 pm
Is there planned bucket rendering not Progressive refine (like now, like Cycles)?
It is already available (TILEPATH engine).
In BlendLuxCore, it is available in the render settings: Just enable the "Tiled" checkbox.
Attachments
scrn_2018-03-27_16-24-27.png
Support LuxCoreRender project with salts and bounties

Odilkhan Yakubov
Posts: 27
Joined: Fri Jan 26, 2018 10:07 pm
Location: Tashkent, Uzbekistan

Re: What is new in LuxCore API v2.0?

Post by Odilkhan Yakubov » Tue Mar 27, 2018 2:27 pm

Oh, its my mistake.
Allah bless us!

neo2068
Developer
Posts: 86
Joined: Tue Dec 05, 2017 6:06 pm

Re: What is new in LuxCore API v2.0?

Post by neo2068 » Tue Mar 27, 2018 8:53 pm

I like the new volume rendering. :D It is very fast and looks awesome.
PathOCL, multiple scattering
smoke_cornell3.png
i7 5820K, 32 GB RAM, NVIDIA Geforce GTX 1080 + GTX 780, Windows 10 64bit, Blender 2.79b
Support LuxCoreRender project with salts and bounties

Post Reply