ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

3D graphics question

Solved!
Go to solution

I have a 3D plot - rectangular solid and I can rotate it ok about x y and z. I only need z as the vertical axis so that Roll is around x, Pitch around y and yaw around z. The z axis must be vertical which sounds easy. What am I doing wrong?

0 Kudos
Message 1 of 4
(3,213 Views)
Solution
Accepted by tomnz

If i understand your Question Correctly, this is my suggestion (Axis value for Rotate Object are as follows(1,0,0)(0,1,0)(0,0,1)).

----------------------------------------------------------------------------------------------------------------
Palanivel Thiruvenkadam | பழனிவேல் திருவெங்கடம்
LabVIEW™ Champion |Certified LabVIEW™ Architect |Certified TestStand Developer

Kidlin's Law -If you can write the problem down clearly then the matter is half solved.
-----------------------------------------------------------------------------------------------------------------
0 Kudos
Message 2 of 4
(3,176 Views)
Solution
Accepted by tomnz

If you want to have the Z-axis as the vertical axis, I think that you have 2 options:

 

Create a scene, rotate that scene, and then add your object to that scene (as shown below).

PC 3D Picture (mod)_BD.pngOr just rotate the camera view using the invoke node "Setup Camera" of the 3D Picture control.

Marc Dubois
Message 3 of 4
(3,156 Views)

Thank you for that. I made the mistake of using the reference rather than the object when I was trying. Works well - here is the modified version.

0 Kudos
Message 4 of 4
(3,146 Views)