Page 1 of 1

Questions regarding q3map2 and vis portals

Posted: Fri Jul 22, 2011 3:42 pm
by DaEngineer
There are three questions if have for some time now, and I'm pretty sure someone will be able to answer them.

1. Can I save compile progress and continue compiling later? Compiling with -bounce and without -fast can take some time, and being able to pause and resume later would be great

2. Can I compile a map with different computers at the same time to speed up the process? Like folding @ home?

3. Is there a command to check open and closed vis portals in-game? I know that there is one for Doom 3, but I can't remember it.

Re: Questions regarding q3map2 and vis portals

Posted: Fri Jul 22, 2011 4:17 pm
by obsidian
1. No. You can compile each stage (bsp, vis, light) at different times as long as there were no changes made, but you can't pause the current process.

2. No. Q3Map2 is threaded for multiple CPU/cores on a single computer but does not support clusters of computers.

3. -debugportals (bsp stage switch) and /r_showtris and /r_clear.
And/or -vis -saveprt and then load the .prt file into GtkRadiant.

Both of these draw translucent planes where the portals are, not quite like in Doom3, but should help you visualize what's going on. For example:
http://shaderlab.com/mapcenter/q3map/de ... als_01.jpg and viewtopic.php?t=3620

Re: Questions regarding q3map2 and vis portals

Posted: Fri Jul 22, 2011 4:47 pm
by DaEngineer
obsidian wrote:1. No. You can compile each stage (bsp, vis, light) at different times as long as there were no changes made, but you can't pause the current process.
Too bad.
obsidian wrote:2. No. Q3Map2 is threaded for multiple CPU/cores on a single computer but does not support clusters of computers.
Too bad too.
obsidian wrote:3. -debugportals (bsp stage switch) and /r_showtris and /r_clear.
And/or -vis -saveprt and then load the .prt file into GtkRadiant.
Okay, then I'll stick to prtview. Thanks for the reply.

Re: Questions regarding q3map2 and vis portals

Posted: Sun Jul 24, 2011 1:00 pm
by sst13
DaEngineer wrote:1. Can I save compile progress and continue compiling later? Compiling with -bounce and without -fast can take some time, and being able to pause and resume later would be great.
Set a low process priority of q3map2.exe in your taskmanager. This won't stop the compiler, but saves cpu load to do other stuff.

Re: Questions regarding q3map2 and vis portals

Posted: Mon Jul 25, 2011 6:56 am
by cyberstorm
DaEngineer wrote:
1. Can I save compile progress and continue compiling later? Compiling with -bounce and without -fast can take some time, and being able to pause and resume later would be great
Just press the pause button on your keyboard. The compile window will be open but q3map2 won't use up any of your CPU.

Re: Questions regarding q3map2 and vis portals

Posted: Mon Jul 25, 2011 8:16 am
by DaEngineer
@sst13 and cyberstorm: That's what I usually do. What I meant was a way so save to progress on HDD and get back to it later. This way you could -meta -vis -light -bounce a map, and after the first bounce, when the BSP has been updated, you save the compiler progress to disk. Then, for example after you've rebooted your PC, you continue recompiling but start straight at the second bounce stage.