Hi,
On 20/10/10 21:55, Cory Riddell wrote:
Tim
Thanks for the reassurance and the explanation. My code is working well
now and I'm very happy with it. I hardly had to change anything, so that
makes me think I got it right.
I do kind of wish I could always have my orbits be around the center
I haven't tried it, but wouldn't changing the order of multiplication in the
get(Inverse)Matrix methods do the trick:
return osg::Matrixd::translate(osg::Vec3d(0.0, 0.0, m_distance))*
osg::Matrixd::translate(m_center)*
osg::Matrixd::rotate(M_PI_2-m_elevation, 1.0, 0.0,
On Mon, Oct 18, 2010 at 10:23 PM, Cory Riddell c...@codeware.com wrote:
I've been plowing through this and I can almost get what I need, I just
don't entirely understand a couple of things.
Is it safe to think of the view matrix as the camera position and
orientation? By doing so, I think I
Tim
Thanks for the reassurance and the explanation. My code is working
well now and I'm very happy with it. I hardly had to change
anything, so that makes me think I got it right.
I do kind of wish I could always have my orbits be around the center
of my
I've been plowing through this and I can almost get what I need, I
just don't entirely understand a couple of things.
Is it safe to think of the view matrix as the camera position and
orientation? By doing so, I think I understand
SphericalManipulator::getMatrix()
5 matches
Mail list logo