Link Is Dead
#19367 posted by Cocerello on 2018/01/05 09:26:20
GLQuake Not Rendering Map Correctly?
#19368 posted by rizzoislandgame on 2018/01/05 21:12:35
Hey there! So I got my map working and fixed all the leaks, but for some reason, when I run the map in GLQuake, it renders a far off distance like it's clipping! Is ther anyway to increase the drawdistance like in winquake with r_maxsurfs and r_maxedges or is it impossible? Could it be a mapping problem itself? Compiler gives no errors!
The Real Question Is...
#19369 posted by damage_inc on 2018/01/05 21:32:43
Why in 2018 does anyone use original GLQuake?
I really want to know!
GLQuake
#19370 posted by Preach on 2018/01/05 22:49:52
Because it's the best engine that comes with the Steam version.
Well, the second best, but the default one.
It's worth remembering that's the out-of-the-box experience, when you're looking for the largest possible quake audience.
@Preach
#19371 posted by damage_inc on 2018/01/05 23:20:39
Thanks, I never even considered that.
To Answer Rizzo
#19372 posted by Qmaster on 2018/01/05 23:37:26
Download an engine with enhanced limits such as MarkV, Quakespasm, or FTE.
GLQuake Far Clip Is Hardcoded At 4096
#19373 posted by ericw on 2018/01/05 23:47:49
Thanks!
#19374 posted by rizzoislandgame on 2018/01/06 01:28:59
Thanks guys! Guess I'll have to go with another engine!
VIS Job Farming?
#19375 posted by haze on 2018/01/06 09:15:12
I'm new to mapping, i've been using EricW's tools. In regards to the VIS proccess, has there ever been any consideration into farming out jobs over a network? I am sure i'm not the only mapper who has a second PC that is idling alot. I can picture small communities of mappers providing their PC's for VIS jobs. And not just 1 map/PC (that could already be done with some kind of file monitoring script). I'm talking about splitting one bsp over multiple PCs to get the completion time down. It seems with multithreading the individual threads are operating independently anyway once they get their work chunk.. granted i don't know anything really.. just my assumption. This seems to be the biggest bottleneck in dev time. Maybe the couple guys i am in a group with are inefficient mappers but the VIS'ing has taken days and days on an 8 thread i7. It would be cool if network nodes could just be seen as additional threads.
Detail Brushes
#19376 posted by Redfield on 2018/01/06 09:24:02
Should be helping with the vis times. Unless you are building a gargantuan map that rivals Ter Shib in size I can't see VIS taking this long with 8 cores. I vised a bsp2 size map in less than 1 min. on 3 threads with ample use of detail brushes.
Again this could depend on the size and complexity of the map, but if you are new to mapping, you should be using detail brushes on objects like pillars, stairs, loose bricks, small details etc. or else VIS might take days where is should be seconds.
Yeah
#19377 posted by Kinn on 2018/01/06 09:49:39
With func_detail, vis should not be the longest part of the compile any more.
Make sure you are using ericw's tools:
https://ericwa.github.io/ericw-tools/
Detail
#19378 posted by haze on 2018/01/07 08:18:23
I saw detail brushes but wasn't sure what to do with them. I'll try that. thanks guys!
Use Func_detail To Turn Your Map Into Rectangular Areas
#19379 posted by Qmaster on 2018/01/08 18:58:36
For instance, anything angled, off-grid, small, thin planks, trim, light panels, crates, pipes, broken walls, debris chunks,
trisoup (terrain e.g.) etc. etc. should be func_detail (solid) or func_detail_illusionary (not solid).
This lets vis deal with very simple rectangular areas and drastically speeds up compile times. It also can help you add specific lighting features to some details, such as _phong (nice and smooth shading) on rounded columns or terrain trisoup.
#19380 posted by Spud on 2018/01/08 23:53:19
Aside from wanting to apply phong shading to columns/pipes/whatever (which can be done with standard func_walls as well), if you're willing to eat the compile time instead that seems like going overboard a little with the details. Won't you run into issues with vis not blocking off *enough* due to details making up walls and such and possibly cause poor map optimization and lower framerates on less powerful machines? Not to mention the extra effort of making a solid rectangle area outside of any part of the map even slightly skewed or clipped-'n-vertex-edited.
Balancing Act
#19381 posted by Qmaster on 2018/01/09 01:21:15
Depends on balance between CPU and GPU time per frame. Loads of objects to render = long GPU time. Loads of vis leafs to calculate against = long CPU time.
E.g. in a level with 10ms CPU and 20ms GPU, it would help to render less, so yes more leafs could help.
If instead you had 20ms CPU and 10ms GPU, then fewer leafs would help improve performance then func_detail would help.
I honestly don't know what the bottleneck would be or how to check it.
#19382 posted by Spike on 2018/01/09 09:21:41
gpus are quite fast nowadays, they don't really care about a few hundred more quads.
overdraw is still a concern (so you still want your various rooms to be properly sealed with structural brushes to avoid the worst of it), but otherwise if the engine has decent batching then you won't see much of a problem if all the details+pillars+etc are flagged as details.
tbh, its the leafs themselves that are the expensive things.
I Was Under The Impression
#19383 posted by Kinn on 2018/01/09 09:35:24
That in quake, you can't appreciably change the number of leafs with func_detail, only the vis compile times. Has this changed?
#19384 posted by Spike on 2018/01/09 11:17:30
no, you have the leafs whether they're detail or not.
you can't fold leafs using q2-esque cluster stuff, because the bsp format doesn't support it.
and you (usually) can't merge leafs due to the engine calculating a parent leaf - each one must have a single parent node so no multiple routes through the bsp tree (side note: this doesn't apply to hulls 1+2).
so the only way you can merge them is if two leafs share a parent node, have the same contents value, and together form a convex area (such merging can happen recursively so long as those conditions still hold true).
less leafs means fewer marksurfs, fewer nodes, fewer frustum checks, smaller pvs data (and for every other leaf too), and fewer cache misses throughout.
arguably surfaces could be merged into a concave mesh on the condition that there is still 1 truely central vert somewhere.
the geometry works even if they're on different planes, but lighting and texcoords would likely be broken because of it.
whether it would break software rendering, or gl engines that pick the wrong edgevert is a different matter, but hey, most gl engines should cope without realising it.
Kinn
#19385 posted by Qmaster on 2018/01/09 14:27:38
Yes func_detail shouldn't create more Leafs
Spike
#19386 posted by ericw on 2018/01/09 17:39:28
Engines should be able to recover detail clusters by recursively merging leafs that have the same visofs. This has the benefit of working on released maps and won't risk breaking anything. Once you recover the clusters you could generate lists of faces per cluster, new compact visdata, etc.
Using Scourge Of Armagon Assets In TrenchBroom
#19387 posted by Michael on 2018/01/11 01:00:13
Hello,
Longtime quake player, trying to create a custom version of DM3 with some Scourge of Armagon assets for team deathmatch. I used pak explorer to extract the DM3.bsp from pak1 in id1 and was able to convert the bsp file to a .map file, which allows me to then open it in TrenchBroom. I think I get how to recompile this back into a usable .bsp (doing the light/vis stuff etc.), but I'm curious how to actually use Scourge of Armagon assets. I have the add-on pack (it's in a subfolder called hipnotic), but I'm unsure how to use those pak assets in TrenchBroom.
Any help would be appreciated :)
@Michael
Cool idea to update Dm3 for SOA. The source for DM3 is available at Quaddicted. So use that instead of a decompiled bsp.
You'll have more luck.
https://www.quaddicted.com/files/maps/sources/quake_map_source.zip
Next, you will want to load up the mission pack fdg in Trenchbroom. I have been searching for it but cannot seem to find the link. But it's out there.
When you have the fgd you will go to the entity tab in TB and at the bottom load external and select that fgd file. After that you should have the entities available to you in the browser. You will also want to load the mission pack as a mod in TB in a very similar fashion. It's on the map tab I believe.
^^^^
Triple Post - Woot!
I might as well pimp a DM level I made that includes a Hipnotic version of the map. It's called Lividus. Maybe you and your pals will enjoy it along with DM3.
https://secretlevelsite.wordpress.com/my-levels/
#19391 posted by Michael on 2018/01/11 07:43:54
Thank you for the help and taking the time and all the links provided! I managed to figure most of this out through a bit of trial and error and talking to the devs from qrack and fte. Some of those old assets are indeed hard to find!
I still play TDM with a group of oldschool quakers on DM3. Matches on most weekends. I was looking to create a fun tweak of DM3 that would preserve what works about the level for teamplay, i.e. the idea of level/item control without messing up the balance too much.
But due to having played it 9999999 times, I thought adding some SOA assets would be fun. I added the proximity grenade launcher at the opposite side to standard GL, replaced the SNG in the SNG room with the laser cannon, replaced the standard nailgun (useless in DM) with the SNG, and put mjolnir outside by the pent. I feel like these weapons could lead to a few interesting tweaks in gameplay (e.g. setting traps with proximity mines, using laser cannon to blast into areas by bouncing shots, mjolnir to close proximity attack somebody with weapons).
If anyone's curious, here's the first iteration. Requires the hipnotic pack to work (i.e. whatever executable you're using -game hipnotic -hipnotic for command line switch):
https://nofile.io/f/arGY5npZyZ3/dm3a.bsp
|