1
0
forked from cgvr/DeltaVR

Create lightmap uvs with blender

This commit is contained in:
Toomas Tamm
2020-12-09 02:41:07 +02:00
parent e1e5b80e40
commit b7af5c1397
25 changed files with 14301665 additions and 10222 deletions

View File

@@ -42848,3 +42848,444 @@ Launched
Loading shader dilateHalf.ptx::oxMain...
Loading shader dilate.ptx::oxMain...
Done
Init...
lodselect
Loading geometry...
Loading alphas...
Tile size: 1024
Device 0: GeForce GTX 1660 (ON)
Used host memory: 0mb, available GPU memory: 5037mb
MODE: lodselect
USING FLOAT
Load shaders...
Loading shader lodselect.ptx::oxMain...
Loading shader lambert_lodselect.ptx::oxMain...
Loading shader shadow.ptx::oxMain...
Loading shader miss.ptx::oxMain...
Loading shader trimeshTexLODSelect.ptx::intersect...
Loading shader trimeshTexLODSelect.ptx::bbox...
Used host memory: 0mb, available GPU memory: 5037mb
Used host memory: 0mb, available GPU memory: 5037mb
Create buffer...
Num passes: 1
Num tex: 1
Pass lodselect_HDR...
Used host memory: 0mb, available GPU memory: 5037mb
Launch 1x1 tiles...
Tile 0x0...
Streaming...0
npd
Launching...
Used host memory: 0mb, available GPU memory: 4552mb
-----
Mem stats:
Total: 484
Alphas: 0
GI albedos: 0
GI lightmaps: 0
Light data: 0
Output: 16
UV GBuffer: 20
Scene: 4544
-----
Render time: 0.886 sec
Writing...
Done
Init...
fixpos12
Loading geometry...
Loading alphas...
Tile size: 1024
Device 0: GeForce GTX 1660 (ON)
Used host memory: 0mb, available GPU memory: 5037mb
MODE: fixpos12
USING FLOAT
Load shaders...
Loading shader fixPos12.ptx::oxMain...
Loading shader lambert_backface_check.ptx::oxMain...
Loading shader shadow.ptx::oxMain...
Loading shader trimesh.ptx::intersect...
Loading shader trimesh.ptx::bbox...
Used host memory: 0mb, available GPU memory: 5037mb
Used host memory: 0mb, available GPU memory: 5037mb
Create buffer...
Num passes: 2
Num tex: 2
Pass uvpos_Main_scene_LM0.lz4_HDR...
Pass uvpos_Main_scene_LM0.lz4_Mask...
Used host memory: 0mb, available GPU memory: 5037mb
Launch 4x4 tiles...
Tile 0x0...
Streaming...0
nFNFPFSd
Launching...
Used host memory: 0mb, available GPU memory: 4289mb
-----
Mem stats:
Total: 747
Alphas: 0
GI albedos: 0
GI lightmaps: 0
Light data: 0
Output: 272
UV GBuffer: 40
Scene: 4531
-----
Tile 1x0...
Streaming...0
nFNFPFSd
Launching...
Used host memory: 0mb, available GPU memory: 4289mb
Tile 2x0...
Streaming...6
nFNFPFSd
Launching...
Used host memory: 0mb, available GPU memory: 4289mb
Tile 3x0...
Streaming...12
nFNFPFSd
Launching...
Used host memory: 0mb, available GPU memory: 4289mb
Tile 0x1...
Streaming...18
nFNFPFSd
Launching...
Used host memory: 0mb, available GPU memory: 4289mb
Tile 1x1...
Streaming...25
nFNFPFSd
Launching...
Used host memory: 0mb, available GPU memory: 4289mb
Tile 2x1...
Streaming...31
nFNFPFSd
Launching...
Used host memory: 0mb, available GPU memory: 4289mb
Tile 3x1...
Streaming...37
nFNFPFSd
Launching...
Used host memory: 0mb, available GPU memory: 4289mb
Tile 0x2...
Streaming...43
nFNFPFSd
Launching...
Used host memory: 0mb, available GPU memory: 4289mb
Tile 1x2...
Streaming...50
nFNFPFSd
Launching...
Used host memory: 0mb, available GPU memory: 4289mb
Tile 2x2...
Streaming...56
nFNFPFSd
Launching...
Used host memory: 0mb, available GPU memory: 4289mb
Tile 3x2...
Streaming...62
nFNFPFSd
Launching...
Used host memory: 0mb, available GPU memory: 4289mb
Tile 0x3...
Streaming...68
nFNFPFSd
Launching...
Used host memory: 0mb, available GPU memory: 4289mb
Tile 1x3...
Streaming...75
nFNFPFSd
Launching...
Used host memory: 0mb, available GPU memory: 4289mb
Tile 2x3...
Streaming...81
nFNFPFSd
Launching...
Used host memory: 0mb, available GPU memory: 4289mb
Tile 3x3...
Streaming...87
nFNFPFSd
Launching...
Used host memory: 0mb, available GPU memory: 4289mb
Render time: 1.18 sec
Writing...
uvpos_Main_scene_LM0.lz4
uvpos_Main_scene_LM0.lz4
Done
Init...
lodselect
Loading geometry...
Loading alphas...
Tile size: 1024
Device 0: GeForce GTX 1660 (ON)
Used host memory: 0mb, available GPU memory: 5037mb
MODE: lodselect
USING FLOAT
Load shaders...
Loading shader lodselect.ptx::oxMain...
Loading shader lambert_lodselect.ptx::oxMain...
Loading shader shadow.ptx::oxMain...
Loading shader miss.ptx::oxMain...
Loading shader trimeshTexLODSelect.ptx::intersect...
Loading shader trimeshTexLODSelect.ptx::bbox...
Used host memory: 0mb, available GPU memory: 5037mb
Used host memory: 0mb, available GPU memory: 5037mb
Create buffer...
Num passes: 1
Num tex: 1
Pass lodselect_HDR...
Used host memory: 0mb, available GPU memory: 5037mb
Launch 4x4 tiles...
Tile 0x0...
Streaming...0
npd
Launching...
Used host memory: 0mb, available GPU memory: 4552mb
-----
Mem stats:
Total: 484
Alphas: 0
GI albedos: 0
GI lightmaps: 0
Light data: 0
Output: 256
UV GBuffer: 20
Scene: 4304
-----
Tile 1x0...
Streaming...0
npd
Launching...
Used host memory: 0mb, available GPU memory: 4552mb
Tile 2x0...
Streaming...6
npd
Launching...
Used host memory: 0mb, available GPU memory: 4552mb
Tile 3x0...
Streaming...12
npd
Launching...
Used host memory: 0mb, available GPU memory: 4552mb
Tile 0x1...
Streaming...18
npd
Launching...
Used host memory: 0mb, available GPU memory: 4552mb
Tile 1x1...
Streaming...25
npd
Launching...
Used host memory: 0mb, available GPU memory: 4552mb
Tile 2x1...
Streaming...31
npd
Launching...
Used host memory: 0mb, available GPU memory: 4552mb
Tile 3x1...
Streaming...37
npd
Launching...
Used host memory: 0mb, available GPU memory: 4552mb
Tile 0x2...
Streaming...43
npd
Launching...
Used host memory: 0mb, available GPU memory: 4552mb
Tile 1x2...
Streaming...50
npd
Launching...
Used host memory: 0mb, available GPU memory: 4552mb
Tile 2x2...
Streaming...56
npd
Launching...
Used host memory: 0mb, available GPU memory: 4552mb
Tile 3x2...
Streaming...62
npd
Launching...
Used host memory: 0mb, available GPU memory: 4552mb
Tile 0x3...
Streaming...68
npd
Launching...
Used host memory: 0mb, available GPU memory: 4552mb
Tile 1x3...
Streaming...75
npd
Launching...
Used host memory: 0mb, available GPU memory: 4552mb
Tile 2x3...
Streaming...81
npd
Launching...
Used host memory: 0mb, available GPU memory: 4552mb
Tile 3x3...
Streaming...87
npd
Launching...
Used host memory: 0mb, available GPU memory: 4552mb
Render time: 0.812 sec
Writing...
Done
Init...
fixpos12
Loading geometry...
Loading alphas...
Tile size: 1024
Device 0: GeForce GTX 1660 (ON)
Used host memory: 0mb, available GPU memory: 5037mb
MODE: fixpos12
USING FLOAT
Load shaders...
Loading shader fixPos12.ptx::oxMain...
Loading shader lambert_backface_check.ptx::oxMain...
Loading shader shadow.ptx::oxMain...
Loading shader trimesh.ptx::intersect...
Loading shader trimesh.ptx::bbox...
Used host memory: 0mb, available GPU memory: 5037mb
Used host memory: 0mb, available GPU memory: 5037mb
Create buffer...
Num passes: 2
Num tex: 2
Pass uvpos_Main_scene_LMA2.lz4_HDR...
Pass uvpos_Main_scene_LMA2.lz4_Mask...
Used host memory: 0mb, available GPU memory: 5037mb
Launch 4x4 tiles...
Tile 0x0...
Streaming...0
nFNFPFSd
Launching...
Used host memory: 0mb, available GPU memory: 4289mb
-----
Mem stats:
Total: 747
Alphas: 0
GI albedos: 0
GI lightmaps: 0
Light data: 0
Output: 272
UV GBuffer: 40
Scene: 4531
-----
Tile 1x0...
Streaming...0
nFNFPFSd
Launching...
Used host memory: 0mb, available GPU memory: 4289mb
Tile 2x0...
Streaming...6
nFNFPFSd
Launching...
Used host memory: 0mb, available GPU memory: 4289mb
Tile 3x0...
Streaming...12
nFNFPFSd
Launching...
Used host memory: 0mb, available GPU memory: 4289mb
Tile 0x1...
Streaming...18
nFNFPFSd
Launching...
Used host memory: 0mb, available GPU memory: 4289mb
Tile 1x1...
Streaming...25
nFNFPFSd
Launching...
Used host memory: 0mb, available GPU memory: 4289mb
Tile 2x1...
Streaming...31
nFNFPFSd
Launching...
Used host memory: 0mb, available GPU memory: 4289mb
Tile 3x1...
Streaming...37
nFNFPFSd
Launching...
Used host memory: 0mb, available GPU memory: 4289mb
Tile 0x2...
Streaming...43
nFNFPFSd
Launching...
Used host memory: 0mb, available GPU memory: 4289mb
Tile 1x2...
Streaming...50
nFNFPFSd
Launching...
Used host memory: 0mb, available GPU memory: 4289mb
Tile 2x2...
Streaming...56
nFNFPFSd
Launching...
Used host memory: 0mb, available GPU memory: 4289mb
Tile 3x2...
Streaming...62
nFNFPFSd
Launching...
Used host memory: 0mb, available GPU memory: 4289mb
Tile 0x3...
Streaming...68
nFNFPFSd
Launching...
Used host memory: 0mb, available GPU memory: 4289mb
Tile 1x3...
Streaming...75
nFNFPFSd
Launching...
Used host memory: 0mb, available GPU memory: 4289mb
Tile 2x3...
Streaming...81
nFNFPFSd
Launching...
Used host memory: 0mb, available GPU memory: 4289mb
Tile 3x3...
Streaming...87
nFNFPFSd
Launching...
Used host memory: 0mb, available GPU memory: 4289mb
Render time: 1.081 sec
Writing...
uvpos_Main_scene_LMA2.lz4
uvpos_Main_scene_LMA2.lz4
Done
Init...
lodselect
Loading geometry...
Loading alphas...
Tile size: 1024
Device 0: GeForce GTX 1660 (ON)
Used host memory: 0mb, available GPU memory: 5037mb
MODE: lodselect
USING FLOAT
Load shaders...
Loading shader lodselect.ptx::oxMain...
Loading shader lambert_lodselect.ptx::oxMain...
Loading shader shadow.ptx::oxMain...
Loading shader miss.ptx::oxMain...
Loading shader trimeshTexLODSelect.ptx::intersect...
Loading shader trimeshTexLODSelect.ptx::bbox...
Used host memory: 0mb, available GPU memory: 5037mb
Used host memory: 0mb, available GPU memory: 5037mb
Create buffer...
Num passes: 1
Num tex: 1
Pass lodselect_HDR...
Used host memory: 0mb, available GPU memory: 5037mb
Launch 4x4 tiles...
Tile 0x0...
Streaming...0
npd
Launching...
Error (-1): Unknown error (Details: Function "_rtContextLaunch2D" caught exception: Encountered a CUDA error: cudaDriver().CuMemcpyDtoH( dstHost, srcDevice, byteCount ) returned (700): Illegal address)
ftrace (aka Bakery) - GPU Lightmapper by Mr F
Usage: ftrace RENDERMODE SCENEPATH OUTPUTNAME FLAGS PADDING LMID [MODESETTINGSFILE] [DIRECT] [VBTRACETEXNAME]
- RENDERMODE tells ftrace which pass to render. Possible values:
sun, suncloudshadow, arealight, texarealight, pointlight, batchpointlight, cubemaplight, cookielight, conelight, sky, skytex, skycubemap, texgi, fixpos, fixpos1, fixpos2, fixpos12, fixpos3D, lodselect, add, addmul, hdr2mask, addao, diradd, addsh, postadd, postdiradd, finemissive, ao, ao_patch, sss, skydir, skycubemapdir, texgidir, aodir, arealightdir, texarealightdir, sunrnm, suncloudshadowrnm, pointlightrnm, batchpointlightrnm, cubemaplightrnm, cookielightrnm, conelightrnm, skycubemaprnm, skyrnm, arealightrnm, texarealightrnm, texgirnm, sunsh, suncloudshadowsh, skycubemapsh, pointlightsh, batchpointlightsh, cubemaplightsh, cookielightsh, conelightsh, skysh, arealightsh, texarealightsh, texgish, ssssh, skytangentsh, sunprobesh, suncloudshadowprobesh, skycubemapprobesh, pointlightprobesh, batchpointlightprobesh, cubemaplightprobesh, cookielightprobesh, conelightprobesh, skyprobesh, arealightprobesh, texarealightprobesh, texgiprobesh, interactive.
- SCENEPATH is the scene files directory.
- OUTPUTNAME is output file name.
- FLAGS is output flags. When in doubt, use 4.
- PADDING defines the amount of dilation (expanding rendered pixels to prevent seams)
- LMID is the lightmap ID. Only objects with this ID in lmid.bin will be rendered.
- In fixpos12 rendermode MODESETTINGSFILE is treated as fake shadow bias.

View File

@@ -1068,3 +1068,44 @@ Done
Done
Done
Done
2020-12-9
Rendering UV GBuffer for Main_scene_LM0 50
RGBA32F...RGBA8...RGBA8_SRGB...RGBA16F...states...
Rendering faceted UV normal...
Rendering UV pos...
Rendering smooth UV pos...
Rendering UV GBuffer for Main_scene_LMA1 50
RGBA32F...RGBA8...RGBA8_SRGB...RGBA16F...states...
Rendering faceted UV normal...
Rendering UV pos...
Rendering smooth UV pos...
Rendering UV GBuffer for Main_scene_LMA2 50
RGBA32F...RGBA8...RGBA8_SRGB...RGBA16F...states...
Rendering faceted UV normal...
Rendering UV pos...
Rendering smooth UV pos...
Rendering UV GBuffer for Main_scene_LMA3 50
RGBA32F...RGBA8...RGBA8_SRGB...RGBA16F...states...
Rendering faceted UV normal...
Rendering UV pos...
Rendering smooth UV pos...
Rendering UV GBuffer for Main_scene_LMA4 50
RGBA32F...RGBA8...RGBA8_SRGB...RGBA16F...states...
Rendering faceted UV normal...
Rendering UV pos...
Rendering smooth UV pos...
Rendering UV GBuffer for Main_scene_LMA5 50
RGBA32F...RGBA8...RGBA8_SRGB...RGBA16F...states...
Rendering faceted UV normal...
Rendering UV pos...
Rendering smooth UV pos...
Rendering UV GBuffer for probes 256
RGBA32F...RGBA8...RGBA8_SRGB...RGBA16F...states...
Done
Done
Running ftrace lodselect "C:\Users\tooma\AppData\Local\Temp\frender" "lodselect" 2 0 6
Running ftrace fixpos12 "C:\Users\tooma\AppData\Local\Temp\frender" "uvpos_Main_scene_LM0.lz4" 34 0 0 0
Running ftrace lodselect "C:\Users\tooma\AppData\Local\Temp\frender" "lodselect" 2 0 0
Running ftrace fixpos12 "C:\Users\tooma\AppData\Local\Temp\frender" "uvpos_Main_scene_LMA2.lz4" 34 0 2 0
Running ftrace lodselect "C:\Users\tooma\AppData\Local\Temp\frender" "lodselect" 2 0 2
Waiting on threads to park on joinable thread list timed out.