How to create a flexible 3d object using 3d picture control tool kit. I can rotate, translate and scale a object but i cannot make to bend it... Help me ?
Thank you for your kind reply Mr.Alex.
You reply was very helpfull to me.. I can do bending movement with what you had proposed in early reply.. For my application i need to make my object as flexible. Here i have attached my object file. Just i created a two box Objects. In that , I need to bend green coloured object as like in attached Picture file..
For this purpose what i need to do and how can i code the program..
Looking for your reply...
You can't do it with the 3D picture control unless you make your bending object out of a bunch of discrete shapes that you calculate the new positions of with each change in angle. You'd essentially be building a low res rendering engine. If you are looking for a way to do this, and are not tied to LabVIEW, you may want to look at something like Blender3D, an open source animation and game engine software package, where you can dynamically adjust shapes like this.
You could make an animation in Blender to account for a bunch of discrete bend positions and export them as seperate STL files. Then you could load the STL files into memory (or one at a time), and display the correct one based on the rotation value in a LabVIEW control.
Did you try vugie's example? It seems quite possible to redraw the green object with a different shape based on the mouse drag.