Page 1 of 1

Camera in MakeHuman

PostPosted: Mon Dec 12, 2016 6:36 pm
by Shedeki
The camera is referenced a number of times in MakeHuman:
  • In the "mhm" files saved by MakeHuman, there is a line that starts with "camera" and holds six floats. What are these numbers?
  • There is a function "MHScript.printCameraInfo()" callable by scripts that outputs a bit of information. This information does not seem to actually depend on the camera, as it does not change when the camera is changed.
  • The object "cam" offers a function "getMatrices()" which does print a couple of matrices. What are these matrices?
It'd be great to just be able to access the model view projection matrix that is used to draw the model, really. Any advice?

Re: Camera in MakeHuman

PostPosted: Sun Dec 18, 2016 12:03 am
by RobBaer
Without a little investigation I can;t answer the other questions, but the 6 numbers in the .mhm files represent the camera view when the file is saved and the camera position should be restored when the file is reopened.