RE: ROTSTEP questions
2016-04-24, 19:21 (This post was last modified: 2016-04-25, 20:42 by Roland Melkert.)
2016-04-24, 19:21 (This post was last modified: 2016-04-25, 20:42 by Roland Melkert.)
(2016-04-24, 4:59)Travis Cobbs Wrote: I don't know for sure, but I suspect that it is latitude 30, longitude 45 in lat/long spherical coordinates. Here is my OpenGL-compatible code for initializing the matrix in LDView; I'm pretty sure that's the same as what's in LPub:Thanks Travis that translates into
0.707 0 0.707 0.354 0.866 -0.354 -0.612 0.5 0.612
Which is the same as the default in LDView (I should have realisded LPub uses LDView to render
)I just had to correct to LDraw coord system (a 180 rotate around X-axis, or 1, -1, -1 scale) to compensate for the neg y-axis.
which gives.
0.707 0 0.707 -0.354 -0.866 0.354 0.612 -0.5 -0.612
I assume LDView does that somewhere later on?
I'll make the above part of main.cfg so it is adjustable.
