[Render workbench} Getting it to work on Windows!

Have some feature requests, feedback, cool stuff to share, or want to know where FreeCAD is going? This is the place.
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
User avatar
MisterMaker
Posts: 746
Joined: Mon Sep 21, 2020 7:41 am
Contact:

[Render workbench} Getting it to work on Windows!

Post by MisterMaker »

While I am waiting on cycles to be available on windows I was looking into getting luxcore to work, but I ran into an issue. Of an "[LuxCore][16.797] Noise estimation: Error mean = 0" error.
I did some searching and eventually found this setting:
https://wiki.luxcorerender.org/LuxCore_ ... estimation
But I couldn't figure out what setting it should be and how I pass this parameter to luxcure, simply pasting it into the parameter box didn't work.
Maybe it is really easy but I couldn't find an answer.

Code: Select all

[SDL][0.203] Camera type: perspective
[SDL][0.203] Camera position: Point[18.5759, -12.5029, 20.36]
[SDL][0.203] Camera target: Point[18.1664, -11.7935, 19.7864]
[SDL][0.203] Camera clipping plane disabled
Film size adjusted: 800x600 (Frame buffer size: 800x600)
RenderConfig has cached kernels: True
[LuxCore][0.203] Film resolution: 800x600
[SDL][0.203] Film output definition: RGB_IMAGEPIPELINE [image.png]
[SDL][0.203] Image pipeline: film.imagepipelines.0
[SDL][0.203] Image pipeline step 0: TONEMAP_AUTOLINEAR
[SDL][0.203] Image pipeline: film.imagepipelines.1
[SDL][0.203] Image pipeline step 0: TONEMAP_REINHARD02
[SDL][0.203] Image pipeline: film.imagepipelines.2
[SDL][0.203] Image pipeline step 0: NOP
[LuxRays][0.203] OpenCL support: enabled
[LuxRays][0.234] OpenCL Platform 0: NVIDIA CUDA
[LuxRays][0.234] CUDA support: enabled
[LuxRays][0.234] CUDA support: available
[LuxRays][0.234] CUDA driver version: 11.10
[LuxRays][0.234] CUDA device count: 1
[LuxRays][0.234] Optix support: available
[LuxRays][0.234] Device 0 name: Native
[LuxRays][0.234] Device 0 type: NATIVE_THREAD
[LuxRays][0.234] Device 0 compute units: 1
[LuxRays][0.234] Device 0 preferred float vector width: 4
[LuxRays][0.234] Device 0 max allocable memory: 17592186044415MBytes
[LuxRays][0.234] Device 0 max allocable memory block size: 17592186044415MBytes
[LuxRays][0.234] Device 0 has out of core memory support: 0
[LuxRays][0.234] Device 1 name: GeForce GTX 1060 6GB
[LuxRays][0.234] Device 1 type: OPENCL_GPU
[LuxRays][0.234] Device 1 compute units: 10
[LuxRays][0.234] Device 1 preferred float vector width: 1
[LuxRays][0.234] Device 1 max allocable memory: 6144MBytes
[LuxRays][0.234] Device 1 max allocable memory block size: 1536MBytes
[LuxRays][0.234] Device 1 has out of core memory support: 0
[LuxRays][0.234] Device 2 name: GeForce GTX 1060 6GB
[LuxRays][0.234] Device 2 type: CUDA_GPU
[LuxRays][0.234] Device 2 compute units: 128
[LuxRays][0.234] Device 2 preferred float vector width: 1
[LuxRays][0.234] Device 2 max allocable memory: 6144MBytes
[LuxRays][0.234] Device 2 max allocable memory block size: 17592186044415MBytes
[LuxRays][0.250] Device 2 has out of core memory support: 1
[LuxRays][0.250] Device 2 CUDA compute capability: 6.1
[LuxRays][0.250] Creating 16 intersection device(s)
[LuxRays][0.250] Allocating intersection device 0: Native (Type = NATIVE_THREAD)
[LuxRays][0.250] Allocating intersection device 1: Native (Type = NATIVE_THREAD)
[LuxRays][0.250] Allocating intersection device 2: Native (Type = NATIVE_THREAD)
[LuxRays][0.250] Allocating intersection device 3: Native (Type = NATIVE_THREAD)
[LuxRays][0.250] Allocating intersection device 4: Native (Type = NATIVE_THREAD)
[LuxRays][0.250] Allocating intersection device 5: Native (Type = NATIVE_THREAD)
[LuxRays][0.250] Allocating intersection device 6: Native (Type = NATIVE_THREAD)
[LuxRays][0.250] Allocating intersection device 7: Native (Type = NATIVE_THREAD)
[LuxRays][0.250] Allocating intersection device 8: Native (Type = NATIVE_THREAD)
[LuxRays][0.250] Allocating intersection device 9: Native (Type = NATIVE_THREAD)
[LuxRays][0.250] Allocating intersection device 10: Native (Type = NATIVE_THREAD)
[LuxRays][0.250] Allocating intersection device 11: Native (Type = NATIVE_THREAD)
[LuxRays][0.250] Allocating intersection device 12: Native (Type = NATIVE_THREAD)
[LuxRays][0.250] Allocating intersection device 13: Native (Type = NATIVE_THREAD)
[LuxRays][0.250] Allocating intersection device 14: Native (Type = NATIVE_THREAD)
[LuxRays][0.265] Allocating intersection device 15: Native (Type = NATIVE_THREAD)
[LuxCore][0.265] Configuring 16 CPU render threads
[LuxRays][0.265] Preprocessing DataSet
[LuxRays][0.265] Total vertex count: 0
[LuxRays][0.265] Total triangle count: 0
[LuxRays][0.265] Preprocessing DataSet done
[LuxRays][0.265] Adding DataSet accelerator: EMBREE
[LuxRays][0.265] Total vertex count: 0
[LuxRays][0.265] Total triangle count: 0
[LuxRays][0.265] EmbreeAccel build time: 0ms
[LuxCore][0.422] Film hardware image pipeline
[LuxCore][0.625] Film hardware device used: GeForce GTX 1060 6GB CUDAIntersect (Type: CUDA_GPU)
[LuxRays][0.640] [Device GeForce GTX 1060 6GB CUDAIntersect] IMAGEPIPELINE buffer size: 5625Kbytes
[LuxRays][0.640] [Device GeForce GTX 1060 6GB CUDAIntersect] Merge buffer size: 7500Kbytes
[LuxRays][0.640] [MergeSampleBuffersOCL] Compiler options: -D LUXRAYS_OPENCL_KERNEL -D SLG_OPENCL_KERNEL -D LUXRAYS_CUDA_DEVICE -D LUXRAYS_OS_WINDOWS --use_fast_math
[LuxRays][0.640] [MergeSampleBuffersOCL] Compiling kernels
[LuxRays][0.640] [MergeSampleBuffersOCL] Program cached
[LuxCore][0.640] [MergeSampleBuffersOCL] Compiling Film_MergeBufferInitialize Kernel
[LuxCore][0.640] [MergeSampleBuffersOCL] Compiling Film_MergeRADIANCE_PER_PIXEL_NORMALIZED Kernel
[LuxCore][0.640] [MergeSampleBuffersOCL] Compiling Film_MergeRADIANCE_PER_SCREEN_NORMALIZED Kernel
[LuxCore][0.640] [MergeSampleBuffersOCL] Compiling Film_MergeBufferFinalize Kernel
[LuxCore][0.640] [MergeSampleBuffersOCL] Kernels compilation time: 0ms
[LuxRays][0.656] [Device GeForce GTX 1060 6GB CUDAIntersect] Accumulation buffer size: 43Kbytes
[LuxRays][0.656] [AutoLinearToneMap] Compiler options: -D LUXRAYS_OPENCL_KERNEL -D SLG_OPENCL_KERNEL -D LUXRAYS_CUDA_DEVICE -D LUXRAYS_OS_WINDOWS --use_fast_math
[LuxRays][0.656] [AutoLinearToneMap] Compiling kernels
[LuxRays][0.656] [AutoLinearToneMap] Program cached
[LuxCore][0.656] [AutoLinearToneMap] Compiling OpRGBValuesReduce Kernel
[LuxCore][0.656] [AutoLinearToneMap] Compiling OpRGBValueAccumulate Kernel
[LuxCore][0.656] [AutoLinearToneMap] Compiling AutoLinearToneMap_Apply Kernel
[LuxCore][0.656] [AutoLinearToneMap] Kernels compilation time: 0ms
[LuxCore][3.172] Noise estimation: first pass
[LuxCore][5.890] Noise estimation: Error mean = 0
[LuxCore][11.328] Noise estimation: Error mean = 0
[LuxCore][16.797] Noise estimation: Error mean = 0
[LuxCore][22.562] Noise estimation: Error mean = 0
This is my setup ,jsut a cube with camera and light.
2021-03-22 18_29_44-FreeCAD 0.19.png
2021-03-22 18_29_44-FreeCAD 0.19.png (193.64 KiB) Viewed 1996 times
howetuft
Posts: 314
Joined: Tue Sep 10, 2019 8:16 pm

Re: [Render workbench} Getting it to work on Windows!

Post by howetuft »

Hello,
Can you attach your FreeCAD file? And also post the version of LuxCore you use? Thanks!
User avatar
MisterMaker
Posts: 746
Joined: Mon Sep 21, 2020 7:41 am
Contact:

Re: [Render workbench} Getting it to work on Windows!

Post by MisterMaker »

I am running v2.5 rc1
Added the file! Was just a test file with one cube.
Do I btw have to put anything in the group option? Because the log says 0 vertexes so I have the idea my scene is empty.
Also the log says it is empty :lol:
Attachments
render test.FCStd
(13.56 KiB) Downloaded 49 times
Last edited by MisterMaker on Tue Mar 23, 2021 9:24 pm, edited 1 time in total.
howetuft
Posts: 314
Joined: Tue Sep 10, 2019 8:16 pm

Re: [Render workbench} Getting it to work on Windows!

Post by howetuft »

I have the feeling that you have not created views of your objects in your project, is that correct?
You need to create a view in your project for each object you want to use in your rendering (so the cube, the light and the camera)
howetuft
Posts: 314
Joined: Tue Sep 10, 2019 8:16 pm

Re: [Render workbench} Getting it to work on Windows!

Post by howetuft »

I obtain that:
image.png
image.png (97.44 KiB) Viewed 1922 times
User avatar
MisterMaker
Posts: 746
Joined: Mon Sep 21, 2020 7:41 am
Contact:

Re: [Render workbench} Getting it to work on Windows!

Post by MisterMaker »

I made a view got same results, can you send me the file back that was working?
howetuft
Posts: 314
Joined: Tue Sep 10, 2019 8:16 pm

Re: [Render workbench} Getting it to work on Windows!

Post by howetuft »

(I kept only Luxcore Project, got rid of Luxrender...)
Attachments
render test.v2.FCStd
(8.61 KiB) Downloaded 56 times
User avatar
MisterMaker
Posts: 746
Joined: Mon Sep 21, 2020 7:41 am
Contact:

Re: [Render workbench} Getting it to work on Windows!

Post by MisterMaker »

Woohoo!
I got a render!
I see what I did wrong now!
2021-03-23 22_35_10-LuxCore UI v2.5rc1 (http___www.luxcorerender.org).png
2021-03-23 22_35_10-LuxCore UI v2.5rc1 (http___www.luxcorerender.org).png (111.5 KiB) Viewed 1912 times
howetuft
Posts: 314
Joined: Tue Sep 10, 2019 8:16 pm

Re: [Render workbench} Getting it to work on Windows!

Post by howetuft »

Nice, congratulations!
Just out of curiosity, what is it that you made wrong?
User avatar
MisterMaker
Posts: 746
Joined: Mon Sep 21, 2020 7:41 am
Contact:

Re: [Render workbench} Getting it to work on Windows!

Post by MisterMaker »

I didn't add the cube and the light with the view function. I just added the camera, because I thought the camera is the view.
Maybe change the name "Rendering View" to "Scene Objects".
Or I have to read better ;)
Post Reply