这是indexloc提供的服务,不要输入任何密码
Skip to content

Convert: Flat terrain textures #985

@heinezen

Description

@heinezen

As mentioned in #720, we want to convert the old SLP terrain files to a flat terrain texture. I've implemented a working prototype for that utilizing the dimetric projection algorithm from the openage modding repository. The resulting python script can be found here. It operates on the output of our current converter.

merge() puts the single tiles together into one giant tile. transform() projects the result from dimetric to the desired flat perspective. Here you see the output when converting 15006.slp.png.

15006_flat_t

Textures from SLPs will always have a ratio of 1:1 and a size of 481x481 (compared to 512x512 in HD).

If somebody want to implement a more efficient version of the script and integrate it into the converter, go ahead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: assetsInvolved with assets (images, sounds, ...)good first issueSuitable for newcomersjust do itYou can start working on this, there should be nothing left to discusslang: pythonDone in Python code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions