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: 

How do I apply a texture to an imported .stl file in 3D Picture Control?

Hi, I'm trying to apply a 2D image as a texture to an imported .stl file in 3D picture control. It works fine if I'm using a standard shaped mesh created in LabVIEW, however is there a way in which a texture can be applied to an imported model that isn't a standard shape, in my case a balloon. I've attached the an image of the Sub vi where I apply the texture. The object just shows up as a flat colour. Do I need to define how the image is applied to the mesh due to it being a non-standard shape? If so, any pointers would be appreciated.

Many thanks.

 

Oh, I'm using LabVIEW 2009 SP1.

0 Kudos
Message 1 of 4
(4,170 Views)

Apologies, been trying all afternoon and then a couple of minutes after posting, I figured it out. Using a property node for the Scenemesh reference, I set the property TextureGenMode to Spherical and it appears to now display the texture on the mesh.

0 Kudos
Message 2 of 4
(4,166 Views)

Hello,

would you be so kind to upload the vi and the stl model?

I'm having problems as well and nothing learns more quickly then playing with working examples.

 

Kind regards,

Jan

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

I'm trying to do the same, without success. Any way you can share the VI or update a pix of the diagram ?

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