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

Revamp camera and viewport handling #181

Merged
merged 18 commits into from
Nov 15, 2024
Merged

Revamp camera and viewport handling #181

merged 18 commits into from
Nov 15, 2024

Conversation

mkeeter
Copy link
Owner

@mkeeter mkeeter commented Nov 11, 2024

  • Adds View2 and View3 types to the Fidget crate itself, which define world-to-model transform matrices. Remove the existing Camera type.
  • Adds a RegionSize<N> (typedefed to ImageSize and VoxelSize) for a pixel size, which gives the screen-to-world transform matrix
  • Uses these types in RenderConfig (2D / 3D images) and Settings (for meshing)

Todo:

  • Use these types in demos
  • Remove the separate camera utility library?
  • Update CHANGELOG

@mkeeter mkeeter marked this pull request as ready for review November 14, 2024 00:03
@mkeeter mkeeter merged commit f0cf358 into main Nov 15, 2024
12 checks passed
@mkeeter mkeeter deleted the revamp-camera branch November 15, 2024 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant