Author Topic: Vis portals and detail brushes  (Read 4113 times)

Megistos

  • Posts: 18
  • Turrets: +0/-0
Vis portals and detail brushes
« on: May 24, 2008, 01:59:19 pm »
The other day, to have a look at how it's really done, I decompiled Karith's .bsp into a .map and took a look. The page I got the relevant command from said there might be a few errors in decompiling it, and I noticed things like unaligned textures.

The thing I noticed most, however, was that all the fantastic detail on the walls was made up of structural brushes, not detail brushes. Is this an error created by the decompiling process, or is Karith doing something weird? I always thought it was best to make brushes detail if they didn't touch the void - the way Karith's .map looked, there would have been thousands upon thousands of vis portals.

Kaleo

  • Posts: 2098
  • Turrets: +176/-220
    • KaleoDesign
Re: Vis portals and detail brushes
« Reply #1 on: May 24, 2008, 02:23:21 pm »
Decompile Transit.
Quote from: Stannum
Thou canst not kill that which doth not live,
but you can blow it into chunky kibbles!
I has a cookie, and u can has a cookie, but i no givs u mai cookie...

Taiyo.uk

  • Posts: 2309
  • Turrets: +222/-191
    • Haos Redro
Re: Vis portals and detail brushes
« Reply #2 on: May 24, 2008, 03:17:45 pm »
The thing I noticed most, however, was that all the fantastic detail on the walls was made up of structural brushes, not detail brushes. Is this an error created by the decompiling process, or is Karith doing something weird?
Yes, this is what happens when you decompile. All brushes in a decompiled .map will be structural.

n.o.s.brain

  • Posts: 339
  • Turrets: +1337/-24
    • youtube page
Re: Vis portals and detail brushes
« Reply #3 on: May 24, 2008, 09:38:14 pm »
i dont see why decompiling ruins the maps like that, i mean, all the information about detail and structural and texture alignment is in the bsp, amirite? could some coder make a decompiler that would fix that?

TRaK

  • Posts: 442
  • Turrets: +94/-21
    • TRaK@MG
Re: Vis portals and detail brushes
« Reply #4 on: May 24, 2008, 10:15:37 pm »
This thread here mentions a q3map2 patch by div0 that fixes the texture alignment issues with decompiling. I don't know any of the details though.

epsy

  • Posts: 205
  • Turrets: +8/-25
    • Armagetron Advanced!
Re: Vis portals and detail brushes
« Reply #5 on: May 24, 2008, 10:55:50 pm »
the structural/detail flag is stripped when compiling, simply because they are only useful at VIS portals creation and that's done at compilation stage

that makes it impossible to know if a brush has been marked as detail or not

now if there is a way to "guess" it, i don't know
it may work detecting brushes that "overlap"(well every brush overlaps these) VIS portals, trough false positives may be quite common
« Last Edit: May 25, 2008, 11:39:42 am by epsy »
Warning: All opinions expressed in my posts are mine and mine alone. Any connection to any group I am affiliated with - be it the ArmagetronAd Developers or any other group, is purely coincidental unless otherwise expressly stated. Don't be a dolt when you read my posts, as they *may* require some brainpower and thinking (also purely coincidental). Any opinion in my posts not expressed by me are purely figments of your imagination and will be dealt with accordingly.
SigTemplate by Khasla.

Lava Croft

  • Guest
Re: Vis portals and detail brushes
« Reply #6 on: May 25, 2008, 10:00:43 am »
Decompiling maps in an attempt to learn from them is a bad habit in general.

n.o.s.brain

  • Posts: 339
  • Turrets: +1337/-24
    • youtube page
Re: Vis portals and detail brushes
« Reply #7 on: May 26, 2008, 12:36:01 am »
lolyeah, it induces theft of brushwork.