Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

bclehmann
Copy link
Member

Use this space to describe what this pull request accomplishes.

Refer to open issues by their number to help link them with this pull request.

Consider including screenshots or code samples if it would help communicate the purpose of this pull request.

ScottPlot.Plot myPlot = new();
/* a code sample may improve communication */
myPlot.SavePng("bug.png");

@bclehmann
Copy link
Member Author

@swharden This is mostly just my experimentation branch (I had to port it to avalonia because I'm working on a Mac right now). I've moved it over to use explicit matrix multiplications because that's easier for my brain, but it's mostly the same save for me moving things into the ScottPlot.ScottPlot3D namespace. The existing WinForms code is untouched.

I have found that keyboard rotation controls are a lot easier than mouse drag, since if the scene is rotated such that positive z is to the right dragging up should still rotate in whatever axis is perpendicular to screen up. Whereas with keyboard controls having w always correspond to positive Y rotation is less jarring.

I think we should fix mouse controls, but the math for that isn't coming to me at the moment.

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