LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can I use a jpeg image to set the texture on a scene object that I created from an stl file?

Solved!
Go to solution

I want to create an object in a 3D scene, whose shape is defined in an stl file. I then want to put an image from a jpeg on the surface of the image using the texture property. If I create the object using, for example, the Create Box.vi, instead of the stl file, I can apply the jpeg. But as soon as I create the object from the stl file, the jpeg can't be applied. Any ideas or is this just not possible?

Example VI, stl and jpeg files attached.

 

0 Kudos
Message 1 of 2
(2,323 Views)
Solution
Accepted by topic author niamh

By default, the stl texture is off. You can enable texture by using this property. 

 

ddde.PNG

Now, you also need to set horizontal and vertical wrapping mode for the decal to apply. Below I have Repeating and Linear and Spherical. It does apply the texture, but there is some work to map to the polygons.

ddde2.PNGddde2.PNG

Barp - Control, Simulation, RTT and HIL - National Instruments
Message 2 of 2
(2,303 Views)