LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

3D Control Mesh texturing

Can somebody please explain to me how the texturing of a single Mesh object should be performed in the 3D picture control?

 

I see two different thngs which are contrary to what I expected.

 

1) If I generate a quad with coordinates from -1 to +1 in X-direction, the texturing nearly always starts at te X Coordinate of zero, not the left-hand side of the mesh.

 

2) I am essentially unable to get a texture to simply fill the area of the mesh without manually scaling the texture to fit.  This is different with other objects.

 

Can anyone enlighten me as to what I'm doing wrong?

 

Mesh texturing.PNG

 

Shane.

Message 1 of 4
(2,585 Views)

I worked it out.

 

The two properties: TextureGenSPlane and TextureGenTPlane need to be calculated and set upon instantiating an object to make sure that the texture is applied accordingly.

 

More documentation on functions like these would be a great help.

 

Shane.

Message 2 of 4
(2,573 Views)

Hi Shane

I'm not an expert about the 3D picture control. However, you can maybe try the "On-demand Training - 3D Picture Control (LabVIEW)" about 20 mins

Best regard

Nick

Message 3 of 4
(2,548 Views)

The training might be OK for somebody just starting with the 3D picture control but it has nothing whatsoever on different texturing modes.  It doesn't even DO texturing in the tutorial.

 

Shane.

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