|
Well
#13689 posted by mfx on 2014/04/13 00:46:59
i forgot to mention, i used an experimental build of txqbsp_xt, which has HL facesplitting algorithm implemented (and is incredibly fast).
Switching back to older version fixed it:)
#13690 posted by necros on 2014/04/13 06:26:33
those faces are split ok. this is actually the way it usually ends up looking with any qbsp compiler.
Problem Wasnt One
#13691 posted by mfx on 2014/04/13 21:59:54
Except you don�t count my dumbness as one.
Those lighting oddities were caused by a abandoned .lit file with same filename.
Took me ages to figure that out(well, actually it was rebb who had that guess). Sorry for the disturbance, i go now standing in the corner for a while.
Sorry.
Auto Flagellation Is Demanded!
#13692 posted by ijed on 2014/04/13 22:22:06
I Already Feel The Pain, Ok?
#13693 posted by mfx on 2014/04/13 22:29:19
#13694 posted by ijed on 2014/04/13 22:30:35
Heh, I did this myself a couple of days ago, but caught it quick. Drag and drop from the build to project folder.
Yeah
#13695 posted by mfx on 2014/04/13 22:35:58
sometimes it the simple things.
Man, i really got rebb to sweat on this, i can tell you!
Sorry rebb!
Optimizing Quake Maps
#13696 posted by killpixel on 2014/04/15 15:35:00
Hi, can anyone point me in the direction of some literature that covers proper brushwork and bsp optimization?
In other words, I'm looking for ways to get the most (most being brushes, models, etc) out of bsp1.
I think max verts is around 65k, not sure about models and other things.
I'm thinking about converting a majority of the complex geometry into static meshes giving me more room for brushes. Is this a bad idea? What are the drawbacks?
Also, is there any way control how faces are split?
As I said, I just want to find the best way to maximize every little bit of space in bsp1, completely fill it to the brim in the most efficient, optimized way possible.
Any input would be greatly appreciated.
Thanks!
#13697 posted by necros on 2014/04/15 16:35:24
I'm thinking about converting a majority of the complex geometry into static meshes giving me more room for brushes. Is this a bad idea? What are the drawbacks?
Sort of a bad idea. Static meshes in quake don't really blend in with the rest of the level the way they do in modern (or even semi modern) games. They also don't have any collision.
You can use .bsp files as models though. This is a better solution as you get proper collision and it will blend in with the map but the lighting will not match unless you light the bsp model in a way that matches the area in the map in which you're placing it. Also you can't rotate them without breaking collision (eg: if you rotate a bsp model, you loose collision)
Also, is there any way control how faces are split?
Nope.
:(
#13698 posted by killpixel on 2014/04/15 19:38:25
Ah, thanks necros, I was afraid that's how static meshes would behave.
I'm trying to avoid going bsp2 simply because I want maximum compatibility with the variety of ports that are currently used...
...however, having 120k+ verts in a single map would be pretty sweet...
After running around with r_wireframe 1 I noticed some faces are split in undesirable ways. I'm pretty sure many brushes could be reshaped in such a way that I get better splits...
Things To Try
#13699 posted by negke on 2014/04/15 20:28:40
Merge textures on large faces; upscale the textures on bigger surfaces that are out of sight; separate intersecting geometry (ever so slightly) and/or turn things into brush models - both situation-dependent, may help or actually be counterproductive; use hacks to clone often-used detail brush entities; try -forcegoodtree with rebb's txqbsp mod; don't get carried away when making a map.
#13700 posted by metlslime on 2014/04/15 20:41:53
also: faces larger than 240x240 will be split every 240 texels, on both axises. So a 256x256 face will be split into 4 faces. Keep that in mind, and add detail in places where the extra face is already going to exist. For example a 240-tall wall brush with a 16-tall trim brush above it will have the same number of faces as a 256-tall brush, but you can put a different texture on the trim and therefore get more detail for no additional faces.
#13701 posted by necros on 2014/04/15 21:24:18
external bsps can help a lot depending on what kind of map you have.
check out my ne_ruins map for some examples of using external bsps.
http://mobile.sheridanc.on.ca/~jonescor/temp/spasm0003.jpg
upper area is external bsp, trim is func_wall
http://mobile.sheridanc.on.ca/~jonescor/temp/spasm0004.jpg
http://mobile.sheridanc.on.ca/~jonescor/temp/spasm0005.jpg
again, trim is func_wall and coffins are external bsp
http://mobile.sheridanc.on.ca/~jonescor/temp/spasm0006.jpg
Note that external bsps will not light up with guns and explosions but then no one (to my knowledge?) complained about the coffins not lighting up, so i reckon as long as you are careful where you do it, it's fine.
Necros
#13702 posted by mfx on 2014/04/15 21:30:56
is there a working link to the src?
Please, please!
Sneaky!
#13703 posted by ijed on 2014/04/15 21:34:45
mfx, any model spawning entity will work for this, just put thing.bsp instead of thing.mdl
Heh
#13704 posted by mfx on 2014/04/15 21:38:34
but its not just this, ijed.
I always wanted to know how the ending sequence works in particular, the slow camera ride and that fog and the awesomeness in general.
Fair Enough
#13705 posted by ijed on 2014/04/15 21:54:35
Mfx
#13706 posted by necros on 2014/04/15 22:10:48
no, the code isn't included (just the .map file)
here's the camera code and the associated portal trigger scripted entity:
http://pastebin.com/A1fjNpDz (no warranty)
#13707 posted by Spirit on 2014/04/15 22:14:59
Yeah, Thanks Necros.
#13708 posted by mfx on 2014/04/15 22:16:44
really appreciate that!
Quake Wiki
needs so much love. I needed to know a bit of info for some lights (needed the slow pulse style)...
There isn't even a page for the light entity! I really haven't got the first clue about wiki page editing though otherwise I might spend a bit of time on it.
Re: -forcegoodtreehug
#13710 posted by rebb on 2014/04/15 23:20:31
Very situational when it comes to marksurface improvement, depending on the map it may even increase marksurfs / cause leaks. Use when feeling adventurous or desperate ;)
Thanks!
#13711 posted by killpixel on 2014/04/16 00:25:12
Great advice so far. I'd like to read more about what determines how faces are split so I can make more informed decisions instead of just throwing brushes around.
@necros, I did not know you could use external bsps in that way. I can think of like five instances off the top of my head that I can go back and do that way. Other than not being affected by light from the map or weapons, explosions, etc. are there any drawbacks?
Every link to mapping tuts on quakewiki are dead :\
#13712 posted by necros on 2014/04/16 03:32:20
they draw slower. I once tried to make a huge purely decorative terrain section into an external bsp. Looked fine, collided fine, got about 10 fps though.
but that was a very extreme case.
if you're just replacing out of the way geometry that is just for looks (like the tops of distant towers or something), then external bsps are the way to go.
they just take more work to set up. you need to be a little careful with your lighting so that it matches up.
a final draw back: skip textures won't be removed when the bsp is loaded as a model.
however, faces removed as part of the qbsp filling process are still removed as a bsp model.
AND faces which are not facing the player don't cause collision.
so you can make concave models whose outside faces are culled:
http://mobile.sheridanc.on.ca/~jonescor/temp/spasm0206.jpg
this is the external model, has a lot of useless faces removed due to bsp culling
http://mobile.sheridanc.on.ca/~jonescor/temp/spasm0207.jpg
as a model, all the skip faces are visible, sadly.
http://mobile.sheridanc.on.ca/~jonescor/temp/spasm0208.jpg
but from the bottom (where the skip face is facing away from the camera) we can't see it, so it looks fine!
#13713 posted by metlslime on 2014/04/16 04:20:10
they draw slower. I once tried to make a huge purely decorative terrain section into an external bsp. Looked fine, collided fine, got about 10 fps though.
True, the code for drawing brushmodel faces is different than for drawing the world, it might be less optimized and worse if drawing thousands of polys.
http://mobile.sheridanc.on.ca/~jonescor/temp/spasm0207.jpg
as a model, all the skip faces are visible, sadly.
Yes, i never did add proper support to newskip.exe for creating external bsp mapmodels. :(
|
|
You must be logged in to post in this thread.
|
Website copyright © 2002-2024 John Fitzgibbons. All posts are copyright their respective authors.
|
|