Skip to content

Shader rotation - #171

Merged
micahwoodard merged 4 commits into
visualizer-refactor-stagingfrom
shader-rotation
Sep 11, 2026
Merged

Shader rotation#171
micahwoodard merged 4 commits into
visualizer-refactor-stagingfrom
shader-rotation

Conversation

@RoboDoig

@RoboDoig RoboDoig commented Sep 4, 2026

Copy link
Copy Markdown
Collaborator

This PR addresses comments in #139 and implements image rotation and flipping in the shader pass to avoid allocations from the Flip and WarpAffine operators.

Rotation is not locked and is set with a radians property in the CameraPreviewVisualizer. Horizontal and Vertical flips are represented by a boolean property

@micahwoodard

Copy link
Copy Markdown
Collaborator

@RoboDoig would it be worth combining #168 with this pr to enforce visualizer flip and rotation via config?

@RoboDoig

RoboDoig commented Sep 4, 2026

Copy link
Copy Markdown
Collaborator Author

@micahwoodard - yes potentially, I've just left flip and rotation options as properties of the visualizers for now so should be easy enough to wire them in from the config.

@bruno-f-cruz bruno-f-cruz left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. We can keep improving if needed later! Thanks @RoboDoig !

@micahwoodard
micahwoodard merged commit 905ffc0 into visualizer-refactor-staging Sep 11, 2026
4 checks passed
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.

3 participants