LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can you manipulate the VertArray in a 3d picture control mesh?

Hi,

I'm using the new 3d picture control for some work and would like to manipulate the vertArray of a previously created object so that I can dynamically alter its shape.

Most of the geometry and mesh parameters seem to be read-only so the only way I can find to do this is to replace the whole geometry of the object. Whilst this works it seems clumsy, particularly if the object has a large mesh.

Any ideas? Thanks in advance,

Pete
0 Kudos
Message 1 of 3
(2,720 Views)
Hi Pete,

Please can you clarify what you mean by vertArray? Please can you also send some example code that shows what you want to change.

Regards
JamesC
NIUK and Ireland

0 Kudos
Message 2 of 3
(2,686 Views)
Hi,

I've attached a screenshot giving a bit more context to what I'm trying to do.

In this implementation I have to create a copy of the vertArray that defines the 3d object geometry (a line in this case), then modify that copy before creating a new mesh and assigning this to the 3d object.

It would seem to be much more efficient if I could directly modify the object geometry. There is an option to share meshes between 3d objects - I wonder if it is possible to use this property somehow?]

Thanks

Pete


Message Edited by Pete Culmer on 03-17-2008 09:21 AM
Download All
0 Kudos
Message 3 of 3
(2,682 Views)