ClipSkyPolygon:MAX_CLIP_VERTS

ClipSkyPolygon:MAX_CLIP_VERTS

Re: ClipSkyPolygon:MAX_CLIP_VERTS Posted by Tracer Bullet on Fri Oct 1st 2004 at 7:21pm
Tracer Bullet
2271 posts
Posted 2004-10-01 7:21pm
2271 posts 445 snarkmarks Registered: May 22nd 2003 Occupation: Graduate Student (Ph.D) Location: Seattle WA, USA
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.
Re: ClipSkyPolygon:MAX_CLIP_VERTS Posted by Captain P on Fri Oct 1st 2004 at 8:11pm
Captain P
1370 posts
Posted 2004-10-01 8:11pm
1370 posts 1995 snarkmarks Registered: Nov 6th 2003 Occupation: Game-programmer Location: Netherlands
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?
Re: ClipSkyPolygon:MAX_CLIP_VERTS Posted by Pvt.Scythe on Fri Oct 1st 2004 at 8:22pm
Pvt.Scythe
730 posts
Posted 2004-10-01 8:22pm
730 posts 113 snarkmarks Registered: Sep 19th 2004 Occupation: student Location: Finland
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...
Re: ClipSkyPolygon:MAX_CLIP_VERTS Posted by Tracer Bullet on Fri Oct 1st 2004 at 9:35pm
Tracer Bullet
2271 posts
Posted 2004-10-01 9:35pm
2271 posts 445 snarkmarks Registered: May 22nd 2003 Occupation: Graduate Student (Ph.D) Location: Seattle WA, USA
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.
Re: ClipSkyPolygon:MAX_CLIP_VERTS Posted by Captain P on Fri Oct 1st 2004 at 9:47pm
Captain P
1370 posts
Posted 2004-10-01 9:47pm
1370 posts 1995 snarkmarks Registered: Nov 6th 2003 Occupation: Game-programmer Location: Netherlands
But you don't encounter the error yourself? Nor does anyone else?
Re: ClipSkyPolygon:MAX_CLIP_VERTS Posted by Tracer Bullet on Fri Oct 1st 2004 at 10:45pm
Tracer Bullet
2271 posts
Posted 2004-10-01 10:45pm
2271 posts 445 snarkmarks Registered: May 22nd 2003 Occupation: Graduate Student (Ph.D) Location: Seattle WA, USA
No. I've never had the error myself, and as far as I know, neither has anyone else.
Re: ClipSkyPolygon:MAX_CLIP_VERTS Posted by Yak_Fighter on Fri Oct 1st 2004 at 11:22pm
Yak_Fighter
1832 posts
Posted 2004-10-01 11:22pm
1832 posts 742 snarkmarks Registered: Dec 30th 2001 Occupation: College Student/Slacker Location: Indianapolis, IN
post a compile log and maybe that'll reveal something
Re: ClipSkyPolygon:MAX_CLIP_VERTS Posted by Tracer Bullet on Sat Oct 2nd 2004 at 12:39am
Tracer Bullet
2271 posts
Posted 2004-10-02 12:39am
2271 posts 445 snarkmarks Registered: May 22nd 2003 Occupation: Graduate Student (Ph.D) Location: Seattle WA, USA
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:\OBADIAH\COMPILE\ZHLT\xp_cagey\p15\HLCSG.EXE C:\Obadiah\Compile\Maps\dod_dessau\dod_Dessau_c12.map -chart -texdata 8192 -wadinclude c:\obadiah\compile\wads\lights.wad -wadinclude c:\obadiah\compile\wads\dewood.wad -wadinclude c:\obadiah\compile\wads\spawnpro.wad -cliptype precise
Entering C:\Obadiah\Compile\Maps\dod_dessau\dod_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:\obadiah\compile\wads\lights.wad]
[c:\obadiah\compile\wads\dewood.wad]
[c:\obadiah\compile\wads\spawnpro.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:\obadiah\compile\wads\gfx.wad
  • Contains 0 used textures, 0.00 percent of map (7 textures in wad)
Using Wadfile: c:\obadiah\compile\wads\hlbasics.wad
  • Contains 8 used textures, 9.76 percent of map (21 textures in wad)
Using Wadfile: c:\obadiah\compile\wads\dod_forest.wad
  • Contains 34 used textures, 41.46 percent of map (71 textures in wad)
Including Wadfile: c:\obadiah\compile\wads\dewood.wad
  • Contains 2 used textures, 2.44 percent of map (10 textures in wad)
Using Wadfile: c:\obadiah\compile\wads\dod_anzio.wad
  • Contains 23 used textures, 28.05 percent of map (133 textures in wad)
Including Wadfile: c:\obadiah\compile\wads\lights.wad
  • Contains 1 used texture, 1.22 percent of map (4 textures in wad)
Including Wadfile: c:\obadiah\compile\wads\spawnpro.wad
  • Contains 2 used textures, 2.44 percent of map (2 textures in wad)
Using Wadfile: c:\obadiah\compile\wads\dod_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:\OBADIAH\COMPILE\ZHLT\xp_cagey\p15\HLBSP.EXE C:\Obadiah\Compile\Maps\dod_dessau\dod_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:\Obadiah\Compile\Maps\dod_dessau\dod_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:\OBADIAH\COMPILE\ZHLT\xp_cagey\p15\hlvis.EXE C:\Obadiah\Compile\Maps\dod_dessau\dod_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:\OBADIAH\COMPILE\ZHLT\xp_cagey\p15\HLRAD.EXE C:\Obadiah\Compile\Maps\dod_dessau\dod_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 ]
Re: ClipSkyPolygon:MAX_CLIP_VERTS Posted by G.Ballblue on Sat Oct 2nd 2004 at 1:06am
G.Ballblue
1511 posts
Posted 2004-10-02 1:06am
1511 posts 211 snarkmarks Registered: May 16th 2004 Occupation: Student Location: A secret Nuclear Bunker on Mars
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!?!?
Re: ClipSkyPolygon:MAX_CLIP_VERTS Posted by Rumple on Sat Oct 2nd 2004 at 10:14am
Rumple
518 posts
Posted 2004-10-02 10:14am
Rumple
member
518 posts 72 snarkmarks Registered: Aug 22nd 2001 Occupation: Web Dev Location: NSW, Australia
its not :S
Re: ClipSkyPolygon:MAX_CLIP_VERTS Posted by Tracer Bullet on Thu Oct 7th 2004 at 7:18am
Tracer Bullet
2271 posts
Posted 2004-10-07 7:18am
2271 posts 445 snarkmarks Registered: May 22nd 2003 Occupation: Graduate Student (Ph.D) Location: Seattle WA, USA
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.
Re: ClipSkyPolygon:MAX_CLIP_VERTS Posted by Leperous on Thu Oct 7th 2004 at 9:39am
Leperous
3382 posts
Posted 2004-10-07 9:39am
Leperous
Creator of SnarkPit!
member
3382 posts 1635 snarkmarks Registered: Aug 21st 2001 Occupation: Lazy student Location: UK
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.
Re: ClipSkyPolygon:MAX_CLIP_VERTS Posted by Tracer Bullet on Thu Oct 7th 2004 at 3:19pm
Tracer Bullet
2271 posts
Posted 2004-10-07 3:19pm
2271 posts 445 snarkmarks Registered: May 22nd 2003 Occupation: Graduate Student (Ph.D) Location: Seattle WA, USA
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%)


[color=white]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. [/color]

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.

Re: ClipSkyPolygon:MAX_CLIP_VERTS Posted by Gorbachev on Sat Oct 16th 2004 at 7:15am
Gorbachev
1569 posts
Posted 2004-10-16 7:15am
1569 posts 264 snarkmarks Registered: Dec 1st 2002 Location: Vancouver, BC, Canada
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.