CHAI3DCHAI3D

normal Local and global reference frame

More
16 Aug 2016 08:03 #1

Hi

I am little confused with local and global reference frames.

cMultiMesh* object;
object = new cMultiMesh();
//object->setLocalPos(...)
// object->setLocalRot(...)
// object->rotateAboutGlobalAxisDeg(...)
// object->rotateAboutLocalAxisDeg(...)

From my previous knowledge i understand that there are 3 frames of reference.
one is 3D mesh / objects reference frame (The X,Y,Z coordinates of the mesh vertices are defined relative to the object’s center - Model space )
second is world frame of reference and the
third is camera frame of reference

What is local and Global axis correspond to ?

Please Log in or Create an account to join the conversation.

More
21 Oct 2016 20:32 #2

You can either rotate an object around its local reference frame or parent reference frame (global).

The following video illustrates the differences:

Please Log in or Create an account to join the conversation.