Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need a common Image LumpClass base type #159

Open
4 tasks
snake-biscuits opened this issue Oct 29, 2023 · 0 comments
Open
4 tasks

Need a common Image LumpClass base type #159

snake-biscuits opened this issue Oct 29, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@snake-biscuits
Copy link
Owner

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

  • id_software.quake3.Lightmap
  • id_software.quake.MipTexture
  • infinity_ward.call_of_duty.Lightmap
  • wild_tangent.genesis3d.Palette

Related

@snake-biscuits snake-biscuits added the enhancement New feature or request label Oct 29, 2023
@snake-biscuits snake-biscuits added this to the v1.0.0 milestone Oct 29, 2023
@snake-biscuits snake-biscuits self-assigned this Oct 29, 2023
@snake-biscuits snake-biscuits moved this to Todo: Research in bsp_tool Core Functionality Jan 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Todo: Research
Development

No branches or pull requests

1 participant