Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Scalemarkers numbered #1131
This pull request represents a set of changes to add numbered scale markers as discussed at #1116
The scale marking is user select-able using a menu item in the View menu.
The markers change proportionally based on the length of the axes using a log function to provide units in powers of ten at all zoom levels.
The markers currently in code provide a single arm to one side of the axis, additional arms are present but commented in the code.
The numbers are generated by GL_LINES, GL_LINE_STRIPs or GL_LINE_LOOPs as appropriate. Their sizing remains consistent regardless of scale.
Here are some downsides (though not necessarily issues, just artifacts):
referenced this pull request
Jan 4, 2015
added a commit
this pull request
Jan 8, 2015
Frak! I thought sure I tested that. I must have gotten complacent thinking I was mimicking the GLView::showAxes setup. Basing my scaling entirely on
Sigh, there goes my fantasy of faking an understanding of how the camera stuff programmatically works. Sorry about that!!! I'l dig in and get a sufficient understanding.