Create an account

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[NEEDS INFO] [Solved] help mapping

Hi poeple, I am a bit confuse and I have just some little questions.
1- In a space map does all brushes have to be details brushes? Look at this screenshot, this map is made from brushes and patchs mixed:
[Image: tYWNsZw]

2- Also, if I well anderstood they are no needs to put some hint brushes. Is it all wright?

3- The last time it took about 10 days to compile. I had made all brushes structural. Whas it a big mistake?

4- Another point I wonder is the number of tris make the compile so long?
[Image: tYWNtMw]

I noticed more I add lights more the compile time is long, it is exponential!

I am waitjng for your advices.

Thank you all of you, your advices helped me. Now last compile took about 40 minutes.

Nope. It's not an easy question, but I'll try to tell my experiences. Also, it clearly shows you don't understand what's a detail and what's a structural brush Tongue
So. When you compile the "vis" stage, it's an abbreviation for visibility. That means, you'll have large, invisible cubes in your map, the so called "vis blocks". You can set the parameters of this block with a switch of q3map2, but this is not needed here.
To achieve this, q3map2 splits up the 3D space with planes, so called "vis portals". Think about these as invisible walls. The surface of these walls are made ALONG THE SURFACE OF STRUCTURAL BRUSHES. And caulk. And of course, along the walls of the vis blocks.
Are you still with me? If not, load up a map in Xonotic, and use r_drawportals 1.
Vis calculation does exactly, what it says: if you're in point A, and you look to direction B to point C, what can you see? r rather, what shall the engine see and render at the same time! Those things are not the same. You can clearly see this, if you enable:
r_showtris 1
r_showdisabledepthtest 1 (no, this is NOT a built in wallhack, this is a developer tool, intended for debugging vis problems).

Look around now. If you see only parts of the map in wire render, vis is working. If you see the wireframe of the whole effin' map, with all the entities too, you're in deep shit of vis problems my friend Wink Cause the more you see, the more the engine has to actually render, so the more FPS that drains.
After we understand now, what vis does, here are some rule of thumbs:

A vis portal is generated on every:
-surface of visblocks
-surface of structural brushes
-surface of HINT brushes (later explained)
-brush surfaces, textured with CAULK.

Vis is NOT blocked by:
-DETAIL brushes

Now, knowing all of these... Open space maps, like your or Newtonian Nightmare are a big pain in the ass for vis. Why? Because where ever you look at, you can almost see everything, so vis doesn't really help you. What you can try to do, is to move your map, so it better fits to visblocks (you can enable showing them in radiant), or try out HINT brushes.
Brushes textured with HINT forces the compile to make vis portals, where it normally won't create any. Hint is very good at corners, it can help you a lot (hint brushes are hidden by default in radiant, as they can overlap, and create a very big mess on 2D and 3D view. Look at Leave'em behind for an example). Placing hint brushes can help you improve performance, but it's hard to do, and requires a lot practice, to do it right.

So, if you understood all of these, you'll understand now why it was a very bad idea, to make the whole map structural, as every tiny bit of brush surface will make a vis portal, and for that, the compiler will have to calculate, what can be seen from there.

For the lights, there's another stage of compile, the light stage. What it does, it calculates the light and shadow falloff of light of surfaces, or individual light entities. This is a complex calculation, and it indeed can last for a long time. But there are numerous ways to speed this up. Namely, q3map2 can compile light in different quality. If you only want a test compile, it's advised to use the lower quality ones, and only use full quality on the end product. Note howeever, that the test compiles are always dimmer, than the high quality one, and don't have pretty shadows either.

Hope I could help.
[Image: 561.png]
"One should strive to achieve; not sit in bitter regret."

make me a map :p

and gl!



+1 for C.Brutail, very good explanation! But why did your compile last 10 days?!? My maps only last some minutes to compile or one hour, although I have a lot of lights and complex structure in it. It may be helpful for me to have a look at your map-file, then I could exactly say what caused this extremely long compile-time.

1 - I presume almost everything should be detail here, except for 4 main platform brushes and the one at the top.
2 - Some useful hint division can still be done here, although I doubt you'll win much.
3 - wait what
4 - what wait


Maddin is right, if you share us the map file it'd be easier to help you.

If you dont want to share it publicly send us a PM.

My biggest map takes 20 hours to build and believe me, its a huge map.
It takes 10 secs on BSP, 10 secs on VIS 10 secs on minimap and 20 hours in lights....

My friend C.Brutail, I am underestimated!
I have read all what forseti told me in " " A link posted to him by Maddin, also I did open maps, I followed all maddin's advices in other posts
I do anderstand all of 3 compil stages and you confirm what I though and what I have read about that, sorry to have waisted your time but what you wrote does not help :-). Vis calculation is good 'cause the engine does a good job if I r_showtris 1. I conclude It is not a vis problem. Plus r_drawportals 1 give a descent split of areas.

I will follow the Lord Canistra's advice wich is near to what I though.

To compile I use the option (final)(approved)(and recommended) wich is
-meta -v -samplesize 8 -minsamplesize 4
-vis -saveprt
-light -randomsamples -samples 4 -lightmapsize 512 -bounce 8 -fastbounce -bouncegrid
May be I should twick that! What should I use as command parameters for that kind of map?

anyway, it seems that I face an obscured problem.

Next time I will try to compile only the light stage because they will be only a slight change in the light environment. I am sure it is that stage that is too long in my case.
I forgot to say even I use a low light calculation the compil time still too long.
(09-14-2011, 02:16 PM)forseti Wrote: If you dont want to share it publicly send us a PM.

Ok I accept your help forseti, thank you.

I´d recommend to write your own build-option. This way you can set the right things. For your map I wouldn´t use bounce, fastbounce and bouncegrid. They make the map only too bright and the compile-time extremely raises. Try it out without the bounce-parameters then I´m sure it won´t last 10 days to compile! Tongue

(09-14-2011, 02:35 PM)Leeloo Wrote:
(09-14-2011, 02:16 PM)forseti Wrote: If you dont want to share it publicly send us a PM.

Ok I accept your help forseti, thank you.
So you sent him the map-file? Would be very nice if you also sent it to me. Wink

Wow, I've got something, I loaded the .prt file from the plugin tools. The vis stage has put portals between the 3 rooms not connected. (teleporter access for two rooms and a projected skybox room)

[Image: tYWN2aQ]

I will put hint brushes between the boxes. I will see if some other tools can help me for something else.
A brush between each box like this
[Image: tYWN3Mw]
Is it ok? or do I have to surround each box with hint brushes?
Well, surrounded.
[Image: tYWN3OA]

You probably should try adding -fast to the light stage.

This option does NOT reduce quality, but switches to another algorithm for lighting that turns off lights earlier at a distance. If you intend your map's lighting for that option, then it is absolutely no problem to have it set in the final compile.

The only problem you could get is with skyboxes using surfacelight instead of skylight.
BRLOGENSHFEGLE (core dumped)

The Bot Orchestra is back! | Xoylent Easter Egg | 5bots1piano
My music on Google Play and SoundCloud

Maybe blocksize 0, as Maddin mentioned in other topic would come in handy here. Open worldspawn parameters (select simple un-grouped brush and press N) and add "_blocksize" "0 0 0" keyvalue (without quotes).


I´m confused; why are there portals in the void?!? Or did you hide some brushes?

(09-15-2011, 05:09 AM)Maddin Wrote: I´m confused; why are there portals in the void?!? Or did you hide some brushes?

If someone ask you about that just tell them you do'nt know Wink

Possibly Related Threads…
Thread Author Replies Views Last Post
  [SOLVED] Mapping: Move permeable wall upon trigger stingray300k 5 2,064 05-26-2021, 10:19 AM
Last Post: stingray300k
  [NEED HELP] Netradiant, xonotic-mapping-support and maps dir? Gwlanbzh 1 1,555 02-02-2021, 06:57 PM
Last Post: AriosJentu
  [NEED HELP] I REPEAT I need Help with Netradiant Taplio 4 3,472 09-23-2020, 12:05 AM
Last Post: fabzor3
  [NEED HELP] Need old rifle model(solved) Kotangens 8 3,515 08-27-2020, 01:42 AM
Last Post: Kotangens
Question [NEED HELP] How to create warpzones? (solved) Kotangens 10 5,173 08-19-2020, 07:05 AM
Last Post: Kotangens
Question [NEED HELP] How to use textures for radiant(win version)? (solved) Kotangens 4 3,186 08-12-2020, 01:33 AM
Last Post: Kotangens
Question [NEED HELP] can't build netradiant (SOLVED) bananovenc 7 5,379 12-25-2019, 03:34 PM
Last Post: illwieckz
  Newb seeks help on Oilrig Pallama 7 5,283 10-08-2018, 09:39 PM
Last Post: illwieckz
  [NEEDS INFO] Need help with xonotic on andoird Arctic_fly71 3 3,406 01-17-2018, 07:23 PM
Last Post: Arctic_fly71
  [NEED HELP] Help cant play IdekehBruh 1 2,168 05-05-2017, 08:21 AM
Last Post: Mario

Forum Jump:

Users browsing this thread:
1 Guest(s)

Forum software by © MyBB original theme © iAndrew 2016, remixed by -z-