<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: 3D Surface texture in LabVIEW</title>
    <link>https://ni.lithium.com/t5/LabVIEW/3D-Surface-texture/m-p/1672524#M596282</link>
    <description>&lt;P&gt;Here I posted a VI to texture the individual faces of a cube, you can simplify to only use one of the faces.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://forums.ni.com/t5/LabVIEW/3D-Picture-Applying-Different-Textures-to-Faces-of-a-Cube/m-p/1500508#M563843" target="_blank"&gt;http://forums.ni.com/t5/LabVIEW/3D-Picture-Applying-Different-Textures-to-Faces-of-a-Cube/m-p/1500508#M563843&lt;/A&gt;﻿&lt;/P&gt;</description>
    <pubDate>Tue, 16 Aug 2011 16:43:38 GMT</pubDate>
    <dc:creator>Darin.K</dc:creator>
    <dc:date>2011-08-16T16:43:38Z</dc:date>
    <item>
      <title>3D Surface texture</title>
      <link>https://ni.lithium.com/t5/LabVIEW/3D-Surface-texture/m-p/1624636#M586779</link>
      <description>&lt;P&gt;Hi all, I'm trying to create a square surface and apply an image as texture into it. In LV 8.2 I only have a mesh function and when I display it, I get a distorted texture (not flat). I also tried with a box with (X, Y, 0) to make a plane surface but it draws the picture in the upper and lower faces as consequence. What I need to put a picture into a square surface? thanks&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2011 13:29:15 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/3D-Surface-texture/m-p/1624636#M586779</guid>
      <dc:creator>londonew</dc:creator>
      <dc:date>2011-07-06T13:29:15Z</dc:date>
    </item>
    <item>
      <title>Re: 3D Surface texture</title>
      <link>https://ni.lithium.com/t5/LabVIEW/3D-Surface-texture/m-p/1672504#M596277</link>
      <description>&lt;P&gt;Hello londonnew,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Below you'll find the block diagram required to texture a cube object and set it in the 3D picture control in LabVIEW.&lt;/P&gt;
&lt;P&gt;If you download the zipped folder and extract the files, you'll find a VI that draws a 3D cube and textures it in very snazzy looking leopard print.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="text-align: center;"&gt;&lt;IMG src="http://forums.ni.com/t5/image/serverpage/image-id/50510i0EFD3053AF08D31C/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="Snippet.png" title="Snippet.png" align="center" /&gt;&lt;/P&gt;
&lt;P style="text-align: center;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="text-align: left;"&gt;There are a lot of property nodes involved, each all necessary in order to produce this output; but if you play around with the solution you'll see the effects that they all have.&amp;nbsp;To learn how to do this, I used the &lt;STRONG&gt;solarsystem.vi&lt;/STRONG&gt; example from the &lt;STRONG&gt;NI Example Finder&lt;/STRONG&gt;. (&lt;U&gt;Help &amp;gt; Find Examples...&lt;/U&gt;)&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2011 16:32:47 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/3D-Surface-texture/m-p/1672504#M596277</guid>
      <dc:creator>Alex.T</dc:creator>
      <dc:date>2011-08-16T16:32:47Z</dc:date>
    </item>
    <item>
      <title>Re: 3D Surface texture</title>
      <link>https://ni.lithium.com/t5/LabVIEW/3D-Surface-texture/m-p/1672524#M596282</link>
      <description>&lt;P&gt;Here I posted a VI to texture the individual faces of a cube, you can simplify to only use one of the faces.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://forums.ni.com/t5/LabVIEW/3D-Picture-Applying-Different-Textures-to-Faces-of-a-Cube/m-p/1500508#M563843" target="_blank"&gt;http://forums.ni.com/t5/LabVIEW/3D-Picture-Applying-Different-Textures-to-Faces-of-a-Cube/m-p/1500508#M563843&lt;/A&gt;﻿&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2011 16:43:38 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/3D-Surface-texture/m-p/1672524#M596282</guid>
      <dc:creator>Darin.K</dc:creator>
      <dc:date>2011-08-16T16:43:38Z</dc:date>
    </item>
    <item>
      <title>Re: 3D Surface texture</title>
      <link>https://ni.lithium.com/t5/LabVIEW/3D-Surface-texture/m-p/1673442#M596502</link>
      <description>&lt;P&gt;Thank you friends, they are great examples. In the case of the cube, the size of the face depends on the size of the image or the image is expanded depending on the size of the cube? thanks again.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2011 09:03:25 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/3D-Surface-texture/m-p/1673442#M596502</guid>
      <dc:creator>londonew</dc:creator>
      <dc:date>2011-08-17T09:03:25Z</dc:date>
    </item>
    <item>
      <title>Re: 3D Surface texture</title>
      <link>https://ni.lithium.com/t5/LabVIEW/3D-Surface-texture/m-p/1673624#M596541</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/89015"&gt;@londonew&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Thank you friends, they are great examples. In the case of the cube, the size of the face depends on the size of the image or the image is expanded depending on the size of the cube? thanks again.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;BR /&gt;Hey again londonew!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've tried experimenting with the different settings that come with the texture property node for a 3D object, and I've attached the VI so you can try out your own settings for the objects. As far as I can tell, the image is scaled to suit the face which it is placed on; you could see this in Darin.K's VI as the cube images he used were based on the relatively small user thumbnails.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the attached example I made the leopard print image very small to see what effects placing it on a large cube would have, and it resulted in the following output:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="text-align: center;"&gt;&lt;IMG src="http://forums.ni.com/t5/image/serverpage/image-id/50600iAF07EA76955F77C2/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="CubeOutput.png" title="CubeOutput.png" align="center" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I also tested what happened when I used the full resolution image of the print for the texture, and received this output:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="text-align: center;"&gt;&lt;IMG src="http://forums.ni.com/t5/image/serverpage/image-id/50602iF11903F62918C46F/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="CubeOutput2.png" title="CubeOutput2.png" align="center" /&gt;&lt;/P&gt;
&lt;P style="text-align: center;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="text-align: left;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="text-align: left;"&gt;By changing the different texture options on the texture property node, you can see what effect this has on the output of the 3D Picture Indicator.&lt;/P&gt;
&lt;P style="text-align: left;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="text-align: center;"&gt;&lt;IMG src="http://forums.ni.com/t5/image/serverpage/image-id/50604i55076A041A56F842/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="TexturingVI.png" title="TexturingVI.png" align="center" /&gt;&lt;/P&gt;
&lt;P style="text-align: left;"&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2011 11:32:01 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/3D-Surface-texture/m-p/1673624#M596541</guid>
      <dc:creator>Alex.T</dc:creator>
      <dc:date>2011-08-17T11:32:01Z</dc:date>
    </item>
    <item>
      <title>Re: 3D Surface texture</title>
      <link>https://ni.lithium.com/t5/LabVIEW/3D-Surface-texture/m-p/1673724#M596562</link>
      <description>&lt;P&gt;Thank you Alex, &lt;SPAN class="short_text"&gt;&lt;SPAN class="hps"&gt;that's just what&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;I feared&lt;/SPAN&gt;&lt;/SPAN&gt;﻿. So the only possibility to adapt the object and the image is using a mesh or scaling the cube.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;By other part, I have a challenge with remove.object property that I can not solve. Maybe your knowledgement can be usefull and &lt;SPAN class="short_text"&gt;&lt;SPAN class="hps"&gt;bring&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;light&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;to this issue:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="short_text"&gt;&lt;SPAN class="hps"&gt;&lt;A href="http://forums.ni.com/t5/LabVIEW/3D-Picture-Control-quot-Remove-Object-quot-doesn-t-seem-to-work/td-p/1030932/page/2" target="_blank"&gt;http://forums.ni.com/t5/LabVIEW/3D-Picture-Control-quot-Remove-Object-quot-doesn-t-seem-to-work/td-p/1030932/page/2&lt;/A&gt;﻿&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="short_text"&gt;&lt;SPAN class="hps"&gt;Thanks.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2011 12:47:26 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/3D-Surface-texture/m-p/1673724#M596562</guid>
      <dc:creator>londonew</dc:creator>
      <dc:date>2011-08-17T12:47:26Z</dc:date>
    </item>
    <item>
      <title>Re: 3D Surface texture</title>
      <link>https://ni.lithium.com/t5/LabVIEW/3D-Surface-texture/m-p/1674078#M596639</link>
      <description>&lt;BLOCKQUOTE&gt;Just to clarify, are you trying to paste an image on top of a 3D object and have it retain it's size independantly of the size of the cube? I'm still uncertain about what your current issue is with regards to the texturing.&lt;/BLOCKQUOTE&gt;
&lt;BLOCKQUOTE&gt;What I've found is that you can define the a 3D transformation on the texture itself, not just the 3D object on which it is placed; this can be done by varying the texture's transformation property. I believe that if you use Darin.K's individual cube face texturing algorithm in conjunction with manipulation of the texture transformation property you might be able to derive some useful texture manipulation functionality that will help you achieve the texture image modulation that you require. The transformation property takes a 4*4 2D Array/Matrix as it's input, so it may take some time to understand just how each one of these cells change the texture's contortion.&amp;nbsp;&lt;/BLOCKQUOTE&gt;
&lt;BLOCKQUOTE&gt;I've deduced that to view the texture normally, the array values should be:&lt;BR /&gt;&lt;STRONG&gt;1000&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;0100&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;0010&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;0001&lt;BR /&gt;&lt;/STRONG&gt;What makes it tricky is that this matrix defines a transformation in 3D space, so it may take some experimentation to understand just how it works.&amp;nbsp;&lt;/BLOCKQUOTE&gt;
&lt;BLOCKQUOTE&gt;If it's simpler, you could adapt the image to the object. LabVIEW gives you the ability to swap 3D textures programmatically, so you could use different sized images for different sets of cube sizes.﻿&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Wed, 17 Aug 2011 15:12:26 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/3D-Surface-texture/m-p/1674078#M596639</guid>
      <dc:creator>Alex.T</dc:creator>
      <dc:date>2011-08-17T15:12:26Z</dc:date>
    </item>
    <item>
      <title>Re: 3D Surface texture</title>
      <link>https://ni.lithium.com/t5/LabVIEW/3D-Surface-texture/m-p/1674182#M596657</link>
      <description>&lt;P&gt;Oh no sorry! It is a &lt;SPAN class="short_text"&gt;&lt;SPAN class="hps"&gt;misunderstanding&lt;/SPAN&gt;&lt;/SPAN&gt;﻿ because the issue with the remove object property is not related with 3D texture. For so I used another post.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The goal is to create a point iteratively and keep the points during several iterations. Once desired, I need to remove the objects from the scene and start again the process. Thus, I take the number of iterations (wich corresponds with the number of objects created) and use this number (size array) to remove the objects finally. These objects are removed from the scene but when I count the number of objects with the count.object property I see that they still remain in somewhere althought they are not displayed. As result, the performance slows gradually.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="short_text"&gt;&lt;SPAN class="hps"&gt;This makes sense&lt;/SPAN&gt;&lt;/SPAN&gt;﻿? thanks in advance.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2011 15:52:20 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/3D-Surface-texture/m-p/1674182#M596657</guid>
      <dc:creator>londonew</dc:creator>
      <dc:date>2011-08-17T15:52:20Z</dc:date>
    </item>
  </channel>
</rss>

