Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Eponasoft

GZDOOM fun: skybox issue?

Recommended Posts

Decided to try out a GLDEFS skybox. Looks great, except one little detail...

http://www.eponasoft.com/skyboxwtf.png

Figured maybe it was an issue with SLADE3's conversion, so I converted it before importing it... but it still has the same issue. The images are fine... each is a clean 1024x1024 image, no errors of any kind. Is this perhaps a hardware limitation of my machine, or is this really a buggy bug of some kind? Any ideas?

EDIT: I'm gonna err on the side of "hardware limitation"... I reduced the images to 512x512 and didn't have any problems.

Share this post


Link to post

ha! I was just messing with a skybox (ZDoom UDMF) early this morning and ran into the same thing. The problem I was having was with the ceiling. Kept giving me a tutti-frutti(?) effect until I tried shrinking the image down to 512 x 512. Then I couldn't figure out why front/back/left/right wouldn't line up, so I placed a big "F" towards one side of the ceiling image and discovered that the ceiling was rendering mirrored. Also, got a seam if it wasn't placed within the 512 grid.

Share this post


Link to post
bytor said:

so I placed a big "F" towards one side of the ceiling image and discovered that the ceiling was rendering mirrored. Also, got a seam if it wasn't placed within the 512 grid.



That was an early development error. You can fix this by adding 'fliptop' to the skybox definition.

As for the texture glitch, what hardware do you have? No idea if this is a hardware problem or some bug in the texture creation code.

Share this post


Link to post

For GLDEFS skyboxes, you can use the "fliptop" keyword to handle the mirroring for you. For a sector-based skybox, I figure it's simply because that's how the flat would be rendered. (Place the same texture on both the floor and the ceiling, and notice how the ceiling mirrors the floor perfectly.)

Do not hesitate to post bug reports on the ZDoom forum if large dimensions cause problems.

Share this post


Link to post

I tried fliptop but it flipped it on the wrong axis. It wasn't a big deal though... mirroring the image worked fine, so I wasn't concerned.

Share this post


Link to post

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
×