Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- bash-5.1$ RUSTICL_ENABLE=lp RUSTICL_DEVICE_TYPE=gpu LP_CL=1 bin/luxcoredemo
- LuxCore v2.6
- Property examples...
- test1.prop1[0] => 1
- test1.prop1 = 1 2 3
- 3
- prefix.test.test1.prop1 = 1 2 3
- rename.test = 1 2 3
- field1
- field0
- field0.field1
- field0.field1.field2
- String:String: string.test = "TEST123"
- Blob: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
- Blob ToString:
- ========
- {[AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8gISIjJCUmJygpKissLS4vMDEyMzQ1Njc4OTo7PD0+P0BBQkNERUZHSElKS0xNTk9QUVJTVFVWV1hZWltcXV5fYGFiYw]}
- ========
- Blob2 FromString:
- ========
- {[AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8gISIjJCUmJygpKissLS4vMDEyMzQ1Njc4OTo7PD0+P0BBQkNERUZHSElKS0xNTk9QUVJTVFVWV1hZWltcXV5fYGFiYw]}
- ========
- Property Blob ToString: blob.test = {[AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8gISIjJCUmJygpKissLS4vMDEyMzQ1Njc4OTo7PD0+P0BBQkNERUZHSElKS0xNTk9QUVJTVFVWV1hZWltcXV5fYGFiYw]}
- Properties examples...
- test1.prop1 = 1 2 3
- test2.prop2 = "test"
- test1.prop1[0] => 1
- test1.prop1[1] => 2
- test1.prop1[2] => 3
- test2.prop2 = "overwrite"
- test1.prop1 = "1.0" "2.0" "3.0" "quoted"
- test2.prop2 = "aa" "quoted" "bb"
- Size: 4
- Size: 3
- test1.prop1.sub0.a = 1 2 3
- test1.prop1.sub0.b = "test1"
- test1.prop2.sub1 = "test2"
- test2.prop1 = 1 2 3
- test2.prop2 = "test"
- [test1.prop1][test1.prop2]
- [test1.prop1.sub0]
- doesnt.exist.test = 0 1 2
- [test1.prop1.sub0.a][test1.prop1.sub0.b]
- OpenCL device information example...
- Device 0 name: llvmpipe (LLVM 16.0.6, 256 bits)
- Device 0 type: OPENCL_GPU
- Device 0 compute units: 8
- Device 0 preferred float vector width: 1
- Device 0 max allocable memory: 2048MBytes
- Device 0 max allocable memory block size: 2048MBytes
- Device 1 name: llvmpipe (LLVM 16.0.6, 256 bits)
- Device 1 type: OPENCL_CPU
- Device 1 compute units: 8
- Device 1 preferred float vector width: 4
- Device 1 max allocable memory: 2048MBytes
- Device 1 max allocable memory block size: 2048MBytes
- RenderConfig and RenderSession examples (requires scenes directory)...
- A simple rendering...
- [LuxCore][0.227] Configuration:
- [LuxCore][0.227] film.width = "800"
- [LuxCore][0.227] film.height = "600"
- [LuxCore][0.227] batch.halttime = "0"
- [LuxCore][0.227] scene.file = "scenes/luxball/luxball-hdr.scn"
- [LuxCore][0.227] opencl.cpu.use = "0"
- [LuxCore][0.227] opencl.gpu.use = "1"
- [LuxCore][0.227] opencl.gpu.workgroup.size = "64"
- [LuxCore][0.227] screen.refresh.interval = "100"
- [LuxCore][0.227] path.maxdepth = "8"
- [LuxCore][0.227] path.russianroulette.depth = "5"
- [LuxCore][0.227] path.pathdepth.diffuse = "8"
- [LuxCore][0.227] path.pathdepth.glossy = "8"
- [LuxCore][0.227] path.pathdepth.specular = "8"
- [LuxCore][0.227] tile.multipass.enable = "1"
- [LuxCore][0.227] tile.multipass.convergencetest.threshold256 = "6"
- [LuxCore][0.227] tile.multipass.convergencetest.threshold.reduction = "0.5"
- [LuxCore][0.228] screen.tiles.converged.show = "1"
- [LuxCore][0.228] screen.tiles.passcount.show = "1"
- [LuxCore][0.228] screen.tiles.notconverged.show = "1"
- [LuxCore][0.228] film.outputs.1.type = "RGB_IMAGEPIPELINE"
- [LuxCore][0.228] film.outputs.1.index = "0"
- [LuxCore][0.228] film.outputs.1.filename = "normal.png"
- [LuxCore][0.228] film.outputs.2.type = "MATERIAL_ID_COLOR"
- [LuxCore][0.228] film.outputs.2.filename = "luxball_MATERIAL_ID_COLOR.png"
- [LuxCore][0.228] film.imagepipelines.0.0.type = "TONEMAP_LINEAR"
- [LuxCore][0.228] film.imagepipelines.0.0.scale = "1.2"
- [LuxCore][0.228] film.imagepipelines.0.1.type = "GAMMA_CORRECTION"
- [LuxCore][0.228] film.imagepipelines.0.1.value = "2.2"
- [LuxCore][0.228] renderengine.type = "PATHCPU"
- [LuxCore][0.228] File Name Resolver Configuration:
- [SDL][0.228] Reading scene: scenes/luxball/luxball-hdr.scn
- [SDL][0.229] Define ImageMap: NamedObject
- [SDL][0.229] Material definition: shell
- [SDL][0.229] Material definition: whitematte
- [SDL][0.231] Material definition: luxtext
- [SDL][0.232] Material definition: blacktext
- [SDL][0.232] Camera type: perspective
- [SDL][0.232] Camera position: Point[0.6, -1.7, 0.4]
- [SDL][0.232] Camera target: Point[0, 0, 0.4]
- [SDL][0.232] Camera clipping plane disabled
- [SDL][0.595] Shape count: 2
- [SDL][0.842] Scene objects count: 5
- [SDL][0.842] Light definition: infinitelight
- [SDL][0.843] Reading texture map: scenes/simple-mat/arch.exr
- [SDL][0.844] Mip map available: [1024x512]
- [SDL][0.844] Reading mip map level: 0
- [LuxCore][0.990] Film resolution: 800x600
- [SDL][0.992] Film output definition: RGB_IMAGEPIPELINE [image.png]
- [SDL][0.992] Image pipeline: film.imagepipelines.0
- [SDL][0.992] Image pipeline step 0: TONEMAP_LINEAR
- [SDL][0.992] Image pipeline step 1: GAMMA_CORRECTION
- [SDL][0.993] Film output definition: RGB_IMAGEPIPELINE [normal.png]
- [SDL][0.993] Film output definition: MATERIAL_ID_COLOR [luxball_MATERIAL_ID_COLOR.png]
- [LuxRays][0.996] OpenCL support: enabled
- [LuxRays][0.996] OpenCL Platform 0: rusticl
- [LuxRays][0.996] OpenCL Platform 1: Clover
- [LuxRays][0.996] CUDA support: disabled
- [LuxRays][0.996] Device 0 name: Native
- [LuxRays][0.996] Device 0 type: NATIVE_THREAD
- [LuxRays][0.996] Device 0 compute units: 1
- [LuxRays][0.997] Device 0 preferred float vector width: 4
- [LuxRays][0.997] Device 0 max allocable memory: 4095MBytes
- [LuxRays][0.997] Device 0 max allocable memory block size: 4095MBytes
- [LuxRays][0.997] Device 0 has out of core memory support: 0
- [LuxRays][0.997] Device 1 name: llvmpipe (LLVM 16.0.6, 256 bits)
- [LuxRays][0.997] Device 1 type: OPENCL_GPU
- [LuxRays][0.997] Device 1 compute units: 8
- [LuxRays][0.997] Device 1 preferred float vector width: 1
- [LuxRays][0.997] Device 1 max allocable memory: 2048MBytes
- [LuxRays][0.998] Device 1 max allocable memory block size: 2048MBytes
- [LuxRays][0.998] Device 1 has out of core memory support: 0
- [LuxRays][0.998] Device 2 name: llvmpipe (LLVM 16.0.6, 256 bits)
- [LuxRays][0.998] Device 2 type: OPENCL_CPU
- [LuxRays][0.998] Device 2 compute units: 8
- [LuxRays][0.998] Device 2 preferred float vector width: 4
- [LuxRays][0.998] Device 2 max allocable memory: 2048MBytes
- [LuxRays][0.998] Device 2 max allocable memory block size: 2048MBytes
- [LuxRays][0.998] Device 2 has out of core memory support: 0
- [LuxRays][0.999] Creating 4 intersection device(s)
- [LuxRays][0.999] Allocating intersection device 0: Native (Type = NATIVE_THREAD)
- [LuxRays][0.999] Allocating intersection device 1: Native (Type = NATIVE_THREAD)
- [LuxRays][0.999] Allocating intersection device 2: Native (Type = NATIVE_THREAD)
- [LuxRays][0.999] Allocating intersection device 3: Native (Type = NATIVE_THREAD)
- [LuxCore][0.999] Configuring 4 CPU render threads
- [LuxRays][0.999] Preprocessing DataSet
- [LuxRays][1.000] Total vertex count: 223352
- [LuxRays][1.000] Total triangle count: 260780
- [LuxRays][1.015] Preprocessing DataSet done
- [LuxRays][1.016] Adding DataSet accelerator: EMBREE
- [LuxRays][1.016] Total vertex count: 223352
- [LuxRays][1.016] Total triangle count: 260780
- Warning: pthread_setaffinity_np failed to set affinity to thread -1
- Warning: pthread_setaffinity_np failed to set affinity to thread -3
- [LuxRays][1.496] EmbreeAccel build time: 479ms
- [Elapsed time: 1/5sec][Samples 0][Avg. samples/sec 0.08M on 260.8K tris]
- [Elapsed time: 2/5sec][Samples 0][Avg. samples/sec 0.08M on 260.8K tris]
- [Elapsed time: 3/5sec][Samples 0][Avg. samples/sec 0.09M on 260.8K tris]
- [Elapsed time: 4/5sec][Samples 0][Avg. samples/sec 0.12M on 260.8K tris]
- [Elapsed time: 5/5sec][Samples 1][Avg. samples/sec 0.11M on 260.8K tris]
- [LuxCore][6.576] Film hardware image pipeline
- [LuxCore][6.577] Film hardware device used: llvmpipe (LLVM 16.0.6, 256 bits) OpenCLIntersect (Type: OPENCL_GPU)
- [LuxCore][6.577] Device OpenCL version: OpenCL 3.0
- [LuxRays][6.583] [Device llvmpipe (LLVM 16.0.6, 256 bits) OpenCLIntersect] IMAGEPIPELINE buffer size: 5625Kbytes
- [LuxRays][6.589] [Device llvmpipe (LLVM 16.0.6, 256 bits) OpenCLIntersect] Merge buffer size: 7500Kbytes
- [LuxRays][6.594] [MergeSampleBuffersOCL] Compiler options: -D LUXRAYS_OPENCL_KERNEL -D SLG_OPENCL_KERNEL -D LUXRAYS_OPENCL_DEVICE -D LUXRAYS_OS_LINUX -cl-fast-relaxed-math -cl-mad-enable
- [LuxRays][6.594] [MergeSampleBuffersOCL] Compiling kernels
- [LuxRays][6.788] [MergeSampleBuffersOCL] Program not cached
- [LuxCore][6.788] [MergeSampleBuffersOCL] Compiling Film_MergeBufferInitialize Kernel
- [LuxCore][6.788] [MergeSampleBuffersOCL] Compiling Film_MergeRADIANCE_PER_PIXEL_NORMALIZED Kernel
- [LuxCore][6.788] [MergeSampleBuffersOCL] Compiling Film_MergeRADIANCE_PER_SCREEN_NORMALIZED Kernel
- [LuxCore][6.788] [MergeSampleBuffersOCL] Compiling Film_MergeBufferFinalize Kernel
- [LuxCore][6.788] [MergeSampleBuffersOCL] Kernels compilation time: 194ms
- [LuxRays][7.461] [LinearToneMap] Compiler options: -D LUXRAYS_OPENCL_KERNEL -D SLG_OPENCL_KERNEL -D LUXRAYS_OPENCL_DEVICE -D LUXRAYS_OS_LINUX -cl-fast-relaxed-math -cl-mad-enable
- [LuxRays][7.461] [LinearToneMap] Compiling kernels
- [LuxRays][7.491] [LinearToneMap] Program not cached
- [LuxCore][7.491] [AutoLinearToneMap] Compiling LinearToneMap_Apply Kernel
- [LuxCore][7.491] [LinearToneMap] Kernels compilation time: 29ms
- [LuxRays][7.491] [Device llvmpipe (LLVM 16.0.6, 256 bits) OpenCLIntersect] Gamma table buffer size: 16Kbytes
- [LuxRays][7.491] [GammaCorrectionPlugin] Compiler options: -D LUXRAYS_OPENCL_KERNEL -D SLG_OPENCL_KERNEL -D LUXRAYS_OPENCL_DEVICE -D LUXRAYS_OS_LINUX -cl-fast-relaxed-math -cl-mad-enable
- [LuxRays][7.491] [GammaCorrectionPlugin] Compiling kernels
- [LuxRays][7.648] [GammaCorrectionPlugin] Program not cached
- [LuxCore][7.648] [GammaCorrectionPlugin] Compiling GammaCorrectionPlugin_Apply Kernel
- [LuxCore][7.648] [GammaCorrectionPlugin] Kernels compilation time: 156ms
- [LuxCore][7.810] Outputting film: normal.png type: 2
- [LuxCore][7.986] Outputting film: luxball_MATERIAL_ID_COLOR.png type: 40
- [LuxCore][8.070] [llvmpipe (LLVM 16.0.6, 256 bits) OpenCLIntersect] Memory used for hardware image pipeline: 13125Kbytes
- Done.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement