Luxcore Standalone bug

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
User avatar
Sharlybg
Donor
Donor
Posts: 3101
Joined: Mon Dec 04, 2017 10:11 pm
Location: Ivory Coast

Luxcore Standalone bug

Post by Sharlybg »

hi !
I'm encountering a critical error from Luxcore satndalone App.

Code: Select all

LuxCoreUI v2.4 (LuxCore demo: http://www.luxcorerender.org)
[LuxCore][8.547] Configuration:
[LuxCore][8.547]   path.pathdepth.total = "7"
[LuxCore][8.547]   path.pathdepth.diffuse = "5"
[LuxCore][8.547]   path.pathdepth.glossy = "5"
[LuxCore][8.547]   path.pathdepth.specular = "6"
[LuxCore][8.547]   path.hybridbackforward.enable = "0"
[LuxCore][8.547]   path.hybridbackforward.partition = "0.80000000000000004"
[LuxCore][8.547]   path.hybridbackforward.glossinessthreshold = "0.048999998718500137"
[LuxCore][8.547]   film.noiseestimation.warmup = "8"
[LuxCore][8.547]   film.noiseestimation.step = "32"
[LuxCore][8.547]   sampler.sobol.adaptive.strength = "0.89999997615814209"
[LuxCore][8.547]   sampler.sobol.bucketsize = "16"
[LuxCore][8.547]   sampler.sobol.tilesize = "16"
[LuxCore][8.547]   sampler.sobol.supersampling = "1"
[LuxCore][8.547]   sampler.sobol.overlapping = "1"
[LuxCore][8.547]   renderengine.type = "PATHCPU"
[LuxCore][8.547]   sampler.type = "SOBOL"
[LuxCore][8.547]   film.width = "1920"
[LuxCore][8.547]   film.height = "1080"
[LuxCore][8.547]   film.filter.type = "BLACKMANHARRIS"
[LuxCore][8.547]   film.filter.width = "1.5"
[LuxCore][8.547]   lightstrategy.type = "LOG_POWER"
[LuxCore][8.547]   scene.epsilon.min = "9.9999997473787516e-06"
[LuxCore][8.547]   scene.epsilon.max = "0.10000000149011612"
[LuxCore][8.547]   film.opencl.enable = "1"
[LuxCore][8.547]   film.opencl.device = "0"
[LuxCore][8.547]   path.forceblackbackground.enable = "0"
[LuxCore][8.547]   filesaver.format = "TXT"
[LuxCore][8.547]   filesaver.renderengine.type = "PATHCPU"
[LuxCore][8.547]   renderengine.seed = "1"
[LuxCore][8.547]   batch.haltspp = "0"
[LuxCore][8.547]   batch.halttime = "0"
[LuxCore][8.547]   film.imagepipelines.000.0.type = "NOP"
[LuxCore][8.547]   film.imagepipelines.000.1.type = "TONEMAP_LINEAR"
[LuxCore][8.547]   film.imagepipelines.000.1.scale = "1"
[LuxCore][8.547]   film.imagepipelines.000.2.type = "GAMMA_CORRECTION"
[LuxCore][8.547]   film.imagepipelines.000.2.value = "2.2000000000000002"
[LuxCore][8.547]   film.imagepipelines.000.radiancescales.0.enabled = "1"
[LuxCore][8.547]   film.imagepipelines.000.radiancescales.0.globalscale = "1"
[LuxCore][8.547]   film.imagepipelines.000.radiancescales.0.rgbscale = "1" "1" "1"
[LuxCore][8.562]   film.outputs.0.type = "RGB_IMAGEPIPELINE"
[LuxCore][8.562]   film.outputs.0.index = "0"
[LuxCore][8.562]   film.outputs.0.filename = "RGB_IMAGEPIPELINE_0.png"
[LuxCore][8.562]   scene.file = "scene.scn"
[LuxCore][8.562] File Name Resolver Configuration:
[LuxCore][8.562]   .
[LuxCore][8.562]   C:/Users/Blender/Desktop/MOVIE HOME/Felixrender_box/Fleix_Expor_cfg_scn/Untitled_LuxCore/00001
[SDL][8.562] Reading scene: scene.scn
[SDL][8.562] Material definition: Material1562132477432
RenderConfig loading error:
bad lexical cast: source type value could not be interpreted as target
File Download : It is the blender default cube scene and lux default setting no change.
Untitled_LuxCore.zip
(2.69 KiB) Downloaded 140 times
Support LuxCoreRender project with salts and bounties

Portfolio : https://www.behance.net/DRAVIA
bartek_zgo
Posts: 116
Joined: Mon Oct 26, 2020 11:42 am

Re: Luxcore Standalone bug

Post by bartek_zgo »

Hi there!
This is a generic error. Just export any scene from blander with LuxCore File Saver. Than open it with LuxCore standalone.
The error is connected to format of
scene.objects.15621331150160.id = 1,326,487,202
I think the color id is in wrong format. Could you remove this bug from blender plugin.
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: Luxcore Standalone bug

Post by B.Y.O.B. »

This problem is fixed in v2.5dev, as far as I know: https://github.com/LuxCoreRender/LuxCor ... -698854609
User avatar
Sharlybg
Donor
Donor
Posts: 3101
Joined: Mon Dec 04, 2017 10:11 pm
Location: Ivory Coast

Re: Luxcore Standalone bug

Post by Sharlybg »

B.Y.O.B. wrote: Wed Nov 04, 2020 1:16 pm This problem is fixed in v2.5dev, as far as I know: https://github.com/LuxCoreRender/LuxCor ... -698854609
This one isn't working with lastest standalone build wich is crashing :

Download:
Test_LuxCore.zip
For some reason i don't know luxstandalone refuse some geometry or crash with some other.
Support LuxCoreRender project with salts and bounties

Portfolio : https://www.behance.net/DRAVIA
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: Luxcore Standalone bug

Post by B.Y.O.B. »

I can reproduce it on Windows 10.
luxcoreui just closes, there's not even an error message in the console.

Code: Select all

C:\Users\Simon>"C:\Users\Simon\Projects\BlendLuxCore\bin\luxcoreui.exe"
LuxCoreUI v2.5alpha0 (LuxCore demo: http://www.luxcorerender.org)
[LuxCore][3.578] Configuration:
[LuxCore][3.578]   path.pathdepth.total = "13"
[LuxCore][3.578]   path.pathdepth.diffuse = "129"
[LuxCore][3.578]   path.pathdepth.glossy = "129"
[LuxCore][3.578]   path.pathdepth.specular = "128"
[LuxCore][3.578]   path.hybridbackforward.enable = "0"
[LuxCore][3.578]   path.hybridbackforward.partition = "0.80000000000000004"
[LuxCore][3.578]   path.hybridbackforward.glossinessthreshold = "0.048999998718500137"
[LuxCore][3.578]   film.noiseestimation.warmup = "8"
[LuxCore][3.578]   film.noiseestimation.step = "32"
[LuxCore][3.578]   sampler.sobol.adaptive.strength = "0.89999997615814209"
[LuxCore][3.578]   sampler.sobol.bucketsize = "16"
[LuxCore][3.578]   sampler.sobol.tilesize = "16"
[LuxCore][3.578]   sampler.sobol.supersampling = "1"
[LuxCore][3.578]   sampler.sobol.overlapping = "1"
[LuxCore][3.578]   renderengine.type = "PATHCPU"
[LuxCore][3.578]   sampler.type = "SOBOL"
[LuxCore][3.578]   film.width = "540"
[LuxCore][3.578]   film.height = "540"
[LuxCore][3.578]   film.filter.type = "BLACKMANHARRIS"
[LuxCore][3.578]   film.filter.width = "1.5"
[LuxCore][3.578]   lightstrategy.type = "LOG_POWER"
[LuxCore][3.578]   scene.epsilon.min = "9.9999997473787516e-06"
[LuxCore][3.578]   scene.epsilon.max = "0.10000000149011612"
[LuxCore][3.578]   film.opencl.enable = "1"
[LuxCore][3.578]   film.opencl.device = "0"
[LuxCore][3.578]   path.clamping.variance.maxvalue = "200"
[LuxCore][3.578]   path.forceblackbackground.enable = "0"
[LuxCore][3.578]   filesaver.format = "TXT"
[LuxCore][3.578]   filesaver.renderengine.type = "PATHCPU"
[LuxCore][3.578]   renderengine.seed = "1"
[LuxCore][3.578]   batch.haltspp = "0"
[LuxCore][3.578]   batch.halttime = "38"
[LuxCore][3.578]   film.imagepipelines.000.0.type = "NOP"
[LuxCore][3.578]   film.imagepipelines.000.1.type = "TONEMAP_LUXLINEAR"
[LuxCore][3.578]   film.imagepipelines.000.1.fstop = "8"
[LuxCore][3.578]   film.imagepipelines.000.1.exposure = "0.10000000149011612"
[LuxCore][3.578]   film.imagepipelines.000.1.sensitivity = "500"
[LuxCore][3.578]   film.imagepipelines.000.2.type = "GAMMA_CORRECTION"
[LuxCore][3.578]   film.imagepipelines.000.2.value = "2.2000000000000002"
[LuxCore][3.578]   film.imagepipelines.000.radiancescales.0.enabled = "1"
[LuxCore][3.578]   film.imagepipelines.000.radiancescales.0.globalscale = "1"
[LuxCore][3.578]   film.imagepipelines.000.radiancescales.0.rgbscale = "1" "1" "1"
[LuxCore][3.578]   film.outputs.0.type = "RGB_IMAGEPIPELINE"
[LuxCore][3.578]   film.outputs.0.index = "0"
[LuxCore][3.578]   film.outputs.0.filename = "RGB_IMAGEPIPELINE_0.png"
[LuxCore][3.578]   scene.file = "scene.scn"
[LuxCore][3.594] File Name Resolver Configuration:
[LuxCore][3.594]   .
[LuxCore][3.594]   C:/Users/Simon/Downloads/00001
[SDL][3.594] Reading scene: scene.scn
[SDL][3.594] Define ImageMap: NamedObject
[SDL][3.594] Texture definition: 1270130508472Color
[SDL][3.594] Material definition: Blanc1269477358760
[SDL][3.594] Material definition: EMITTER1269478359672
[SDL][3.594] Material definition: Green1269478360728
[SDL][3.594] Material definition: RED1269478364248
[SDL][3.594] Material definition: Ball1269477365096
[SDL][3.594] Camera type: perspective
[SDL][3.594] Camera position: Point[0, -3.45093, 1]
[SDL][3.594] Camera target: Point[0, 16.5491, 1]
[SDL][3.594] Camera clipping plane disabled
[SDL][3.594] The 12700522002481 object is a light sources with 2 triangles

C:\Users\Simon>
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: Luxcore Standalone bug

Post by Dade »

B.Y.O.B. wrote: Wed Nov 04, 2020 2:17 pm I can reproduce it on Windows 10.
luxcoreui just closes, there's not even an error message in the console.

Code: Select all

C:\Users\Simon>"C:\Users\Simon\Projects\BlendLuxCore\bin\luxcoreui.exe"
LuxCoreUI v2.5alpha0 (LuxCore demo: http://www.luxcorerender.org)
[LuxCore][3.578] Configuration:
[LuxCore][3.578]   path.pathdepth.total = "13"
[LuxCore][3.578]   path.pathdepth.diffuse = "129"
[LuxCore][3.578]   path.pathdepth.glossy = "129"
[LuxCore][3.578]   path.pathdepth.specular = "128"
[LuxCore][3.578]   path.hybridbackforward.enable = "0"
[LuxCore][3.578]   path.hybridbackforward.partition = "0.80000000000000004"
[LuxCore][3.578]   path.hybridbackforward.glossinessthreshold = "0.048999998718500137"
[LuxCore][3.578]   film.noiseestimation.warmup = "8"
[LuxCore][3.578]   film.noiseestimation.step = "32"
[LuxCore][3.578]   sampler.sobol.adaptive.strength = "0.89999997615814209"
[LuxCore][3.578]   sampler.sobol.bucketsize = "16"
[LuxCore][3.578]   sampler.sobol.tilesize = "16"
[LuxCore][3.578]   sampler.sobol.supersampling = "1"
[LuxCore][3.578]   sampler.sobol.overlapping = "1"
[LuxCore][3.578]   renderengine.type = "PATHCPU"
[LuxCore][3.578]   sampler.type = "SOBOL"
[LuxCore][3.578]   film.width = "540"
[LuxCore][3.578]   film.height = "540"
[LuxCore][3.578]   film.filter.type = "BLACKMANHARRIS"
[LuxCore][3.578]   film.filter.width = "1.5"
[LuxCore][3.578]   lightstrategy.type = "LOG_POWER"
[LuxCore][3.578]   scene.epsilon.min = "9.9999997473787516e-06"
[LuxCore][3.578]   scene.epsilon.max = "0.10000000149011612"
[LuxCore][3.578]   film.opencl.enable = "1"
[LuxCore][3.578]   film.opencl.device = "0"
[LuxCore][3.578]   path.clamping.variance.maxvalue = "200"
[LuxCore][3.578]   path.forceblackbackground.enable = "0"
[LuxCore][3.578]   filesaver.format = "TXT"
[LuxCore][3.578]   filesaver.renderengine.type = "PATHCPU"
[LuxCore][3.578]   renderengine.seed = "1"
[LuxCore][3.578]   batch.haltspp = "0"
[LuxCore][3.578]   batch.halttime = "38"
[LuxCore][3.578]   film.imagepipelines.000.0.type = "NOP"
[LuxCore][3.578]   film.imagepipelines.000.1.type = "TONEMAP_LUXLINEAR"
[LuxCore][3.578]   film.imagepipelines.000.1.fstop = "8"
[LuxCore][3.578]   film.imagepipelines.000.1.exposure = "0.10000000149011612"
[LuxCore][3.578]   film.imagepipelines.000.1.sensitivity = "500"
[LuxCore][3.578]   film.imagepipelines.000.2.type = "GAMMA_CORRECTION"
[LuxCore][3.578]   film.imagepipelines.000.2.value = "2.2000000000000002"
[LuxCore][3.578]   film.imagepipelines.000.radiancescales.0.enabled = "1"
[LuxCore][3.578]   film.imagepipelines.000.radiancescales.0.globalscale = "1"
[LuxCore][3.578]   film.imagepipelines.000.radiancescales.0.rgbscale = "1" "1" "1"
[LuxCore][3.578]   film.outputs.0.type = "RGB_IMAGEPIPELINE"
[LuxCore][3.578]   film.outputs.0.index = "0"
[LuxCore][3.578]   film.outputs.0.filename = "RGB_IMAGEPIPELINE_0.png"
[LuxCore][3.578]   scene.file = "scene.scn"
[LuxCore][3.594] File Name Resolver Configuration:
[LuxCore][3.594]   .
[LuxCore][3.594]   C:/Users/Simon/Downloads/00001
[SDL][3.594] Reading scene: scene.scn
[SDL][3.594] Define ImageMap: NamedObject
[SDL][3.594] Texture definition: 1270130508472Color
[SDL][3.594] Material definition: Blanc1269477358760
[SDL][3.594] Material definition: EMITTER1269478359672
[SDL][3.594] Material definition: Green1269478360728
[SDL][3.594] Material definition: RED1269478364248
[SDL][3.594] Material definition: Ball1269477365096
[SDL][3.594] Camera type: perspective
[SDL][3.594] Camera position: Point[0, -3.45093, 1]
[SDL][3.594] Camera target: Point[0, 16.5491, 1]
[SDL][3.594] Camera clipping plane disabled
[SDL][3.594] The 12700522002481 object is a light sources with 2 triangles

C:\Users\Simon>
The mesh-00004.ply is corrupted:

Code: Select all

ply
format binary_little_endian 1.0
comment Created by LuxRays v2.4
element vertex 165,260
property float x
property float y
property float z
property float nx
property float ny
property float nz
property float s
property float t
element face 327,680
property list uchar uint vertex_indices
end_header
Notice the "165,260" and "327,680": it has been exported with v2.4. You must use v2.5 or switch to a US locale.

P.S. indeed, you must use the v2.5 both to write and read the files.
Support LuxCoreRender project with salts and bounties
User avatar
Sharlybg
Donor
Donor
Posts: 3101
Joined: Mon Dec 04, 2017 10:11 pm
Location: Ivory Coast

Re: Luxcore Standalone bug

Post by Sharlybg »

So considering this thread :
viewtopic.php?f=5&p=26364#p26364
Should we move to luxcore 2.5 too ?
Support LuxCoreRender project with salts and bounties

Portfolio : https://www.behance.net/DRAVIA
bartek_zgo
Posts: 116
Joined: Mon Oct 26, 2020 11:42 am

Re: Luxcore Standalone bug

Post by bartek_zgo »

Sorry, I forgot to reply. I updated luxcore to 2.5 version and is starts working.
Post Reply