How can I use External UI with Luxcore in Blender?

Use this forum for general user support and related questions.
Post Reply
Honeyradiance
Posts: 2
Joined: Wed May 22, 2019 9:55 am

How can I use External UI with Luxcore in Blender?

Post by Honeyradiance » Wed May 22, 2019 10:03 am

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: 2770
Joined: Mon Dec 04, 2017 8:36 pm

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

Post by Dade » Wed May 22, 2019 10:19 am

Support LuxCoreRender project with salts and bounties

Fox
Posts: 269
Joined: Sat Mar 31, 2018 11:17 am

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

Post by Fox » Wed May 22, 2019 10:38 am

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

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

Post by Honeyradiance » Thu May 23, 2019 12:52 am

Thanks for your help! But I'm using Linux.

User avatar
nigec
Posts: 140
Joined: Mon Mar 11, 2019 8:50 am

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

Post by nigec » Thu May 23, 2019 8:01 am

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