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

Add Camera Settings tab and features #91

Merged

Conversation

Minon
Copy link
Contributor

@Minon Minon commented Jan 28, 2024

This adds a new Camera tab to the Settings form, which contains options for changing the controls for 3D model views, including Mouse Button mappings (only middle and right), camera inversion, and a Flycam/Turntable toggle. The button mappings do not include any changes for numpad keyboard controls.

GIF 2024-01-27 21-08-16

It turned out the Pivot function had the means to do the turntable movement, but the radius stayed constant and essentially acted no different from a flycam. When the camera mode is set to Turntable, changing the zoom will update the radius, while in Flycam mode it will be locked to 0.

The rolling function doesn't work correctly (and probably never has)

This adds a new Camera tab to the Settings form, which contains options for changing the controls for 3D model views, including Mouse Button mappings (only middle and right), camera inversion, and a Flycam and Turntable option
The settings code generator's a bit finicky
The camera distance wasn't getting reset when closing and reopening the model previewer form
@soopercool101 soopercool101 merged commit 078243d into soopercool101:master Feb 6, 2024
1 check 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.

None yet

2 participants