|
#15455 posted by mfx on 2015/09/18 19:36:17
Well, i had the intent to document my experiences with all those errors (and how to fix them) anyway.
Thing is, i probably need visual examples, be it drawings or map snippets to explain this in detail.
But, for those errors to appear in thousands, you prolly have to raise the machine epsilon first.
Try a value of -epsilon 0.0125, raising in 0.0025 steps.
I compile often, just to look at the output, not loading the map in engine. I do this regularly, after adding rooms, rockwork, special detailed structures..
So i am able to nail those errors down very early, not having to check whole maps afterwards.
Next thing to check are those suspicious coords like having a vertex at 800 -64 - 128.0000023.
Those are the bane mostly, locking them to grid fixes portal cut away errors, at least for me.
When i find a portal error i cant fix with above methods/precautions, i make a new small brush at the specified coords, and look to "expand" existing brushwork to cover that brush.
Can be anything, pillars, more rocky wobbles, anything. Usually this all leaves me with no errors in the end.
I admit, the "real" reason for those is cloudy to me too, looking at the src left me shaking my head til dizzyness. :)
More later, must consult a friend.
OK
#15456 posted by mfx on 2015/09/18 19:53:06
floating point stuff is the main reason for those errors to appear, just reassured. Build stuff on grid!
#15457 posted by JneeraZ on 2015/09/18 20:52:58
Thanks a ton, man! I'll try to put that into practice on my next map and see what happens... Clean compiler output would be nice for a change. :P
Mfx... Unless You Already Know...
#15458 posted by JPL on 2015/09/18 20:56:09
You should read the Quake mapping Holy Bible, the Q1 tooltips from aguirRe (http://user.tninet.se/~xir870k/tooltips.txt)
JPL
#15459 posted by mfx on 2015/09/18 20:58:41
I recite that before going to sleep. Everyday. Out of my head...!
Good !
#15460 posted by JPL on 2015/09/18 21:00:07
You are forgiven, sinner !
Wow
#15461 posted by ericw on 2015/09/18 21:00:44
Don't remember that page, looks like a gem!
Yep Its Gold.
#15462 posted by mfx on 2015/09/18 21:08:40
And as it states, those portal cut away errors are not critical, you may end up with a total errorfree BSP that still has those errors when compiled.
Nowadays compilers aren't vulnerable to those errors, thanks to rebb and ericw!
Still you may find missing faces, small HOMs, nonsolid floors, all that jazz.
So better stackenblock* all on grid.
*stackenblocken
#15463 posted by JneeraZ on 2015/09/18 21:24:04
Well, it's less the compiler I'm concerned about and more the engine. I'm sure those errors don't help with mysterious collision problems and such.
#15464 posted by JneeraZ on 2015/09/18 21:24:16
As you said. Fuck.
#15465 posted by JneeraZ on 2015/09/18 21:27:36
"Try a value of -epsilon 0.0125, raising in 0.0025 steps. "
As a side note, Eric's QBSP has never heard of "-epsilon" ...
It Has Another Name For It?
#15466 posted by mfx on 2015/09/18 21:28:30
Eric?
It's Hardcoded To 0.0001 In Tyrutils
#15467 posted by ericw on 2015/09/18 21:33:09
I'll add -epsilon to the next build though
All Hail AguirRe
#15468 posted by ijed on 2015/09/18 23:05:52
#15469 posted by necros on 2015/09/18 23:27:14
Hmm.... Warnings = no fucks given :P
#15470 posted by JneeraZ on 2015/09/19 01:08:23
OBJ2MAP -> Warning generator
#15471 posted by necros on 2015/09/19 05:00:48
seriously though, even if i was falling through the ground... i'd just put a func_wall with skip over the invisible hole rather than bother trying to fix anything. it's faster and just as effective, not to mention transparent to the player.
I Dont Have That EA Attitude
#15472 posted by mfx on 2015/09/19 06:00:07
Necros
#15473 posted by negke on 2015/09/19 09:19:30
Drop the teenage rebellion attitude and go finish that dragon fortress!
#15474 posted by Rick on 2015/09/19 17:43:06
I always build on grid unless it's some weirdly shaped or twisted construction and rarely get cutnodeportals warnings. Most common problems they cause are small invisible walls and falling through the floor.
If there's no way to stay on grid, converting the brush(es) to func_walls will fix it, or if already on grid just smooth over with a clip brush.
Leak Fixed
#15475 posted by Ruin on 2015/09/19 20:38:47
Well I cheated a little, but I was able to get the level vis'd. I just built a box around the entire level, and then stretched the external walls from the level to meet the faces of the box's walls (that way all outer walls are closed, and are see-through when I noclip)
An amateur approach, I know, but it worked.
I'll ignore the clip warnings for now, but they are pretty annoying. Sorry mfx, I have a ghetto set up with no home internet so I'm using my phone to talk to you guys. I'll remember to send you the clipping warning when I get home.
#15476 posted by mfx on 2015/09/19 21:15:50
That expanding wall technique is a good approach, i do this too, especially on sky/closing brushes.
#15477 posted by Lunaran on 2015/09/19 22:26:14
Wait, so was qbsp writing a pointfile or not?
#15478 posted by JneeraZ on 2015/09/19 23:28:36
It doesn't always. I've had leaks with no pointfile before. Those are SUPER DUPER fun.
Did They In This Case Though?
#15479 posted by Lunaran on 2015/09/20 00:09:06
I'm just making double sure the new guys know about that sweet red leak-finding line. I didn't know about it for like the first six months of making Quake2 maps, and when someone told me about it on IRC it was like seeing the face of god.
Look for "load pointfile" under 'file' or somesuch menu, it varies by editor. Every compile that leaks (in theory) writes a yourmap.PTS or .LIN file that lists coordinates of the centers of all leaves connecting the edge of the grid to whatever entity the test hit first (it assumes all entities are inside the map, which they should be), in order.
That line (in theory, 99% of the time, unless you're doing REALLY wacky hyperdetailed slanty things) always goes right through whatever accidental microtunnel you left between brushes. If the leak appears to go through an otherwise solid brush, that brush may be fucked up somehow and getting tossed out by the compiler (there will be accompanying warnings), it may be an out of date leakfile and you didn't actually get a new one after all, or your brushwork is just amazingly dangerous.
It's also a good reminder when you just forget to build a ceiling.
|
|
You must be logged in to post in this thread.
|
Website copyright © 2002-2024 John Fitzgibbons. All posts are copyright their respective authors.
|
|