LDView 4.2 Released


RE: LDView 4.2 Released
#30
(2017-10-23, 4:43)Michael Horvath Wrote: One more question: does the calcRotationMatrix function rotate about the camera's axes or the universe's axes? It's supposed to rotate around the camera's x axis and the universe's y axis, according to the link I provided. Or does the function already take this into account?

Neither. The function creates a matrix that when applied to the matrix stack performs those rotations. It was written for latitude/longitude mode, where it is used to rotate the model about its center, but the matrix itself simply rotates about 0,0,0. For use rotating the model, my code first translates to the center, then applies the rotation.
Reply
« Next Oldest | Next Newest »



Messages In This Thread
LDView 4.2 Released - by Travis Cobbs - 2016-07-11, 21:59
RE: LDView 4.2 Released - by Trevor Sandy - 2016-07-15, 11:44
RE: LDView 4.2 Released - by Travis Cobbs - 2016-07-15, 17:00
RE: LDView 4.2 Released - by Trevor Sandy - 2016-07-15, 17:15
RE: LDView 4.2 Released - by Michael Horvath - 2016-07-28, 11:23
RE: LDView 4.2 Released - by David Manley - 2016-09-14, 21:05
RE: LDView 4.2 Released - by Travis Cobbs - 2016-09-14, 22:06
RE: LDView 4.2 Released - by Michael Horvath - 2016-10-23, 20:24
RE: LDView 4.2 Released - by Travis Cobbs - 2016-10-24, 2:35
RE: LDView 4.2 Released - by Michael Horvath - 2016-10-24, 14:32
RE: LDView 4.2 Released - by Travis Cobbs - 2016-10-24, 17:22
RE: LDView 4.2 Released - by Michael Horvath - 2017-10-07, 20:17
RE: LDView 4.2 Released - by Travis Cobbs - 2017-10-07, 21:28
RE: LDView 4.2 Released - by Michael Horvath - 2017-10-20, 12:06
RE: LDView 4.2 Released - by Roland Melkert - 2017-10-20, 19:43
RE: LDView 4.2 Released - by Travis Cobbs - 2017-10-21, 3:32
RE: LDView 4.2 Released - by Travis Cobbs - 2017-10-21, 20:33
RE: LDView 4.2 Released - by Travis Cobbs - 2017-10-22, 4:16
RE: LDView 4.2 Released - by Michael Horvath - 2017-10-22, 20:52
RE: LDView 4.2 Released - by Travis Cobbs - 2017-10-23, 4:05
RE: LDView 4.2 Released - by Travis Cobbs - 2017-10-24, 4:34
RE: LDView 4.2 Released - by Travis Cobbs - 2017-10-24, 4:42
RE: LDView 4.2 Released - by Travis Cobbs - 2017-10-25, 5:25
RE: LDView 4.2 Released - by Travis Cobbs - 2017-10-25, 5:32
RE: LDView 4.2 Released - by Travis Cobbs - 2017-10-27, 5:46

Forum Jump:


Users browsing this thread: 2 Guest(s)