08-08-2011 10:30 PM
Hey, I have a quick question in regard to controlling the angle at which the camera views an inputted STL file.
I am trying to simulate the movement of a foot plate with a STL file. When I input the STL file, I want the same orientation each time in reference to the part being imported, how would I go about this?
Also another question is, could I output the camera angle if I manually change it??
Regards
Alim GUy
08-09-2011 04:37 PM
Aguy,
The ModelView Matrix Property node may be what you’re looking for. Right click on your scene display in the block diagram and create property node-> ModelViewMatrix. From the context help this property scales values for the 3D scene that appears in the 3D picture control.
The 3D Picture control is based on OpenGL so the ModelView property uses OpenGL transformations (http://www.songho.ca/opengl/gl_transform.html).
Regards,
Michael
NI Americas | AE