Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Week 019 Wolfenstein 3D description is wrong #46

Open
Blzut3 opened this issue Aug 25, 2020 · 1 comment
Open

Week 019 Wolfenstein 3D description is wrong #46

Blzut3 opened this issue Aug 25, 2020 · 1 comment

Comments

@Blzut3
Copy link

Blzut3 commented Aug 25, 2020

I know this is a bit pedantic, but it's up there with "cyan is transparent in Doom" on the list of misconceptions. The Wolfenstein 3D sprite format is actually very similar to the one used in Doom where by you have a header specifying the left offset and width of the sprite and then a bunch of pointers to columns of posts. See: https://bitbucket.org/ecwolf/ecwolf/src/master/src/textures/wolfshapetexture.cpp

Wolfenstein 3D just has the convenient property of it not being very useful to draw a sprite outside of the 64x64 bounding box, but technically the sprite format could support much much wider and taller sprites. Logically the difference comes down to the origin point being upper left rather than bottom center. But most importantly there's no transparent color just like in Doom.

Somewhat oddly an example which could be used for what you were trying to demonstrate is the double sky feature in Hexen. There the SKYWALL texture actually does use palette index 0 to indicate transparent. Not sure why Raven did that, but it is what it is.

@amroibrahim
Copy link
Owner

Thank you, I didn't know that I will look into this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants