> I am writing a LabView VI and I was hoping to create a 3-D cube that rotates
> around each of its 3 axes (pitch, roll and yaw). The only was I have found
> to do this so far, is to draw 12 lines an XY graph to form the cube, as in
> the example Bouncing Cube in LabVeiw 6i. This method, however, is very
> complicated due to the equations, and I was wondering if anyone knows
> another way? I have been told you can have graphical objects, for example
> lines and shapes but I can't find out how to create them.
>
Still another way of doing this, which will still require a bit of
programming, is to use the picture control. The basic picture element
you want to use is the polygon. You take the coordinates of the cube
and either move the cube or the view p
osition. You then map the points
back into a plane and call polygon to draw each of them.
This requires a bit of linear algebra and/or trig, but nothing all that
advanced. There are probably a number of implementations available on
devzone, info-labview, or other ftp sites.
Greg McKaskle