LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

3D transformation problem with labview

Hi guys,

I've been a while using labview (only for a couple a months).
I have this problem with 3D picture control.

Can you define where to put the coordinate origin within an object
without defining another object?
For example, i build a cube, and rotate it about its x axis for 45
degree. The thing is that the center of rotation is always in the
center of the object, how can we move its center of origin into one of
its corner or outside or anywhere?

0 Kudos
Message 1 of 2
(2,654 Views)
Normally, you would translate an object, and then rotate it. However, if you use Set Translation and then Set Rotation it won't work. The object will be translated, but it will be rotated around it's own center, not the origin. If you use Set Translation, and then Rotate Object, The object will be rotated around the origin.


So, to rotate an object around a point, use Set Translate, and then Rotate Object.


I don't know if this is by design or if it's a bug. It's not very intuitive...


Regards,


Wiebe.
0 Kudos
Message 2 of 2
(2,650 Views)