ROTSTEP questions


RE: ROTSTEP questions
#5
(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 Smile  )

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.
Reply
« Next Oldest | Next Newest »



Messages In This Thread
ROTSTEP questions - by Roland Melkert - 2016-04-21, 22:37
RE: ROTSTEP questions - by Milan Vančura - 2016-04-23, 15:15
RE: ROTSTEP questions - by Roland Melkert - 2016-04-23, 20:42
RE: ROTSTEP questions - by Travis Cobbs - 2016-04-24, 4:59
RE: ROTSTEP questions - by Roland Melkert - 2016-04-24, 19:21
RE: ROTSTEP questions - by Travis Cobbs - 2016-04-25, 2:48
RE: ROTSTEP questions - by Roland Melkert - 2016-04-25, 20:54
RE: ROTSTEP questions - by N. W. Perry - 2022-06-11, 2:28
RE: ROTSTEP questions - by Roland Melkert - 2022-06-11, 18:40
RE: ROTSTEP questions - by N. W. Perry - 2022-06-11, 21:08
RE: ROTSTEP questions - by Roland Melkert - 2022-06-12, 17:21
RE: ROTSTEP questions - by N. W. Perry - 2022-06-12, 18:05
RE: ROTSTEP questions - by Roland Melkert - 2022-06-16, 21:28
RE: ROTSTEP questions - by N. W. Perry - 2022-06-16, 23:27
RE: ROTSTEP questions - by Roland Melkert - 2022-06-17, 18:40
RE: ROTSTEP questions - by N. W. Perry - 2022-06-17, 21:22

Forum Jump:


Users browsing this thread: 1 Guest(s)