Jump to content
  • Advertisement
Sign in to follow this  
  • entries
    177
  • comments
    531
  • views
    164150

Walls part 1

Sign in to follow this  
Scet

149 views

Having given up on flats the focus is now on walls. I was able to whip up this quick screenshot.



Right now it only builds 2 triangles for each line, even if it's two sided, plus it adds walls for trigger lines. Those should be easy enough to fix though.

I have the wall textures/patches loaded, but I haven't gotten around to figuring out the texture coords ( finals = [crying] ). For those of you not familiar with DOOM levels(that's probably everyone but Ben), DOOM uses a different format for walls then the other textures. Walls actually have multiple textures on them or "patches". Multi-texturing is out of the question since I think there's one wall in Doom1 with 64 patches, plus each one has different coordinates. So what I'm doing now is simply creating the patches and then "adding" textures to them at load time. It works pretty well.



This is great for the doors since the 5 quads can all use the same texture. However there's a problem, I'm only given the texture for the default position of switches. So either I'll have to load ever single patch in the WAD, or somehow detect which one's are switches and then also load their counterpart.

Well that's it for now. I have like a crap load of tests and work to do so the next entry probably won't be till this weekend.
Sign in to follow this  


2 Comments


Recommended Comments

Yeah I saw that. I check Ben's journal before anyone elses, even mine.

Share this comment


Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!