Baron of Hell
Register | User Profile | Member List | F.A.Q | Privacy Policy | New Blog | Search Forums | Forums Home
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Doom Editing > Visplane limit
 
Author
All times are GMT. The time now is 11:22. Post New Thread    Post A Reply
The Ultimate DooMer
(former) /newstuff Chronicler


Posts: 4449
Registered: 03-02


I know what it means, but what's the actual limit? (ie. the max number of visplanes allowed)

Old Post 08-19-03 23:56 #
The Ultimate DooMer is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Ichor
The Mysterious Red Square


Posts: 6722
Registered: 07-02


For Doom, Doom 2 and Heretic, it's 128, but for Hexen, it was raised to 160.

__________________
0.666 - The number of the Millibeast

Old Post 08-20-03 00:03 #
Ichor is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
The Ultimate DooMer
(former) /newstuff Chronicler


Posts: 4449
Registered: 03-02


I wouldn't say so...unless my definition of visplane (each floor or ceiling with unique properties) is wrong. (and it probably is, given that I vaguely know it)

Old Post 08-20-03 00:09 #
The Ultimate DooMer is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Ichor
The Mysterious Red Square


Posts: 6722
Registered: 07-02


I got it from this line from r_local.h:
code:
#define MAXVISPLANES 128

__________________
0.666 - The number of the Millibeast

Old Post 08-20-03 00:11 #
Ichor is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Nanami
not a woman


Posts: 2655
Registered: 07-02



The Ultimate DooMer said:
I wouldn't say so...unless my definition of visplane (each floor or ceiling with unique properties) is wrong. (and it probably is, given that I vaguely know it)
That's not exactly it. In fact it's possible to get a visplane with only two types of sectors, and fredrik said it may be possible with just one.

I don't know the exact definition but I've skimmed over it and it's pretty complex and weird stuff.

__________________
ZooM, the ZDoom Racing Mod

Old Post 08-20-03 00:43 #
Nanami is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Grimm
Forum Staple


Posts: 2055
Registered: 11-02


Yeh, check the BSP 5.0 docs. If I understand it correctly, every area with unique floor/ceiling properties and unique height is a visiplane. Areas you can't see don't count.

Old Post 08-20-03 01:37 #
Grimm is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
The Ultimate DooMer
(former) /newstuff Chronicler


Posts: 4449
Registered: 03-02


Is that 'area' as in an area of the grid? (say, 128x128) As I got a visplane crash on my Plutonia II map and I'm sure I only had about 3 (very large and complex) sectors, two smaller (but identical) ones and a couple of doors with identical properties on show. Which could explain why it always crashes when you're looking out over a large area, even if you're not viewing any extra sectors compared to standing near a corner.

PS. All sector properties count here, not just flats and heights.

Old Post 08-20-03 10:39 #
The Ultimate DooMer is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Szymanski


Posts: 982
Registered: 08-00


sector is more exact than 'area', it's not related to the physical size of any sector but the number of sectors visible with differing properties (light level, special, ceiling and floor texture).

"I'm sure I only had about 3 (very large and complex) sectors" er you have 3 complex rooms comprising of lots of individual sectors. If you can see these at the same time thats the culprit.

Old Post 08-20-03 11:08 #
Szymanski is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Fredrik


Posts: 11660
Registered: 05-00



Nanami said:
and fredrik said it may be possible with just one.

The origin of this "discovery" was a room I had made which would VPO although there was only about 10 actual visplanes. I eventually caught cph (PrBoom developer, maintainer of BSP) on IRC (harder than it sounds, at times he's more dead than Julian) and asked him about it. The answer he gave was that the large amount of solid pillars which was present in the room was too blame, since it created too many on-screen segments or something. I haven't tested, but it should be possible do a one-sector VPO room in that way.

Old Post 08-20-03 11:16 #
Fredrik is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
boris
meow


Posts: 3743
Registered: 05-00



Fredrik said:
I haven't tested, but it should be possible do a one-sector VPO room in that way.

I think there's a Boom demo wad (maybe on the TeamTNT page?) that uses a shitload of bars to demonstrate that Boom does not have a problem with visplanes.

__________________
this sig is in my pants | WIP - WADs In Progress: post your WADs!

Old Post 08-20-03 13:38 #
boris is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
Grimm
Forum Staple


Posts: 2055
Registered: 11-02


Yeah, I think you can get that one sector to happen, too, but that method of overflow is far less common. (I think.) Now that I think about it, I think visiplanes can be split in two (or more) by segs or subsectors. For example, if you had a very large area that counted as one visiplane, a seg might go down the middle and split it in two.

Visiplanes aren't sectors, BSP 5.0 comes with a two sector VPO. Visiplanes are just areas with unique properties. Each floor and ceiling *may* have it's own visiplane, but I'm not sure about that. Anyways . . .

|---|---|---|
|11|22|11|
|11|22|11|
|11|22|11|
|---|---|---|

The areas with the ones are in sector 1, and the twos are sector 2. If sector 1 has a different floor flat than sector 2, this floor area will have 3 visiplanes. Alternately, if they all had the same properties, the floor would have one visiplane. (I think. I'm not positive that that's correct.) Also, if sector 2 was raised higher than sector 1, the part of sector 1 behind sector 2 (the one you couldn't see) wouldn't count as a visiplane.

Phew. Hopefully that's all right.

Old Post 08-20-03 14:03 #
Grimm is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Fredrik


Posts: 11660
Registered: 05-00


There's also a restriction on how many sidedefs there can be on the screen at once to watch out for when editing vanilla.

Old Post 08-20-03 15:58 #
Fredrik is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
The Ultimate DooMer
(former) /newstuff Chronicler


Posts: 4449
Registered: 03-02


Actually, I do have a lot of columns in that area (for scenery, and for blocking line of sight to prevent visplane bugs). Anyhow, I've nearly fixed that bug now, there's only one place it can happen now and I'll have that sorted soon.

The 3 sectors were all split into more than one part, will that raise the number of visplanes on display?

So that means columns can actually harm the visplane limit? (as I've always used them as a remedy in my vanilla wads) Sidedefs are no problem, as they don't cause crashes, only HOM's (and I won't run into trouble with them here).

Old Post 08-20-03 17:31 #
The Ultimate DooMer is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Grimm
Forum Staple


Posts: 2055
Registered: 11-02


Yeah because of the way segs in nodes builders split sectors inta subsectors, thereby spltting visaplanes. (At least I think that's what segs do. :P) Columns really shouldn't be a problem as long as you don't add ********** amounts in a large area.

Old Post 08-20-03 18:02 #
Grimm is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
All times are GMT. The time now is 11:22. Post New Thread    Post A Reply
 
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Doom Editing > Visplane limit

Show Printable Version | Email this Page | Subscribe to this Thread

 

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are OFF
[IMG] code is ON
 

< Contact Us - Doomworld >

Powered by: vBulletin Version 2.2.5
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Forums Directory