SolveSpace Logo SOLVESPACE -- parametric 2d/3d CAD
Examples
Tutorials
Features
Download
Reference
Technology
Library
Forum
Contact
USER FORUM

(you are viewing a thread; or go back to list of threads)

New Feature Request: Virtual Trackball (by Randy Manning)
Hi, Solvespace is a very powerful program, thank you for sharing it with others. I�m always finding new problems to solve with it. However the method used in Solvespace to rotate 3D object views via middle-button(or wheel)-down mouse dragging is not always intuitive to the user. Sometimes the object moves in the opposite direction to which the user intuitively drags it. I ran into this same mouse dragging 3D rotation problem several years ago when I wrote a very simple 3D magnetic field line rendering program using the Visual Basic 6.0 programming language. I finally solved the problem by implementing a virtual trackball in code. With virtual trackball implementation visual objects can quickly and intuitively be dragged to the user�s desired orientation. Explaining how virtual trackball code works is very difficult, but if you have a copy of Visual Basic 6.0 you may download my program source code from �Planet-Source-Code�. Go to the Planet Source Code home page and search for: �Magrid 1.0, A 3D magnetic field line rendering program� Examine the source code and run it - you�ll see what I mean. Thanks again for sharing Solvespace and I hope this information may be of use to you.
Randy Manning
Sat Oct 3 2015, 19:56:19
(no subject) (by Jonathan Westhues)
Thanks, I'm glad that you liked it.

I've seen a few different ways to map mouse movement to rotation, and everyone has their favorite. I like the current implementation, with rotation about the vertical and horizontal axes of the screen proportional to dx and dy. So I'm not inclined to replace that; though I'd probably merge a change to make it user-configurable if someone sent one.
Sun Oct 4 2015, 03:17:20
Post a reply to this comment:
Your Name:
Your Email:
Subject:
(no HTML tags; use plain text, and hit Enter for a line break)
Attached file (if you want, 5 MB max):
© 2008-2022 SolveSpace contributors. Most recent update June 2 2022.