1
0
mirror of https://github.com/fadden/6502bench.git synced 2024-11-29 10:50:28 +00:00
6502bench/SourceGen/RuntimeData/Help
Andy McFadden b3dacc2613 Switch to left-handed coordinate system
There's no "standard" coordinate system, so the choice is arbitrary.
However, an examination of the Transporter mesh in Elite revealed
that the mesh was designed for a left-handed coordinate system.  We
can compensate for that trivially in the Elite visualizer, but we
might as well match what they're doing.  (The only change required
in the code is a couple of sign changes on the Z coordinate, and an
update to the rotation matrix.)

This also downsizes Matrix44 to Matrix33, exposes the rotation mode
enum, and adds a left-handed ZYX rotation mode.

This does mean that meshes that put the front at +Z will show their
backsides initially, since we're now oriented as if we're flying
the ships rather than facing them.  I considered adding a 180-degree
Y rotation (with a tweak to the rotation matrix handedness to correct
the first rotation axis) to have them facing by default, but figured
that might be confusing since +Z is supposed to be away.

Anybody who really wants it to be the other way can trivially flip
the coordinates in their visualizer (negate xc/zc).

The Z coordinates in the visualization test project were flipped so
that the design is still facing the viewer at rotation (0,0,0).
2020-03-14 13:59:08 -07:00
..
advanced.html Groundwork for animated Visualizations 2019-12-17 17:43:56 -08:00
analysis.html Expand the set of things SetInlineDataFormat accepts 2019-10-05 19:51:34 -07:00
codegen.html Add visualization sets to exported HTML 2019-12-13 17:15:38 -08:00
editors.html Allow custom colors in Notes 2020-03-13 13:58:52 -07:00
end-notes.html Add "Go to Last Change" feature 2019-11-01 19:11:48 -07:00
index.html Add file concatenation tool 2019-12-28 17:22:19 -08:00
intro.html Label rework, part 7 (of 7) 2019-11-18 17:45:41 -08:00
main.css Initial file commit 2018-09-28 10:05:11 -07:00
mainwin.html Allow setting the start/end address for a block 2019-12-25 18:17:50 -08:00
settings.html Add F6 as a shortcut for the Project Symbols editor 2019-12-13 13:05:29 -08:00
tools.html Improve CPU instruction chart 2020-02-18 13:25:20 -08:00
tutorials.html Fix tutorial 2020-01-27 13:23:05 -08:00
visualization.html Switch to left-handed coordinate system 2020-03-14 13:59:08 -07:00