LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Camera angle control

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

0 Kudos
Message 1 of 2
(2,493 Views)

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

0 Kudos
Message 2 of 2
(2,478 Views)