I used the palette strips for comparison rather than the BGRA strips, for better consistency and accuracy, it seems like you got that much right.
I think you just miscalculated how high those strips really are supposed to be. It should be 500 pixels from end-to-end, that's top (where you look up) to bottom (where you look down). Somewhere close to 250 or so (though not exactly) is where the sky abruptly terminates at the bottom and becomes the "top" instead (for the in-floor sky view, which if I recall is never used in Hexen anyway so you'll have to make a map to test it).
Spoiler: Zen Sarcasm
1. Do not walk behind me, for I may not lead. Do not walk ahead of me, for I may not follow. Do not walk beside me, either. Just pretty much leave me the hell alone.
2. The journey of a thousand miles begins with a broken fan belt and a leaky tire.
3. It's always darkest before dawn. So if you're going to steal your neighbor's newspaper, that's the time to do it.
4. Don't be irreplaceable. If you can't be replaced, you can't be promoted.
5. No one is listening until you fart.
6. Always remember that you're unique. Just like everyone else.
7. Never test the depth of the water with both feet.
8. If you think nobody cares if you're alive, try missing a couple of car payments.
9. Before you criticize someone, you should walk a mile in their shoes.That way, when you criticize them, you're a mile away and you have their shoes.
10. If at first you don't succeed, skydiving is not for you.
11. Give a man a fish and he will eat for a day. Teach him how to fish, and he will sit in a boat and drink beer all day.
12. If you lend someone $20 and never see that person again, it was probably worth it.
13. If you tell the truth, you don't have to remember anything.
14. Sex is like air. It's not important unless you aren't getting any.
15. Don't squat with your spurs on.
16. Some days you're the bug; some days you're the windshield.
17. Don't worry; it only seems kinky the first time.
18. Good judgment comes from bad experience, and a lot of that comes from bad judgment.
19. The quickest way to double your money is to fold it in half and put it back in your pocket.
20. A closed mouth gathers no foot.
21. Duct tape is like the Force. It has a light side and a dark side, and it holds the universe together.
22. There are two theories to arguing with women. Neither one works.
23. Generally speaking, you aren't learning much when your lips are moving.
24. Experience is something you don't get until just after you need it.
25. Never miss a good chance to shut up.
26. We are born naked, wet and hungry, and get slapped on our behind. Then things get worse.
27. Never, under any circumstances, take a sleeping pill and a laxative on the same night.
28. There is a fine line between "hobby" and "mental illness."
29. No matter what happens, somebody will find a way to take it too seriously.
30. There comes a time when you should stop expecting other people to make a big deal about your birthday...around age 12.
31. Everyone seems normal until you get to know them
The sky positioning is a bit tricky and uses different formulas based on texture height. Have a look at GZDoom's RenderDome function to see the different ways to do it. Obviously you will have to test that with a few differently sized skies. The most common sizes are 128, 200, 240 and 256 but I have also seen 220 and 224, 384 and 512 in some rare occasions, 512 being one sky filling the screen from top to bottom.
My version uses the alpha channel of the bgra texture, which seems to be 0 whenever the value is 0 in the pal version. When I saw your version I figured there was a good chance of this being the case. After seeing them mix in Hexen I concluded everything is alright, but apparently that 500 buffer size affects the texture scaling somehow. The new code doesn't use any buffers at all and just looks the value up directly from the textures.
@Graf: yeah tbh I'm quite annoyed about the fact that texture coordinate calculations are totally fubar in Doom. And since all maps rely on it now there's no way to ever fix this.
That was basically unavoidable. Of course original Doom never bothered with sky positioning because looking up and down wasn't possible. So the sky's top was at the screen's top.
Raven extended this so that the top is at the screen's top when looking fully up - the problem here was that it didn't deal well with skies that are taller than 200, so ZDoom had to change it again, and made the mistake to use a height of 240 as the assumed maximum. Which required another change to make even taller skies work, but that again needed special treatment because it would have screwed over any sky between 240 and 256 otherwise. And so this mess developed...
The blame goes to everyone who approached that code with some shady assumptions. The special cases to tall skies came when I had to fix the mess and was unable to do it with a single formula.
Well yes, that is usually what happens if the original premise is built on a bonkers idea (like tieing the sky texture to the screen resolution and a specific texture size). By the time it got to you there were already so many hacks that adding one more would just be business as usual.
Screenshot_Hexen_20161016_082223.png (291.24 KiB) Viewed 1348 times
As aesthetically appealing as it is, I don't think the bottom fog is supposed to be there. The fog appears for Heretic's single-layer skies, as well (E1M1), but Doom's skies appear correctly.
Also it seems like my status bar is missing from my screenshot. o.O
Spoiler: Zen Sarcasm
1. Do not walk behind me, for I may not lead. Do not walk ahead of me, for I may not follow. Do not walk beside me, either. Just pretty much leave me the hell alone.
2. The journey of a thousand miles begins with a broken fan belt and a leaky tire.
3. It's always darkest before dawn. So if you're going to steal your neighbor's newspaper, that's the time to do it.
4. Don't be irreplaceable. If you can't be replaced, you can't be promoted.
5. No one is listening until you fart.
6. Always remember that you're unique. Just like everyone else.
7. Never test the depth of the water with both feet.
8. If you think nobody cares if you're alive, try missing a couple of car payments.
9. Before you criticize someone, you should walk a mile in their shoes.That way, when you criticize them, you're a mile away and you have their shoes.
10. If at first you don't succeed, skydiving is not for you.
11. Give a man a fish and he will eat for a day. Teach him how to fish, and he will sit in a boat and drink beer all day.
12. If you lend someone $20 and never see that person again, it was probably worth it.
13. If you tell the truth, you don't have to remember anything.
14. Sex is like air. It's not important unless you aren't getting any.
15. Don't squat with your spurs on.
16. Some days you're the bug; some days you're the windshield.
17. Don't worry; it only seems kinky the first time.
18. Good judgment comes from bad experience, and a lot of that comes from bad judgment.
19. The quickest way to double your money is to fold it in half and put it back in your pocket.
20. A closed mouth gathers no foot.
21. Duct tape is like the Force. It has a light side and a dark side, and it holds the universe together.
22. There are two theories to arguing with women. Neither one works.
23. Generally speaking, you aren't learning much when your lips are moving.
24. Experience is something you don't get until just after you need it.
25. Never miss a good chance to shut up.
26. We are born naked, wet and hungry, and get slapped on our behind. Then things get worse.
27. Never, under any circumstances, take a sleeping pill and a laxative on the same night.
28. There is a fine line between "hobby" and "mental illness."
29. No matter what happens, somebody will find a way to take it too seriously.
30. There comes a time when you should stop expecting other people to make a big deal about your birthday...around age 12.
31. Everyone seems normal until you get to know them
The missing status bar is because OpenGLSWFrameBuffer::GetScreenshotBuffer is currently not implemented. It should be there if you use the d3d9 target.
Okay, I pulled from the latest and am compiling that for the latest build before I leave today.
Spoiler: Zen Sarcasm
1. Do not walk behind me, for I may not lead. Do not walk ahead of me, for I may not follow. Do not walk beside me, either. Just pretty much leave me the hell alone.
2. The journey of a thousand miles begins with a broken fan belt and a leaky tire.
3. It's always darkest before dawn. So if you're going to steal your neighbor's newspaper, that's the time to do it.
4. Don't be irreplaceable. If you can't be replaced, you can't be promoted.
5. No one is listening until you fart.
6. Always remember that you're unique. Just like everyone else.
7. Never test the depth of the water with both feet.
8. If you think nobody cares if you're alive, try missing a couple of car payments.
9. Before you criticize someone, you should walk a mile in their shoes.That way, when you criticize them, you're a mile away and you have their shoes.
10. If at first you don't succeed, skydiving is not for you.
11. Give a man a fish and he will eat for a day. Teach him how to fish, and he will sit in a boat and drink beer all day.
12. If you lend someone $20 and never see that person again, it was probably worth it.
13. If you tell the truth, you don't have to remember anything.
14. Sex is like air. It's not important unless you aren't getting any.
15. Don't squat with your spurs on.
16. Some days you're the bug; some days you're the windshield.
17. Don't worry; it only seems kinky the first time.
18. Good judgment comes from bad experience, and a lot of that comes from bad judgment.
19. The quickest way to double your money is to fold it in half and put it back in your pocket.
20. A closed mouth gathers no foot.
21. Duct tape is like the Force. It has a light side and a dark side, and it holds the universe together.
22. There are two theories to arguing with women. Neither one works.
23. Generally speaking, you aren't learning much when your lips are moving.
24. Experience is something you don't get until just after you need it.
25. Never miss a good chance to shut up.
26. We are born naked, wet and hungry, and get slapped on our behind. Then things get worse.
27. Never, under any circumstances, take a sleeping pill and a laxative on the same night.
28. There is a fine line between "hobby" and "mental illness."
29. No matter what happens, somebody will find a way to take it too seriously.
30. There comes a time when you should stop expecting other people to make a big deal about your birthday...around age 12.
31. Everyone seems normal until you get to know them
Or I can just do another build. Of course, to you, it's "tomorrow" because you're 6 hours ahead of me.
Spoiler: Zen Sarcasm
1. Do not walk behind me, for I may not lead. Do not walk ahead of me, for I may not follow. Do not walk beside me, either. Just pretty much leave me the hell alone.
2. The journey of a thousand miles begins with a broken fan belt and a leaky tire.
3. It's always darkest before dawn. So if you're going to steal your neighbor's newspaper, that's the time to do it.
4. Don't be irreplaceable. If you can't be replaced, you can't be promoted.
5. No one is listening until you fart.
6. Always remember that you're unique. Just like everyone else.
7. Never test the depth of the water with both feet.
8. If you think nobody cares if you're alive, try missing a couple of car payments.
9. Before you criticize someone, you should walk a mile in their shoes.That way, when you criticize them, you're a mile away and you have their shoes.
10. If at first you don't succeed, skydiving is not for you.
11. Give a man a fish and he will eat for a day. Teach him how to fish, and he will sit in a boat and drink beer all day.
12. If you lend someone $20 and never see that person again, it was probably worth it.
13. If you tell the truth, you don't have to remember anything.
14. Sex is like air. It's not important unless you aren't getting any.
15. Don't squat with your spurs on.
16. Some days you're the bug; some days you're the windshield.
17. Don't worry; it only seems kinky the first time.
18. Good judgment comes from bad experience, and a lot of that comes from bad judgment.
19. The quickest way to double your money is to fold it in half and put it back in your pocket.
20. A closed mouth gathers no foot.
21. Duct tape is like the Force. It has a light side and a dark side, and it holds the universe together.
22. There are two theories to arguing with women. Neither one works.
23. Generally speaking, you aren't learning much when your lips are moving.
24. Experience is something you don't get until just after you need it.
25. Never miss a good chance to shut up.
26. We are born naked, wet and hungry, and get slapped on our behind. Then things get worse.
27. Never, under any circumstances, take a sleeping pill and a laxative on the same night.
28. There is a fine line between "hobby" and "mental illness."
29. No matter what happens, somebody will find a way to take it too seriously.
30. There comes a time when you should stop expecting other people to make a big deal about your birthday...around age 12.
31. Everyone seems normal until you get to know them