Gamestudio Links
Zorro Links
Newest Posts
Z9 getting Error 058
by jcl. 04/24/26 17:48
ZorroGPT
by TipmyPip. 04/23/26 14:23
Stooq now requires an API key
by jcl. 04/13/26 09:42
Strange "Alien" Skull created with >Knubber<
by NeoDumont. 04/10/26 18:58
400 free seamless texture pack downl. here !
by NeoDumont. 04/08/26 19:55
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
0 registered members (), 4,145 guests, and 14 spiders.
Key: Admin, Global Mod, Mod
Newest Members
valino, juergenwue, VladMak, Geir, ondrej
19209 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Why do Detail Blocks Split Polygons? #48749
07/03/05 23:59
07/03/05 23:59
Joined: Apr 2002
Posts: 1,246
ny
jumpman Offline OP
Serious User
jumpman  Offline OP
Serious User

Joined: Apr 2002
Posts: 1,246
ny
If I select a block as a detail block, the block will split geometry if it intersects non-detail normal blocks during runtime. This causes unnecissary splitting of the surfaces for the BSP tree:

"Detail blocks must not intersect other blocks"

"Detail Blocks do not suppress the rendering of the scene behind them, they should not be used for objects that hide much of the level"

Since they arent calculated within the BSP then they aren't culling anything behind them, so why do they split the intersected surfaces? Arent they just considered as models then, just with an adjustable/tilable skin, since they dont suppress rendering?

For instance a window pane that outlines a square port in a wall block. I could make the window pane a detail block, but the only way for the block to not split the surfaces is to make it not touch anything by make it float in the air. This is noticable even at a resonable distance if the snap number didnt bring the detail block on top of the main block.

I know I could just use an MDL for the window pane, but it will take a long time by trial and error to get the dimensions to match the level block's window size. Plus I would have to make different model files for different sized ports.

Am I missing something?

Re: Why do Detail Blocks Split Polygons? [Re: jumpman] #48750
07/06/05 21:38
07/06/05 21:38
Joined: Sep 2003
Posts: 3,236
San Diego, CA
M
Marco_Grubert Offline
Expert
Marco_Grubert  Offline
Expert
M

Joined: Sep 2003
Posts: 3,236
San Diego, CA
Detail blocks interfere with shadow calculations. If there's a risk that a detail block is in the way of a shaded block then the detail block will be converted to a regular block.
Solutions:
a) make sure that your detail blocks don't cover up large portions of shaded blocks (in particular avoid the center of shaded faces)
b) make your shaded blocks flat instead
c) use the slider in the map compiler to force detail blocks (defaults to automatic conversion)

Re: Why do Detail Blocks Split Polygons? [Re: Marco_Grubert] #48751
07/06/05 23:28
07/06/05 23:28
Joined: Aug 2001
Posts: 2,320
Alberta, Canada
William Offline
Expert
William  Offline
Expert

Joined: Aug 2001
Posts: 2,320
Alberta, Canada
If your looking to make up models with the right dimensions... load up your level in MED. Then export your level to whatever program you use for modeling and go from there.


Check out Silas. www.kartsilas.com

Hear my band Finding Fire - www.myspace.com/findingfire

Daily dev updates - http://kartsilas.blogspot.com/
Re: Why do Detail Blocks Split Polygons? [Re: William] #48752
07/07/05 00:36
07/07/05 00:36
Joined: Feb 2003
Posts: 6,818
Minot, North Dakota, USA
ulillillia Offline
Senior Expert
ulillillia  Offline
Senior Expert

Joined: Feb 2003
Posts: 6,818
Minot, North Dakota, USA
You could also use models instead of detail blocks. That's just another alternative you can use.


"You level up the fastest and easiest if you do things at your own level and no higher or lower" - useful tip My 2D game - release on Jun 13th; My tutorials

Moderated by  HeelX, Spirit 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1