Bounce Light Woes
Post Reply
Quote
Re: Bounce Light Woes
Posted by CLs on Sun Jan 8th at 9:58pm 2006


I recently compiled my map after adding a rather large section to it, and now during the RAD compile stage when calculating light bounces they are all calculated at (-1,-1,-1) and it does this 100 times as oppossed to around ten on the previous compiles.

Upon loading the map in game it's really dark and most of the walls are black. If you could give me any insight into the problem it would be grealty apprciatted.

_CLs_




Quote
Re: Bounce Light Woes
Posted by Dark|Killer on Sun Jan 8th at 10:02pm 2006


That never happaned to me, but how about posting your compile log ??
It should help us know the exact problem..i guess... <img src=" SRC="images/smiles/dorky.gif">



.::Dark|Masta::. - One name. One legend.



Quote
Re: Bounce Light Woes
Posted by CLs on Sun Jan 8th at 11:33pm 2006


Well here it is...


** Executing...
** Command: "e:program filessteamsteamappschrisls121@sympatico.casourcesdkbinvbsp.exe"
** Parameters: -game "e:program filessteamsteamappschrisls121@sympatico.cahalf-life 2 deathmatchhl2mp" "E:Program FilesSteamSteamAppschrisls121@sympatico.casourcesdk_contenthl2mpmapsrcDM_Country_Home_Alpha_3"

Valve Software - vbsp.exe (Jan 2 2006)
2 threads
materialPath: e:program filessteamsteamappschrisls121@sympatico.cahalf-life 2 deathmatchhl2mpmaterials
Loading E:Program FilesSteamSteamAppschrisls121@sympatico.casourcesdk_contenthl2mpmapsrcDM_Country_Home_Alpha_3.vmf
fixing up env_cubemap materials on brush sides...
ProcessBlock_Thread: 0...1...2...3...4...5...6...7...8...9...10 (1)
ProcessBlock_Thread: 0...1...2...3...4...5...6...7...8...9...10 (1)
Processing areas...done (0)
Building Faces...done (0)
FixTjuncs...
PruneNodes...
WriteBSP...
done (1)
writing E:Program FilesSteamSteamAppschrisls121@sympatico.casourcesdk_contenthl2mpmapsrcDM_Country_Home_Alpha_3.prt...done (0)
Creating default cubemaps for env_cubemap using skybox materials:
skybox/sky_day02_02*.vmt
Run buildcubemaps in the engine to get the correct cube maps.

No such variable "$hdrbasetexture" for material "skybox/sky_day02_02rt"
Can't load skybox file skybox/sky_day02_02 to build the default cubemap!
Finding displacement neighbors...
Finding lightmap sample positions...
Displacement Alpha : 0...1...2...3...4...5...6...7...8...9...10
Building Physics collision data...
done (1) (568854 bytes)
Emitting linux collision data (use -nolinuxdata to disable).
Building Physics collision data...
done (0) (1255072 bytes)
Placing detail props : 0...1...2...3...4...5...6...7...8...9...10
Compacting texture/material tables...
Reduced 2135 texinfos to 1360
Reduced 288 texdatas to 250 (16601 bytes to 13469)
Writing E:Program FilesSteamSteamAppschrisls121@sympatico.casourcesdk_contenthl2mpmapsrcDM_Country_Home_Alpha_3.bsp
20 seconds elapsed
Memory leak: mempool blocks left in memory: 11

** Executing...
** Command: "e:program filessteamsteamappschrisls121@sympatico.casourcesdkbinvvis.exe"
** Parameters: -game "e:program filessteamsteamappschrisls121@sympatico.cahalf-life 2 deathmatchhl2mp" -fast "E:Program FilesSteamSteamAppschrisls121@sympatico.casourcesdk_contenthl2mpmapsrcDM_Country_Home_Alpha_3"

Valve Software - vvis.exe (Jan 2 2006)
fastvis = true
2 threads
reading e:program filessteamsteamappschrisls121@sympatico.casourcesdk_contenthl2mpmapsrcDM_Country_Home_Alpha_3.bsp
reading e:program filessteamsteamappschrisls121@sympatico.casourcesdk_contenthl2mpmapsrcDM_Country_Home_Alpha_3.prt
1419 portalclusters
4399 numportals
BasePortalVis: 0...1...2...3...4...5...6...7...8...9...10 (8)
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
Optimized: 143009 visible clusters (0.00%)
Total clusters visible: 1052571
Average clusters visible: 741
Building PAS...
Average clusters audible: 1393
visdatasize:490453 compressed from 522192
writing e:program filessteamsteamappschrisls121@sympatico.casourcesdk_contenthl2mpmapsrcDM_Country_Home_Alpha_3.bsp
8 seconds elapsed

** Executing...
** Command: "e:program filessteamsteamappschrisls121@sympatico.casourcesdkbinvrad.exe"
** Parameters: -game "e:program filessteamsteamappschrisls121@sympatico.cahalf-life 2 deathmatchhl2mp" "E:Program FilesSteamSteamAppschrisls121@sympatico.casourcesdk_contenthl2mpmapsrcDM_Country_Home_Alpha_3"

Valve Software - vrad.exe SSE (Jan 2 2006)
----- Radiosity Simulator ----
2 threads
[Reading texlights from 'lights.rad']
[45 texlights parsed from 'lights.rad']

Loading e:program filessteamsteamappschrisls121@sympatico.casourcesdk_contenthl2mpmapsrcDM_Country_Home_Alpha_3.bsp
4561 faces
3 degenerate faces
1981823 square feet [285382560.00 square inches]
68 displacements
685459 square feet [98706120.00 square inches]
4558 patches before subdivision
35360 patches after subdivision
25 direct lights
BuildFacelights: 0...1...2...3...4...5...6...7...8...9...10 (221)
BuildVisLeafs: 0...1...2...3...4...5...6...7...8...9...10 (53)
transfers 2882383, max 792
transfer lists: 22.0 megs
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (1)
Bounce #1 added RGB(-1, -1, -1)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (1)
Bounce #2 added RGB(-1, -1, -1)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (3)
Bounce #3 added RGB(-1, -1, -1)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (11)
Bounce #4 added RGB(-1, -1, -1)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (13)
Bounce #5 added RGB(-1, -1, -1)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (16)
Bounce #6 added RGB(-1, -1, -1)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (16)
Bounce #7 added RGB(-1, -1, -1)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (16)
Bounce #8 added RGB(-1, -1, -1)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (16)
Bounce #9 added RGB(-1, -1, -1)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (16)
Bounce #10 added RGB(-1, -1, -1)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (17)
Bounce #11 added RGB(-1, -1, -1)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (16)
Bounce #12 added RGB(-1, -1, -1)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (17)
Bounce #13 added RGB(-1, -1, -1)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (16)
Bounce #14 added RGB(-1, -1, -1)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (17)
Bounce #15 added RGB(-1, -1, -1)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (16)
Bounce #16 added RGB(-1, -1, -1)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (18)
Bounce #17 added RGB(-1, -1, -1)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (16)
Bounce #18 added RGB(-1, -1, -1)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (16)
Bounce #19 added RGB(-1, -1, -1)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (16)
Bounce #20 added RGB(-1, -1, -1)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (16)
Bounce #21 added RGB(-1, -1, -1)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (16)
Bounce #22 added RGB(-1, -1, -1)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (17)
Bounce #23 added RGB(-1, -1, -1)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (16)
Bounce #24 added RGB(-1, -1, -1)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (16)
Bounce #25 added RGB(-1, -1, -1)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (16)
Bounce #26 added RGB(-1, -1, -1)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (16)
Bounce #27 added RGB(-1, -1, -1)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (17)
Bounce #28 added RGB(-1, -1, -1)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (16)
Bounce #29 added RGB(-1, -1, -1)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (17)
Bounce #30 added RGB(-1, -1, -1)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (17)
Bounce #31 added RGB(-1, -1, -1)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (17)
Bounce #32 added RGB(-1, -1, -1)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (17)
Bounce #33 added RGB(-1, -1, -1)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (17)
Bounce #34 added RGB(-1, -1, -1)
GatherLight: 0...1...2.
** Executing...
** Command: Copy File
** Parameters: "E:Program FilesSteamSteamAppschrisls121@sympatico.casourcesdk_contenthl2mpmapsrcDM_Country_Home_Alpha_3.bsp" "e:program filessteamsteamappschrisls121@sympatico.cahalf-life 2 deathmatchhl2mpmapsDM_Country_Home_Alpha_3.bsp"

I stopped it as it would take awhile to to complete all 100 bounces, but it does eventully reach 100!

_
CLs_


html><head><link rel="stylesheet" href="themes/standard.css" type="text/css"></head><body topmargin=2 leftmargin=2>




Quote
Re: Bounce Light Woes
Posted by wil5on on Sun Jan 8th at 11:48pm 2006


No such variable "$hdrbasetexture" for material "skybox/sky_day02_02rt"

This could have something to do with it... try using a HDR sky, or not compiling with HDR.




&quot;If you talk at all during this lesson, you have detention. Do you understand?&quot;
- My yr11 Economics teacher



Quote
Re: Bounce Light Woes
Posted by CLs on Mon Jan 9th at 1:07am 2006


That can`t be it as I'am not compiling with HDR enabled...

_CLs_html><head><link rel="stylesheet" href="themes/standard.css" type="text/css"></head><body topmargin=2 leftmargin=2>




Quote
Re: Bounce Light Woes
Posted by omegaslayer on Mon Jan 9th at 2:09am 2006


Check your lightmaps, maybe there is a problem there.






Quote
Re: Bounce Light Woes
Posted by CLs on Mon Jan 9th at 9:55pm 2006


Thanks all for your help, but after a looong look through my map, compileing and recompiling, I located the source of the error.

It was either that the inner bright angle on one of my light_spots was set too high (Is there a limit that I don`t know of?) or I found another whose inner and outer angles were set the same (Is this not allow?)

_CLs_




_CLs_



Quote
Re: Bounce Light Woes
Posted by Captain P on Mon Jan 9th at 11:10pm 2006


What angles did you gave these spotlights then? A limit to an angle sounds more logic than a problem caused by the inner and outer angles being the same...






Quote
Re: Bounce Light Woes
Posted by CLs on Mon Jan 9th at 11:33pm 2006


If my memory serves me correct they were set to the followings values:

-Inner Bright Angle = 55
-Inner Fading Angle =75

_CLs_





_CLs_



Quote
Re: Bounce Light Woes
Posted by omegaslayer on Wed Jan 11th at 9:05am 2006


Are you compiling with HRD? I just noticed that in light ents there are HDR light values that are -1,-1,-1. I noticed that your bounces are also -1,-1,-1. Maybe your problem lies with trying to compile with HDR lighting.






Quote
Re: Bounce Light Woes
Posted by DrGlass on Wed Jan 11th at 4:27pm 2006


"WARNING: Cluster portals saw into cluster"

This (as I recall) has to do with crazy brush work. It could have been part of oyur problem. I doubt it was your spot light, you can set them any way you'd like and they should still work 55 and 75 are quite safe.

Use the "cordon" tool to compile small parts of your map at once, see if your lights work after that. Its best to try and narrow down the area that your problem is part of when your trying to find it.

You may also want to try and open your map, delete everything in it then make a small room with a light or two in it, save that under a diffrent name (SAVE AS...) and compile it. If it works fine then you know its a problem with some area of your map, if it still dosen't work you may want to try and copy/paste your whole map into a new hammer window and re-save it (it is strange but it has worked for me from time to time).




Quote
Re: Bounce Light Woes
Posted by Myrk- on Wed Jan 11th at 5:56pm 2006


Why have you got 34 bounce gatherlights? Most people just use 8 or so maximum.


-[Better to be Honest than Kind]-



Quote
Re: Bounce Light Woes
Posted by CLs on Wed Jan 11th at 9:40pm 2006


Omega no I am not compiling with HDR enabled as to my knowleage its not propely implemented in HL2DM yet and the -1,-1,-1 values in the light ents just means that it is the same colour settings for HDR Lighting as it is for the normal lighting. (LDR)

DrGlass thanks for the suggestion but I have already solved the problem as stated in my previous post...but I will look around to see if I any brushwork the needs tweaking for optimization sake and maybe get rid of that Cluster portals error..but at present my map compiles and runs fine...

Myrk

I got those high # of bounces when I had the problem, but after I solved it its back down to a healthy ten...

_CLs_





Quote
Re: Bounce Light Woes
Posted by wil5on on Wed Jan 11th at 11:02pm 2006


Myrk: This is HL2. It defaults to 100 bounces or until its not adding a significant amount of light each bounce, whichever happens first.


&quot;If you talk at all during this lesson, you have detention. Do you understand?&quot;
- My yr11 Economics teacher




Post Reply