Func_viscluster Support
#507 posted by Qmaster on 2016/09/16 04:32:51
@ericw: I'm curious if it would be possible to add support for func_viscluster brushes in order to negate large open spaces. I'm of course assuming that vis leafs automatically chop up empty space into leafs every 1024 units. https://developer.valvesoftware.com/wiki/Func_viscluster
Spikespasm:
Host_Error: Mod_LoadLeafs: 121741 leafs exceeds limit of 70000.
#508 posted by ericw on 2016/09/16 04:44:11
AFAIK, there is no chopping of space every 1024 units in this qbsp, that feature was added in quake 2's.
func_viscluster - this sounds like purely something to speed up the vis computation. It's probably possible to add to Q1 tools, it wouldn't help with reducing the number of leafs though.
Strange Bounce Bug
#509 posted by PRITCHARD on 2016/09/19 09:25:04
This just popped up now as I'm working on my map. Bounce lighting started generating random black spots in this one room of my level:
screenshot 1
Here's how it looks with bounce lighting turned off:
screenshot 2
Any idea what's causing this? I was changing my light entities around, but I can't figure out what I did that caused this. Has anyone even seen this before? Help would be greatly appreciated :s
#510 posted by PRITCHARD on 2016/09/19 09:31:25
At least somebody's happy about this...
I tried running the map through 0.15.5 and the issue went away. I'm guessing then that this is an issue caused by the new approximation methods in 0.15.7...
I Should Really Try Before I Speak...
#511 posted by PRITCHARD on 2016/09/19 09:33:44
I hate making a third post like this, but I tend to write in a very "stream of consciousness" manner... Anyway, I tried the -novisapprox flag on the command line and the issue persisted, so that's not the problem.
Weird
#512 posted by ericw on 2016/09/19 09:34:36
I've never seen that, definitely a bug. mind sending me the bsp?
#513 posted by PRITCHARD on 2016/09/19 09:49:18
Sure, I just shot off an email.
I'm guessing it is some kind of regression from 0.15.5, although I couldn't say what other than that it seems to be bounce-related.
Fixed!
#514 posted by PRITCHARD on 2016/09/20 11:01:34
I got an email back from eric and the bug was fixed. Thanks for the quick response! :)
Please Help Me?
#515 posted by Newhouse on 2016/09/21 20:30:33
#516 posted by khreathor on 2016/09/21 20:46:03
can you turn off texture filtering in game and see if this still happens?
#517 posted by metlslime on 2016/09/21 20:52:55
bilinear filtering -- the last row of pixels blends with the first row of pixels, since it's a tiling texture.
#518 posted by Rick on 2016/09/21 21:43:22
In the black/red colored view it looks like the texture is mirror imaged. Is it one continuous surface going from from red to black or is it actually two different brushes?
Rick
#519 posted by Newhouse on 2016/09/21 22:25:28
It is same exact texture but one of axis is mirrored "-1" it is 128x128pxl, and those brushes are exactly 128x128 and next to each other.. so filtering is making this to happen, that is looks like it is.. like 0.5 pixels or something?
#520 posted by Newhouse on 2016/09/21 22:26:58
..so filtering is making it to look, like it is 0.5 pixels off or something*
#521 posted by metlslime on 2016/09/21 23:20:15
get up close and toggle between gl_nearest and gl_linear and you'll understand what's happening. You'll need to hide this pixel-wide blend by not using the full width of the texture on that polygon. Either scale it up slightly or make the polygon slightly smaller.
#522 posted by Newhouse on 2016/09/22 16:21:30
Thanks metslime, I haven't tried scaling up yet - maybe that will work.
#523 posted by Rick on 2016/09/22 16:57:40
Any time there is a difference between the textures on adjoining surfaces there will be a noticeable line if GL filtering is used.
I call them GL seams, and any kind of rotation, x/y shift, flip, mirror, etc. will cause it. Even just pixel color differences will cause it.
#524 posted by Newhouse on 2016/09/22 17:52:55
It is interesting.. it really looks like there isn't different pixels in this case, if I understood what you meant by that. I have no clue how GL filtering works, so basically I can't avoid these things to happen.
For example I should create texture that points out on every main angle? Then I should have seamless street texture to fill everything in middle.. I was trying to create streets which has some messy garbage on both sides but middle is a lot cleaner. It really seems like that brown/black line in middle is like texture's starting pixel line, because its end and beginning has different pixel colors. The way GL filtering works.. does it look every texture individually and doesn't care about rotation, x/y shift, flip, mirror at all and that is why something like this happens sometimes?
#525 posted by Newhouse on 2016/09/22 17:55:05
Does it try to blend blend pixels with next pixels.. if I offset it by 1 it is already in beginning, so it tries to blend with those pixels?
#526 posted by Rick on 2016/09/22 18:17:01
What I did when making a series of similar textures was to create one common frame to use for all. Basically just the outer 1 pixel border of a 64x64 square. I used that to make different variations where the middle part was different but the pixels around all four edges are exactly the same for all.
For 128x128, I just repeated the 64x64 frame. Textures made this way have no GL filter seam/line as long as they meet at the 64 unit boundaries.
To make sure no weird texture alignments happen, I never use texture lock. I only turn it on if I really need it.
It Blends The Next Pixels, So Yes The Dark Pixels Are Wrapped Around
#527 posted by Qmaster on 2016/09/22 20:03:04
I thought we would have moved on from GL filtering as a society by now. Horrible concept really. Yay filtering. Let's blur all the textures. No glasses for you and contacts thrown away for you and baske in the glory that is nearsightedness on a screen.
</endrant>
(P.S. I'm nearly blind and need powerful contacts so I may be biased.)
Also this blending is not a compiler issue. The adjacent face has a different texture alignment and therefore is split into a separate face for blending purposes but thats the extent of compiler related.
#528 posted by Newhouse on 2016/09/22 20:03:06
I might have used texture lock too much.. sometimes it was just left pressed down. Checking something like that multiple times, especially when placing lamps and such things confuses a bit.
I must be weird, because in some cases I want to have more control over things how wide/high some brushes should be.. and if there is only texture available that is 32x32 for example, but I want it to be 16x32 or 32x16 I have to cut it and offset other half so 'borders' are in right place. Creating new textures sounds like, I would probably fail at trying, I'm not an 2d artist by any mean.
#529 posted by Mugwump on 2016/09/22 20:12:37
You could split an existing texture in two halves in PhotoShop, then use them in your maps. This way you wouldn't have to offset your textures, which can be tedious.
Its So Simple To Fix
#530 posted by Kinn on 2016/09/22 20:56:49
Just make the road so there's three brushes across the width instead of just two.
#531 posted by Newhouse on 2016/09/22 21:01:08
Thanks Kinn, but I also tried out.. scaling up a bit and it worked. But if I need to do wider roads.. then I need to use your advice.
|