06-11-2013 09:07 AM
Hello,
I'm starting with Labview and I'm having problemes with applying texture on a ''mesh''. I tried to apply an image (Pixmap) on a mesh with the ''Texture Array'' but there is a distortion created. I did some research and I found that it was probably a perspective problem caused by the position of the camera when I took the picture that I'm using has a texture.
I'm now looking to apply my texture with the ''Texture genator'' which use the S plane and T plane. I have no idea how to use those parameters because the mesh I want to apply my texture on have no parallele segment. Here is the four points that compose the mesh. BL(-0,96584;-0,63648) , TL(-0,95469;0,834409) , BR(0,876409;-0,53646),TR(0,868374;0,73664).
If someone can give me an example on how calculate the plans equation or how settle my distortion problem.
Thanks for your help!
Sorry for the spelling mistakes(I usually speak french)
06-12-2013 09:49 AM
Hi Laflamme25
If you go to Help > Find Examples, it's under Building User Interfaces > Displaying Data > Pictures > Using Meshes.vi.
There is also another example named solar system.VI that might interest you.
I hope that these examples help you, in case that it does not help you, I might recommend you that in your next post add a screenshot of the code or the VI with more information.
I also recommend you to use the context help and the detailed help that is inside of the context help. Here are some links with information that might help you
Using Meshes to Draw 3D Objects
Texture Generator S Plane Property
Texture Generator Mode Property
Regards
Esteban R.