How can I use External UI with Luxcore in Blender?

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
Honeyradiance
Posts: 6
Joined: Wed May 22, 2019 9:55 am

How can I use External UI with Luxcore in Blender?

Post by Honeyradiance »

With the latest BlendLuxCore 2.1, I would like to be able to export to an external LuxCoreRender UI. I downloaded both LuxCoreRender 2.1 itself AND the Blender plugin, but these seem to be separate animals. Nothing about "Path to Luxrender anymore."

The reason why I want to use an external UI: Because then I can pause the render, stop the render and start up later, save the FLM to disk, resume it later, etc. I really liked this functionality in 1.x. How can I export Blender files to an external UI?
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: How can I use External UI with Luxcore in Blender?

Post by Dade »

Support LuxCoreRender project with salts and bounties
Fox
Posts: 437
Joined: Sat Mar 31, 2018 11:17 am

Re: How can I use External UI with Luxcore in Blender?

Post by Fox »

In the exporter panel find the "only write luxcore scene", there from Binary go to Text.
Select folder where to export just under only write luxcore scene.

Then hit render.

The exporting is finished when you see text "exported to" and under that Peak Memory usage.

Resuming from film does not work. You can only resume from rsm file.
After exporting scene from blender, find the file render.cfg. The file looks nasty in Windows, open it with WordPad and hit save, there you get line endings. Now you can go and open the file with notepad. In render.cfg add this lines (period is in seconds 3600 is 1 hour):

Code: Select all

screen.tool.type = IMAGE_VIEW
periodicsave.resumerendering.filename = resume.rsm
periodicsave.resumerendering.period = 3600
resumerendering.filesafe = 1
periodicsave.film.filename = "film.flm"
periodicsave.film.period = 3600
film.safesave = 1
periodicsave.film.outputs.period = 3600
film.outputs.safesave = 1
Honeyradiance
Posts: 6
Joined: Wed May 22, 2019 9:55 am

Re: How can I use External UI with Luxcore in Blender?

Post by Honeyradiance »

Thanks for your help! But I'm using Linux.
User avatar
nigec
Posts: 141
Joined: Mon Mar 11, 2019 8:50 am

Re: How can I use External UI with Luxcore in Blender?

Post by nigec »

it doesn't matter the cfg file is cross platform, any text editor should be fine
if you've downloaded Standalone release v2.1 there is an application called luxcoreui
I'd test the export from Blender first and see how it works :)
Post Reply