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

Walls part 1

Sign in to follow this  


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  


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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!