ClipSkyPolygon:MAX_CLIP_VERTS
Post Reply
Quote
Re: ClipSkyPolygon:MAX_CLIP_VERTS
Posted by Tracer Bullet on Fri Oct 1st at 7:21pm 2004


This was an in-game error reported to me by a play tester. Has anyone encountered it before or know of a solution?

Doing a google search for the error only turned up Q3 stuff. nothing I could use.





Quote
Re: ClipSkyPolygon:MAX_CLIP_VERTS
Posted by Captain P on Fri Oct 1st at 8:11pm 2004


Sounds like a maximum clipping vertices on a sky polygon, but what that's supposed to mean... Do you have some particularly complex sky brush in your map or something?

With what render mode did that playtester play? Did others get the error too or was it just him only?
[addsig]




Quote
Re: ClipSkyPolygon:MAX_CLIP_VERTS
Posted by Pvt.Scythe on Fri Oct 1st at 8:22pm 2004


On what map did this happen? I haven't encountered anything like this before and I've been fiddling around with HL mapping for some time now... [addsig]



Quote
Re: ClipSkyPolygon:MAX_CLIP_VERTS
Posted by Tracer Bullet on Fri Oct 1st at 9:35pm 2004


I don't have any more info than what I've given. The guy who reported the problem hasn't responded to my questions yet.

I do in fact have a slightly complex sky setup in the area where the error was reported, but it is nothing that could be described as complex brushwork. it's just not quite as simple as the usual sky-box. I s'pose it must be to blame, although I can't see how.

The error is in DoD_Dessau.





Quote
Re: ClipSkyPolygon:MAX_CLIP_VERTS
Posted by Captain P on Fri Oct 1st at 9:47pm 2004


But you don't encounter the error yourself? Nor does anyone else?
[addsig]




Quote
Re: ClipSkyPolygon:MAX_CLIP_VERTS
Posted by Tracer Bullet on Fri Oct 1st at 10:45pm 2004


No. I've never had the error myself, and as far as I know, neither has anyone else.



Quote
Re: ClipSkyPolygon:MAX_CLIP_VERTS
Posted by Yak_Fighter on Fri Oct 1st at 11:22pm 2004


post a compile log and maybe that'll reveal something





Quote
Re: ClipSkyPolygon:MAX_CLIP_VERTS
Posted by Tracer Bullet on Sat Oct 2nd at 12:39am 2004


All I've got is a couple of leaf-portal errors that I have not gotten around to fixing yet...

hlcsg v2.5.3 rel Custom Build 1.7p15 (Jun 3 2004)
Zoner's Half-Life Compilation Tools -- Custom Build
Based on code modifications by Sean 'Zoner' Cavanaugh
Based on Valve's version, modified with permission.
Submit detailed bug reports to (webmaster@xp-cagey.com)
----- BEGIN hlcsg -----
Command line: C:OBADIAHCOMPILEZHLTxp_cageyp15HLCSG.EXE C:ObadiahCompileMapsdod_dessaudod_Dessau_c12.map -chart -texdata 8192 -wadinclude c:obadiahcompilewadslights.wad -wadinclude c:obadiahcompilewadsdewood.wad -wadinclude c:obadiahcompilewadsspawnpro.wad -cliptype precise
Entering C:ObadiahCompileMapsdod_dessaudod_Dessau_c12.map

Current hlcsg Settings
Name | Setting | Default
---------------------|-----------|-------------------------
threads [ 1 ] [ Varies ]
verbose [ off ] [ off ]
log [ on ] [ on ]
developer [ 0 ] [ 0 ]
chart [ on ] [ off ]
estimate [ off ] [ off ]
max texture memory [ 8388608 ] [ 4194304 ]
max lighting memory [ 6291456 ] [ 6291456 ]
priority [ Normal ] [ Normal ]

noclip [ off ] [ off ]
null texture stripping[ on ] [ on ]
clipnode economy mode [ on ] [ on ]
clip hull type [ precise ] [ legacy ]
onlyents [ off ] [ off ]
wadtextures [ on ] [ on ]
skyclip [ on ] [ on ]
hullfile [ None ] [ None ]
nullfile [ None ] [ None ]
min surface area [ 0.500 ] [ 0.500 ]
brush union threshold [ 0.000 ] [ 0.000 ]

Using mapfile wad configuration
Wadinclude list :
[zhlt.wad]
[c:obadiahcompilewadslights.wad]
[c:obadiahcompilewadsdewood.wad]
[c:obadiahcompilewadsspawnpro.wad]

369 brushes (totalling 2391 sides) discarded from clipping hulls
CreateBrush:
(62.70 seconds)
SetModelCenters:
(0.00 seconds)
CSGBrush:
(26.33 seconds)

Object names Objects/Maxobjs Memory / Maxmem Fullness
------------ --------------- --------------- --------
models 0/400 0/25600 ( 0.0%)
planes 53596/32768 1071920/655360 (163.6%)
vertexes 0/65535 0/786420 ( 0.0%)
nodes 0/32767 0/786408 ( 0.0%)
texinfos 6100/32767 244000/1310680 (18.6%)
faces 0/65535 0/1310700 ( 0.0%)
clipnodes 0/32767 0/262136 ( 0.0%)
leaves 0/8192 0/229376 ( 0.0%)
marksurfaces 0/65535 0/131070 ( 0.0%)
surfedges 0/512000 0/2048000 ( 0.0%)
edges 0/256000 0/1024000 ( 0.0%)
texdata [variable] 0/8388608 ( 0.0%)
lightdata [variable] 0/6291456 ( 0.0%)
visdata [variable] 0/2097152 ( 0.0%)
entdata [variable] 0/524288 ( 0.0%)
0 textures referenced
=== Total BSP file data space used: 1315920 bytes ===

Using Wadfile: c:obadiahcompilewadsgfx.wad
- Contains 0 used textures, 0.00 percent of map (7 textures in wad)
Using Wadfile: c:obadiahcompilewadshlbasics.wad
- Contains 8 used textures, 9.76 percent of map (21 textures in wad)
Using Wadfile: c:obadiahcompilewadsdod_forest.wad
- Contains 34 used textures, 41.46 percent of map (71 textures in wad)
Including Wadfile: c:obadiahcompilewadsdewood.wad
- Contains 2 used textures, 2.44 percent of map (10 textures in wad)
Using Wadfile: c:obadiahcompilewadsdod_anzio.wad
- Contains 23 used textures, 28.05 percent of map (133 textures in wad)
Including Wadfile: c:obadiahcompilewadslights.wad
- Contains 1 used texture, 1.22 percent of map (4 textures in wad)
Including Wadfile: c:obadiahcompilewadsspawnpro.wad
- Contains 2 used textures, 2.44 percent of map (2 textures in wad)
Using Wadfile: c:obadiahcompilewadsdod_sturm.wad
- Contains 12 used textures, 14.63 percent of map (60 textures in wad)

Texture usage is at 3.62 mb (of 8.00 mb MAX)
92.03 seconds elapsed [1m 32s]

----- END hlcsg -----

hlbsp v2.5.3 rel Custom Build 1.7p15 (Jun 3 2004)
Zoner's Half-Life Compilation Tools -- Custom Build
Based on code modifications by Sean 'Zoner' Cavanaugh
Based on Valve's version, modified with permission.
Submit detailed bug reports to (webmaster@xp-cagey.com)
----- BEGIN hlbsp -----
Command line: C:OBADIAHCOMPILEZHLTxp_cageyp15HLBSP.EXE C:ObadiahCompileMapsdod_dessaudod_Dessau_c12.map -chart -estimate -texdata 8192

Current hlbsp Settings
Name | Setting | Default
-------------------|-----------|-------------------------
threads [ 1 ] [ Varies ]
verbose [ off ] [ off ]
log [ on ] [ on ]
developer [ 0 ] [ 0 ]
chart [ on ] [ off ]
estimate [ on ] [ off ]
max texture memory [ 8388608 ] [ 4194304 ]
priority [ Normal ] [ Normal ]

noclip [ off ] [ off ]
nofill [ off ] [ off ]
noopt [ off ] [ off ]
null tex. stripping [ on ] [ on ]
notjunc [ off ] [ off ]
subdivide size [ 240 ] [ 240 ] (Min 64) (Max 512)
max node size [ 1024 ] [ 1024 ] (Min 64) (Max 8192)


SolidBSP [hull 0] 500...1000...1500...2000...2500...3000...3500...4000...4500...5000...5500...6000...6500...7000...7500...
8000...8500...9000...9500...10000...10500...10523 (1.84 seconds)
BSP generation successful, writing portal file 'C:ObadiahCompileMapsdod_dessaudod_Dessau_c12.prt'
SolidBSP [hull 1] 500...1000...1500...2000...2500...3000...3500...4000...4500...5000...5500...6000...6500...7000...7500...
8000...8500...9000...9500...10000...10181 (5.44 seconds)
SolidBSP [hull 2] 500...1000...1500...2000...2500...3000...3500...4000...4500...5000...5500...6000...6500...7000...7500...
8000...8500...8757 (2.83 seconds)
SolidBSP [hull 3] 500...1000...1500...2000...2500...3000...3500...4000...4500...5000...5500...6000...6500...7000...7500...
8000...8500...9000...9500...10000...10500...11000...11210 (8.22 seconds)

Object names Objects/Maxobjs Memory / Maxmem Fullness
------------ --------------- --------------- --------
models 281/400 17984/25600 (70.3%)
planes 8696/32768 173920/655360 (26.5%)
vertexes 20172/65535 242064/786420 (30.8%)
nodes 10734/32767 257616/786408 (32.8%)
texinfos 6100/32767 244000/1310680 (18.6%)
faces 16753/65535 335060/1310700 (25.6%)
clipnodes 23595/32767 188760/262136 (72.0%)
leaves 6172/8192 172816/229376 (75.3%)
marksurfaces 19863/65535 39726/131070 (30.3%)
surfedges 75099/512000 300396/2048000 (14.7%)
edges 38379/256000 153516/1024000 (15.0%)
texdata [variable] 45892/8388608 ( 0.5%)
lightdata [variable] 0/6291456 ( 0.0%)
visdata [variable] 0/2097152 ( 0.0%)
entdata [variable] 71779/524288 (13.7%)
82 textures referenced
=== Total BSP file data space used: 2243529 bytes ===
47.50 seconds elapsed

----- END hlbsp -----

hlvis v2.5.3 rel Custom Build 1.7p15 (Jun 3 2004)
Zoner's Half-Life Compilation Tools -- Custom Build
Based on code modifications by Sean 'Zoner' Cavanaugh
Based on Valve's version, modified with permission.
Submit detailed bug reports to (webmaster@xp-cagey.com)
----- BEGIN hlvis -----
Command line: C:OBADIAHCOMPILEZHLTxp_cageyp15hlvis.EXE C:ObadiahCompileMapsdod_dessaudod_Dessau_c12.map -chart -estimate -texdata 8192 -full
3534 portalleafs
10098 numportals

-= Current hlvis Settings =-
Name | Setting | Default
-------------------|-----------|-------------------------
threads [ 1 ] [ Varies ]
verbose [ off ] [ off ]
log [ on ] [ on ]
developer [ 0 ] [ 0 ]
chart [ on ] [ off ]
estimate [ on ] [ off ]
max texture memory [ 8388608 ] [ 4194304 ]
max vis distance [ 0 ] [ 0 ]
priority [ Normal ] [ Normal ]

fast vis [ off ] [ off ]
full vis [ on ] [ off ]


BasePortalVis:
(31.30 seconds)
LeafThread:
(1450.31 seconds)
Warning: Leaf portals saw into leaf
Problem at portal between leaves 1124 and 1140:
(1725.023 185.385 -455.947)
(1725.086 185.469 -455.988)
(1726.984 189.897 -454.090)
(1714.046 184.722 -425.625)

Warning: Leaf portals saw into leaf
Problem at portal between leaves 1301 and 1303:
(2752.000 -1072.000 -512.000)
(2752.000 -768.000 -512.000)
(2752.000 -768.000 -512.000)
(2887.385 -903.385 -432.000)
(2887.385 -936.615 -432.000)

Warning: Leaf portals saw into leaf
Problem at portal between leaves 2559 and 2558:
(-60.000 224.000 -418.000)
(-120.000 224.000 -448.000)
(-120.001 223.999 -448.000)
(-64.000 312.000 -464.000)
(16.000 312.000 -424.000)
(-41.600 241.600 -417.600)

average leafs visible: 249
g_visdatasize:310078 compressed from 1562028

Object names Objects/Maxobjs Memory / Maxmem Fullness
------------ --------------- --------------- --------
models 281/400 17984/25600 (70.3%)
planes 8696/32768 173920/655360 (26.5%)
vertexes 20172/65535 242064/786420 (30.8%)
nodes 10734/32767 257616/786408 (32.8%)
texinfos 6100/32767 244000/1310680 (18.6%)
faces 16753/65535 335060/1310700 (25.6%)
clipnodes 23595/32767 188760/262136 (72.0%)
leaves 6172/8192 172816/229376 (75.3%)
marksurfaces 19863/65535 39726/131070 (30.3%)
surfedges 75099/512000 300396/2048000 (14.7%)
edges 38379/256000 153516/1024000 (15.0%)
texdata [variable] 45892/8388608 ( 0.5%)
lightdata [variable] 0/6291456 ( 0.0%)
visdata [variable] 310078/2097152 (14.8%)
entdata [variable] 71779/524288 (13.7%)
82 textures referenced
=== Total BSP file data space used: 2553607 bytes ===
1482.03 seconds elapsed [24m 42s]

----- END hlvis -----

hlrad v2.5.3 rel Custom Build 1.7p15 (Jun 3 2004)
Zoner's Half-Life Compilation Tools -- Custom Build
Based on code modifications by Sean 'Zoner' Cavanaugh
Based on Valve's version, modified with permission.
Submit detailed bug reports to (webmaster@xp-cagey.com)
----- BEGIN hlrad -----
Command line: C:OBADIAHCOMPILEZHLTxp_cageyp15HLRAD.EXE C:ObadiahCompileMapsdod_dessaudod_Dessau_c12.map -chart -estimate -texdata 8192 -extra -smooth 80

-= Current hlrad Settings =-
Name | Setting | Default
--------------------|---------------------|-------------------------
threads [ 1 ] [ Varies ]
verbose [ off ] [ off ]
log [ on ] [ on ]
developer [ 0 ] [ 0 ]
chart [ on ] [ off ]
estimate [ on ] [ off ]
max texture memory [ 8388608 ] [ 4194304 ]
max lighting memory [ 6291456 ] [ 6291456 ]
priority [ Normal ] [ Normal ]

vismatrix algorithm [ Original ] [ Original ]
oversampling (-extra)[ on ] [ off ]
bounces [ 1 ] [ 1 ]
bounce dynamic light [ on ] [ on ]
ambient light [ 0.000 0.000 0.000 ] [ 0.000 0.000 0.000 ]
maximum light [ 255.000 ] [ 256.000 ]
circus mode [ off ] [ off ]

smoothing threshold [ 80.000 ] [ 50.000 ]
direct threshold [ 25.000 ] [ 25.000 ]
direct light scale [ 2.000 ] [ 2.000 ]
coring threshold [ 1.000 ] [ 1.000 ]
patch interpolation [ on ] [ on ]

texscale [ on ] [ on ]
patch subdividing [ on ] [ on ]
chop value [ 64.000 ] [ 64.000 ]
texchop value [ 32.000 ] [ 32.000 ]

global fade [ 1.000 ] [ 1.000 ]
global falloff [ 2 ] [ 2 ]
global light scale [ 1.000 1.000 1.000 ] [ 1.000 1.000 1.000 ]
global gamma [ 0.500 0.500 0.500 ] [ 0.500 0.500 0.500 ]
global light scale [ 1.000 ] [ 1.000 ]
global sky diffusion [ 1.000 ] [ 1.000 ]

opaque entities [ on ] [ on ]
sky lighting fix [ on ] [ on ]
incremental [ off ] [ off ]
dump [ off ] [ off ]

colour jitter [ 0.0 0.0 0.0 ] [ 0.0 0.0 0.0 ]
monochromatic jitter [ 0.0 0.0 0.0 ] [ 0.0 0.0 0.0 ]
softlight hack [ 0.0 0.0 0.0 0.0 ] [ 0.0 0.0 0.0 0.0 ]
diffuse hack [ on ] [ on ]
spotlight points [ on ] [ on ]

custom shadows with bounce light
[ off ] [ off ]
rgb transfers [ off ] [ off ]


[Reading texlights from 'C:ObadiahCompileMapsdod_dessaudod_Dessau_c12.rad']
[2 texlights parsed from 'C:ObadiahCompileMapsdod_dessaudod_Dessau_c12.rad']

16753 faces
Create Patches : 62612 base patches
0 opaque faces
439075 square feet [63226880.00 square inches]
884 direct lights

BuildFacelights:
(597.03 seconds)
visibility matrix : 233.7 megs
BuildVisLeafs:
(343.44 seconds)
MakeScales:
(264.61 seconds)
SwapTransfers:
(30.09 seconds)
Transfer Lists : 50077388 : 50.08M transfers
Indices : 31260036 : 29.81M bytes
Data : 200309552 : 191.03M bytes
GatherLight:
(8.91 seconds)
FinalLightFace:
(2.95 seconds)

Object names Objects/Maxobjs Memory / Maxmem Fullness
------------ --------------- --------------- --------
models 281/400 17984/25600 (70.3%)
planes 8696/32768 173920/655360 (26.5%)
vertexes 20172/65535 242064/786420 (30.8%)
nodes 10734/32767 257616/786408 (32.8%)
texinfos 6100/32767 244000/1310680 (18.6%)
faces 16753/65535 335060/1310700 (25.6%)
clipnodes 23595/32767 188760/262136 (72.0%)
leaves 6172/8192 172816/229376 (75.3%)
marksurfaces 19863/65535 39726/131070 (30.3%)
surfedges 75099/512000 300396/2048000 (14.7%)
edges 38379/256000 153516/1024000 (15.0%)
texdata [variable] 45892/8388608 ( 0.5%)
lightdata [variable] 1472250/6291456 (23.4%)
visdata [variable] 310078/2097152 (14.8%)
entdata [variable] 71779/524288 (13.7%)
82 textures referenced
=== Total BSP file data space used: 4025857 bytes ===
1251.13 seconds elapsed [20m 51s]

----- END hlrad -----





Quote
Re: ClipSkyPolygon:MAX_CLIP_VERTS
Posted by G.Ballblue on Sat Oct 2nd at 1:06am 2004


I have had a few probems where a leaf portal saw into leaf would cause a map to crash.

Alls I can think of is to fix the saws then see what happens :

Edit: Why is this post making the page go wonky!?!?

[addsig]




Quote
Re: ClipSkyPolygon:MAX_CLIP_VERTS
Posted by Rumple on Sat Oct 2nd at 10:14am 2004


its not :S
[addsig]




Quote
Re: ClipSkyPolygon:MAX_CLIP_VERTS
Posted by Tracer Bullet on Thu Oct 7th at 7:18am 2004


As it turns out the error is not reproducible. I dono if this should be marked answered or not, as I do not think we'vre really resolved anything.

I plan on revamping my sky architecture and hope that fixes things, but I can't really do any tests to see if it does.

[addsig]




Quote
Re: ClipSkyPolygon:MAX_CLIP_VERTS
Posted by Leperous on Thu Oct 7th at 9:39am 2004


Tell us how you fixed the problem (if you did) and it'll be marked answered...

One error I see is in CSG, which I can imagine will be b0rking your map- planes 53596/32768 1071920/655360 (163.6%)

Fix this (by deleting some faces- you've been clipping or whatever way too much) and all should be well.





Quote
Re: ClipSkyPolygon:MAX_CLIP_VERTS
Posted by Tracer Bullet on Thu Oct 7th at 3:19pm 2004


Well, I'm using XP-Cagey's tools for just that reason, and you can see that they are well within the limits by the time they are reduced.

planes 8696/32768 173920/655360 (26.5%)

The problem is that I cannot try any of these potential solutions because I myself have never experienced the error, and it turns out that the player who found it can't make it happen again.

It seems to refer to a sky polygon, and my sky brushes in the area are somewhat complicated, so I'm going to simplify them and hope that solves it. I'll also track down those leaf_portal errors but I rather doubt they are the cause.





Quote
Re: ClipSkyPolygon:MAX_CLIP_VERTS
Posted by Gorbachev on Sat Oct 16th at 7:15am 2004


leaf portal errors cause erratic problems, they're often not the true "problem" but refer to something else, which if the statement of the other guy is true would most likely be a result of that issue. Often just rebuilding the brushes listed in the leaf portal problems will remove the problem. [addsig]




Post Reply