Skip to content

As a user I want a !LPE_DAT2PNG meta command to create "png textures" from texmap geometry code #1189

@nilsschmidt1337

Description

@nilsschmidt1337

Example code for a 100 x 100 pixel sized image with a green triangle:

0 !LPE_DAT2PNG 100 100 Test.png
0 !: 3 2 0 0 0 1 0 0 0 1 0
0 !LPE_DAT2PNG_END

Here is a different interesting !TEXMAP approach, which uses *.dat files as an image source:

Roland M. wrote:

This projects the ldr given in !TEXMAP onto a tight fitting 1280x1280 texture. And then use it like any normal TEXMAP texture.

The final version has to do (Way) more with dimensions and positioning, but I was thinking this is a nice little proof of concept already?

ldrTexTest.ldr.txt

Image

Metadata

Metadata

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions