Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
Bake Lighting
Build: pc64 May 27 2020 13:14:51
ERROR: RESOURCE_TYPE_MATERIAL resource 9C3AD77B12278B83 requested but not resident. (Missing from from a manifest?)
Texture models/creatures/barnacle/material/barnaclet_tongue_color_psd_30079b81.vtex_c doesn't have mipmaps down to 32, loaded 4x64
CPathTraceSceneInfoBase - Loading light cookie flashlight:0
Preprocessing 1780 meshes and computing charts [0....1....2....3....4....5....6....7....8....9....] Done (46.65 seconds)
Packing 460139 UV charts onto atlas...
***** OUT OF MEMORY! /+/ attempted allocation size: 181284336 ****
"
I've been using fast compile and everything was fine. It seems that the lightmap wasn't built at all. I just knew that the hammer version runs in VRAD2 which doesn't need lightmap.
But I'm now having trouble to find out what's causing this "OUT OF MEMORY" now....Will leak or anything like too many lights cause such issue..?
This doesn't seem like a step that would need that much memory though. Maybe check that you don't have anything else eating up all the memory. How much RAM do you have?
I rebooted and tried full compile again, and it was successfully compiled without error.
Seems that it was indeed something else that has been eating up my RAM. I have 16gb RAM by the way.
After the full compile I tried again to run the map in-game and the lights were fixed. (in a little low quality though) Then I tried final compile but it showed "OUT OF MEMORY" again. Well, I think maybe its my computer's problem.
By the way, I found out that maybe fast compile will break the lightmap or something. I added some entities and props and fast compile just now and the in-game lightmap broke again.
Another full compile fixed the lights though.
"
==== Baking 2048 x 2048 lightmap ====
SetupTexels [0....1....2....3....4....5....6....7....8....9....] Done (0.57 seconds)
VRAD3 (local) [0....1....2....3....4....5....6....7....8....9....] Done (21917.86 seconds)
VRAD3 Combine
VRAD3 - Distributed Lighting Tool
Copyright (c) Valve Corporation, All rights reserved.
Build: pc64 May 27 2020 13:14:38
WD: F:\Program Files\Steam\steamapps\common\Half-Life Alyx\game\hlvr_addons\anotherwayout\_vrad3
Command: vrad3.exe -script script.vrad3 -entrypoint lm_combine -threads 4 -indir results/outputs -noassert
Num Threads: 4
Lightmap: 2048x2048 in 16 512x512 blocks
Loading lightmap_packing_geometry.dat... Done (0.17 seconds)
Dilating lighting over 186207 invalid luxels...
...Dilated 47127 luxels, 139080 remain.
...Dilated 53906 luxels, 132301 remain.
...Dilated 54160 luxels, 132047 remain.
...Dilated 54208 luxels, 131999 remain.
...Dilated 54256 luxels, 131951 remain.
Writing normal.exr... (0.2s).
Writing tangent.exr... (0.1s).
Writing sh_irradiance_noisy.exr... (0.1s).
Writing lightmap_noisy.exr... (0.2s).
Writing ao_noisy.exr... (0.1s).
Removing fireflies... found 212754 fireflies in 0.1s
OIDN Filter (lg) ao [0....1....2....3....4....5....6....7....8....9....] Done (8.86 seconds)
OIDN Filter (sm) ao [Error: out of memory
0....1....2....3....4....5....6....7....8....9....] FAILED (12.05 seconds)
Error running "vrad3.exe -script script.vrad3 -entrypoint lm_combine -threads 4 -indir results/outputs -noassert"
VRAD3 - Distributed Lighting Tool
Copyright (c) Valve Corporation, All rights reserved.
Build: pc64 May 27 2020 13:14:38
WD: F:\Program Files\Steam\steamapps\common\Half-Life Alyx\game\hlvr_addons\anotherwayout\_vrad3
Command: vrad3.exe -script script.vrad3 -entrypoint lm_combine -threads 4 -indir results/outputs -noassert
Num Threads: 4
Lightmap: 2048x2048 in 16 512x512 blocks
Loading lightmap_packing_geometry.dat... Done (0.17 seconds)
Dilating lighting over 186207 invalid luxels...
...Dilated 47127 luxels, 139080 remain.
...Dilated 53906 luxels, 132301 remain.
...Dilated 54160 luxels, 132047 remain.
...Dilated 54208 luxels, 131999 remain.
...Dilated 54256 luxels, 131951 remain.
Writing normal.exr... (0.2s).
Writing tangent.exr... (0.1s).
Writing sh_irradiance_noisy.exr... (0.1s).
Writing lightmap_noisy.exr... (0.2s).
Writing ao_noisy.exr... (0.1s).
Removing fireflies... found 212754 fireflies in 0.1s
OIDN Filter (lg) ao [0....1....2....3....4....5....6....7....8....9....] Done (8.86 seconds)
OIDN Filter (sm) ao [Error: out of memory
Unable to run Vrad3.
Light mapper didn't return valid triangles: failing.
--> Map build FAILED.
[FAIL]
"
Looks like the final compile runs out when running the open image denoise filter. Those kinds of filters seem to use up a lot of memory. One thing that might help is to make sure that your pagefile in Windows is set up properly, so it can swap more memory to disk.
Thank you so much. I tried set up more pagefile and the final compile is successful now.
Problem solved.