Camera in MakeHuman

If your topic doesn't fit anywhere else, put it here.

Moderator: joepal

Camera in MakeHuman

Postby Shedeki » Mon Dec 12, 2016 6:36 pm

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?
Shedeki
 
Posts: 6
Joined: Mon Dec 05, 2016 11:10 am

Re: Camera in MakeHuman

Postby RobBaer » Sun Dec 18, 2016 12:03 am

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.
User avatar
RobBaer
 
Posts: 1233
Joined: Sat Jul 13, 2013 3:30 pm
Location: Kirksville, MO USA


Return to General discussions about makehuman

Who is online

Users browsing this forum: No registered users and 4 guests