Sarge
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 > Subsector Viewer?
 
Author
All times are GMT. The time now is 17:17. Post New Thread    Post A Reply
GhostlyDeath
Mini-Member


Posts: 54
Registered: 08-05


Is there a utility that can draw out all the subsector's in a doom map as their own individual convex polygons?

Old Post 08-17-08 01:37 #
GhostlyDeath is offline Profile || Blog || PM || Homepage || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
Use3D
Forum Spammer


Posts: 3051
Registered: 04-02


I know Deepsea has a subsector view. Try the free version.

Old Post 08-17-08 01:56 #
Use3D is offline Profile || Blog || PM || Email || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
GhostlyDeath
Mini-Member


Posts: 54
Registered: 08-05



Use3D said:
I know Deepsea has a subsector view. Try the free version.


Could not find anything

Old Post 08-17-08 02:38 #
GhostlyDeath is offline Profile || Blog || PM || Homepage || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
CodeImp
Moderator


Posts: 1084
Registered: 12-03


You can just code something that takes a map and shows you the subsectors, no? It really isn't that hard.

__________________
Doom Builder 2 is coming!

Old Post 08-17-08 10:18 #
CodeImp is offline Profile || Blog || PM || Homepage || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
Xeriphas1994
Mini-Member


Posts: 61
Registered: 06-07


I believe there was some Python code circulating privately on the wiki, years ago, which may or may not have ever been released to the world at large.  See here for part of the discussion.

Old Post 08-17-08 10:29 #
Xeriphas1994 is offline Profile || Blog || Email || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
Creaphis
I will deliberately take a contrary position just for the sake of writing incredibly long arguments


Posts: 1296
Registered: 10-05



CodeImp said:
You can just code something that takes a map and shows you the subsectors, no? It really isn't that hard.


Yeah, we can all totally do that.

Old Post 08-17-08 19:16 #
Creaphis is offline Profile || Blog || PM || Email || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
CodeImp
Moderator


Posts: 1084
Registered: 12-03



Creaphis said:


Yeah, we can all totally do that.


Not if you don't know how to code, but was I talking to you? no.

__________________
Doom Builder 2 is coming!

Old Post 08-17-08 23:54 #
CodeImp is offline Profile || Blog || PM || Homepage || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
Creaphis
I will deliberately take a contrary position just for the sake of writing incredibly long arguments


Posts: 1296
Registered: 10-05


Sorry that I was rude, but phrasing of your remark made it seem that the "you" was all-inclusive, or at least directed at the original poster, which made your post strikingly divorced from the reality of average coding ability.

Old Post 08-18-08 03:28 #
Creaphis is offline Profile || Blog || PM || Email || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
esselfortium
Senior Member


Posts: 1823
Registered: 01-02



Creaphis said:
Sorry that I was rude, but phrasing of your remark made it seem that the "you" was all-inclusive, or at least directed at the original poster, which made your post strikingly divorced from the reality of average coding ability.

It was directed at the original poster. GhostlyDeath is a programmer. Though of course there's no reason why you should have been expected to know that :P

__________________
sl4.poned.com: Free Esselmusic
Esselmusic: The Album
Knee-Deep in KDiZD: Relive KDiZD, in doom2.exe: (WiP Page) (Doomworld Thread)

Old Post 08-18-08 03:41 #
esselfortium is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
Creaphis
I will deliberately take a contrary position just for the sake of writing incredibly long arguments


Posts: 1296
Registered: 10-05


Huh?

*checks GhostlyDeath's profile*

Oh



thought i knew who was by now

Old Post 08-18-08 04:27 #
Creaphis is offline Profile || Blog || PM || Email || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
CodeImp
Moderator


Posts: 1084
Registered: 12-03


Anyway, why do you need to see the subsectors GhostlyDeath? Subsectors ARE convex polygons, but you have to use the BSP tree to find all sides, because only the sides that lie along linedefs (the segs) are listed in the data. See http://doom.wikia.com/wiki/Subsector. What you also can do is run a map through GLBSP which generates segs for all sides of the subsectors. See http://glbsp.sourceforge.net/specs.php

__________________
Doom Builder 2 is coming!

Last edited by CodeImp on 08-18-08 at 09:30

Old Post 08-18-08 09:24 #
CodeImp is offline Profile || Blog || PM || Homepage || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
DaniJ
Forum Regular


Posts: 887
Registered: 08-03


The current svn version of Doomsday has a subsector viewer for debug purposes.

Old Post 08-18-08 11:25 #
DaniJ is offline Profile || Blog || PM || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
Ajapted
Forum Regular


Posts: 743
Registered: 04-02



CodeImp said:
Subsectors ARE convex polygons

Usually but NOT always (if that was guaranteed, glBSP would not exist).

The requirement for Doom node builders was that any two walls in the subsector must never occlude each other. So you can get a funny case where there is two separate areas each with a single wall, and it ends up as a single subsector because the walls are facing away from each other.

Old Post 08-18-08 13:10 #
Ajapted is offline Profile || Blog || PM || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
CodeImp
Moderator


Posts: 1084
Registered: 12-03


Yea I had a feeling that nodebuilders sometimes create concave subsectors in some special cases. That causes the holes in the floors in DB's 3D mode. Oh well, at least you still can use GLBSP to make convex subsectors.

__________________
Doom Builder 2 is coming!

Old Post 08-18-08 15:17 #
CodeImp is offline Profile || Blog || PM || Homepage || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
Use3D
Forum Spammer


Posts: 3051
Registered: 04-02



GhostlyDeath said:


Could not find anything



Edit/Node View

Old Post 08-18-08 18:33 #
Use3D is offline Profile || Blog || PM || Email || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
All times are GMT. The time now is 17:17. Post New Thread    Post A Reply
 
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Doom Editing > Subsector Viewer?

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