Commit 650619c3 by wester

transformation

parent 8d9beb6b
...@@ -66,7 +66,7 @@ float KinectSizeZ = 0.067; ...@@ -66,7 +66,7 @@ float KinectSizeZ = 0.067;
SteamTracking* steamTracking = nullptr; SteamTracking* steamTracking = nullptr;
int controllerID = 3; int controllerID = 1;
glm::mat4x4* currentControlerPos = nullptr; glm::mat4x4* currentControlerPos = nullptr;
glm::mat4x4 controlerToKinect; glm::mat4x4 controlerToKinect;
Camera mainCam; Camera mainCam;
...@@ -498,7 +498,7 @@ int main(int argc, char* argv[]) { ...@@ -498,7 +498,7 @@ int main(int argc, char* argv[]) {
float dx = KinectOriginOffsetX - KinectSizeX/ 2; float dx = KinectOriginOffsetX - KinectSizeX/ 2;
float dy = KinectSizeY / 2 + 0.008; // dicke Halterung; float dy = KinectSizeY / 2 + 0.008; // dicke Halterung;
float dz = 0.0450f; //TODO - offset nach hinten; float dz = 0.090f; //TODO - offset nach hinten;
controlerToKinect = glm::translate(glm::mat4x4(), (glm::vec3(0.0f, 0.0f, 0.24f))); controlerToKinect = glm::translate(glm::mat4x4(), (glm::vec3(0.0f, 0.0f, 0.24f)));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment