Skip to content

Shader rotation - #171

Open
RoboDoig wants to merge 4 commits into
visualizer-refactor-stagingfrom
shader-rotation
Open

Shader rotation#171
RoboDoig wants to merge 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.

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.

2 participants