Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7633331
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T06:51:16+00:00 2026-05-31T06:51:16+00:00

I am trying to create the polygons for a Doom 2 level from the

  • 0

I am trying to create the polygons for a Doom 2 level from the information contained in the WAD file. I have the walls done, all that is left is the ‘flats’, the floor and ceiling areas. A Doom map is divided into ‘sectors’, each evaluates to a flat, complex polygon.

It would be easy enough to decompose a simple, convex polygon into triangles, as there are many algorithms for this. But many of the sector polys are concave, and some even have ‘holes’ where other sectors are within them. Here is an example, with a particularly complex poly shown in orange: http://screencast.com/t/BNKuzRVy8

Can anyone recommend an algorithm, or better yet C# code, that will decompose this kind of complex poly into triangles?

I know that the WAD file includes NODE, SEG, SUBSECTOR information, etc. that indirectly describes a breakdown in this fashion. But it is particularly complex. I don’t need the b-tree structure. I would like to avoid having to parse all of this information out and piece it together, since I have the complex poly structure from the sector info alone.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T06:51:17+00:00Added an answer on May 31, 2026 at 6:51 am

    Look for Ear Clipping triangulation method, a good start point is this David Elbery article.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to create some simple polygons in openGL3.3. I have 2 types
I am trying to solve one problem from Liang's book I have done most
I'm trying create an immutable object and initialise it from xml config file in
I am trying create a data.frame from which to create a graph. I have
I'm trying create a method that returns the sum of all values in an
I'm trying create simple application in C++. This application has to read from file
Trying to create Database as follows: USE Master GO IF NOT EXISTS(SELECT [Name] FROM
For homework, I'm trying to create a CustomButton that has a frame and in
hi I'm trying create chat using node.js I see example in http://chat.nodejs.org/ I have
I am trying to animate random point that i have created so they move

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.