LXS volume problem[solved]

Discussion related to the LuxCore functionality, implementations and API.
Post Reply
User avatar
nigec
Posts: 141
Joined: Mon Mar 11, 2019 8:50 am

LXS volume problem[solved]

Post by nigec »

Me again :)
Luxcore appears to totally ignore volume in a LXS file, no volume effect shows and nothing volume related exports if I try and save the scene from luxcoreui
I've tried both the SU2LX exporter and the old Blender one to make sure its not exporter related
The render should look like:
untitled.Scene.00001.png
In Luxcoreui its just the lit cube
I wasn't really bothered about volume but I was hoping to show case how fast Luxcore was doing lasers compared to Thea.. I'm trying to get the Thea/SU users interested, and it needs to be Sketchup doing it not Blender
Attachments
volume_error.zip
(2.7 KiB) Downloaded 158 times
Last edited by nigec on Sun Apr 21, 2019 7:23 am, edited 1 time in total.
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: LXS volume problem

Post by Dade »

Yes, volumes are just ignored by LXS parser. I will check if the support can be added with a reasonable amount of work.
Support LuxCoreRender project with salts and bounties
User avatar
nigec
Posts: 141
Joined: Mon Mar 11, 2019 8:50 am

Re: LXS volume problem

Post by nigec »

Thanks for taking a look :)
It would be cool if you can
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: LXS volume problem

Post by Dade »

I have added the support for volumes to the LXS parser. Note:

1) the scattering value should be something like "0.006" instead of "0.6", it is too strong;

2) the volume is exported as "heterogeneous" even if the scattering value is constant (aka "homogeneous" volume). If you export the volume as homogeneous, the rendering will be an order of magnitude faster.
Support LuxCoreRender project with salts and bounties
User avatar
nigec
Posts: 141
Joined: Mon Mar 11, 2019 8:50 am

Re: LXS volume problem

Post by nigec »

Awesome, thank you :)
User avatar
nigec
Posts: 141
Joined: Mon Mar 11, 2019 8:50 am

Re: LXS volume problem

Post by nigec »

it works great, thanks again
Post Reply