Aleph-Bet-Marathon / alephbet

Open source continuation of the Marathon 2 game engine.
GNU General Public License v3.0
0 stars 3 forks source link

UV mapping and/or arbitrary texture scaling and rotation #19

Open aaronfreed opened 2 weeks ago

aaronfreed commented 2 weeks ago

An idea shamelessly stolen from Build (since Build is, like Marathon, a portal engine, we can probably adapt many of its algorithms with few changes). Being able to scale and rotate textures arbitrarily would be a game-changer for those of us that love our hexagons and circles. This would undoubtedly require some editor changes and might require a new map flag (like RSTX for “Rotate & Scale Texture” or something), which would really be the main source of difficulty here IMO.

SolraBizna commented 2 weeks ago

Doing this for floors, ceilings, and (maybe) media should be possible. Walls would effectively be impossible.

aaronfreed commented 1 week ago

I meant to clarify this, but for the record, arbitrary rotation for walls isn’t really a thing I can ever imagine needing (although 90°, 180°, and 270° rotation could be potential stretch goals). We might as well add “flip horizontal/vertical” to the list of stretch goals, too.