snake-biscuits / bsp_tool

Python library for analysing .bsp files
GNU General Public License v3.0
102 stars 8 forks source link

Need a common Image LumpClass base type #159

Open snake-biscuits opened 11 months ago

snake-biscuits commented 11 months ago

We need a solid baseclass for bsp lumps containing image data Sort of a SpecialLumpClass, but multiple instances per-lump This could be used for indexing, since some lumps have indices into arrays of raw texels e.g. titanfall.LIGHTMAP_DATA_SKY / quake.MipTextures

BspLump.from_count could be a useful base Translating a full batch of pixels is a lot of work after all

Pillow would be best for visualisation imo. Image[x][y] indexing would also be nice

LumpClasses

Related