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

bitmap and mesh blocks #49

Open
struffel opened this issue Oct 3, 2024 · 0 comments
Open

bitmap and mesh blocks #49

struffel opened this issue Oct 3, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed
Milestone

Comments

@struffel
Copy link
Contributor

struffel commented Oct 3, 2024

To help clients better understand the data they can expect to receive within components, two new blocks should be added.

bitmap

Indicates that the component represents a bitmap with the following properties:

  • width: Width in pixels
  • height: Height in pixels
  • bpc: Bits per channel
  • mode: One of grayscale,RGB,RGBA
  • colorspace: Open Question: Is there an existing list of common color spaces that could be used here?

mesh

  • faces: Number of faces
  • up_axis: One of +x,-x,+y,-y,+z,-z Open question: Should this be defined here or individually for every format like it is currently happening with the format.obj datablock? The problem with defining it here is that some formats actually prescribe a specific up-axis so this field would be in conflict.
@struffel struffel added enhancement New feature or request help wanted Extra attention is needed labels Oct 3, 2024
@struffel struffel added this to the v1.0 milestone Oct 3, 2024
@struffel struffel self-assigned this Oct 3, 2024
@struffel struffel changed the title bitmap and geometry blocks bitmap and mesh blocks Oct 3, 2024
@struffel struffel modified the milestones: v1.0, v0.5 Oct 3, 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 help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant