Slanted 3-D floor and ceiling heights don't seem right.....

Advanced OpenGL source port fork from ZDoom, picking up where ZDoomGL left off.
[Home] [Download] [Git builds (Win)] [Git builds (Mac)] [Wiki] [Repo] [Bugs&Suggestions]

Moderator: Graf Zahl

Locked
User avatar
DoomGuy
Posts: 47
Joined: Tue Apr 25, 2006 4:02

Slanted 3-D floor and ceiling heights don't seem right.....

Post by DoomGuy »

Attached is part of a larger .wad file. I had a heck of a time tring to get the floor and ceiling heights of the sloped floor (where the player starts) to match up with the heights and slopes of the walls of the building. If you check the sectors outside the 'playable' area you will see what I mean. The back wall is at 140 and the upper part of the slope is at 195, but the sloped sector outside the 'playable' area (sector 639) is set at 61 for the ceiling and 53 for the floor height. The smaller sector (640) outside the 'playable' area (used to get the slope) is at 9 and 1 respectively. Shouldn't you be able to set sector 640 at 132 and 140 and sector 639 at 187and 195? If I set them to match the wall heights the sloped sector is way up in the air at the map ceiling height of 384. Is this a bug? Or is this how it should be. It took me a heck of a long time using trial and error to line these sectors up. Is there a different way I should be doing this? If so, please let me know how.....
Attachments
3Dslope.zip
(6.22 KiB) Downloaded 54 times
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

You did it wrong. To define a sloped 3D floor you have to set it up in a way that the actual slope defined by the control sector extends to the place you want it to be. One of your control sectors is offset in a way that makes it very hard to calculate the exact position. Always make sure that the control sector is placed so that the slope runs parallel to its destination. That will make it much easier to control the heights at each end.
User avatar
DoomGuy
Posts: 47
Joined: Tue Apr 25, 2006 4:02

I'll give it a try!

Post by DoomGuy »

Thanks Graf! I'll give it a try! Was I correct in the way I created the sloped 3-D floor?
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

Since I don't know what you intended I can't say. ;)
Locked

Return to “GZDoom”