<?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: Building uv's for a bifrost mesh in Bifrost Forum</title>
    <link>https://forums.autodesk.com/t5/bifrost-forum/building-uv-s-for-a-bifrost-mesh/m-p/10048037#M4294</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;Bjorn,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Here's something that might help you, from the set_mesh_UVs docs.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN&gt;i&lt;/SPAN&gt;&lt;SPAN&gt;ndices&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The per-face-vertex indices that map a face vertex to an element in the given coordinates array. If empty, the coordinates are treated as per-vertex values, and the mesh's face_vertex array is used to index into the coordinates array.&lt;/SPAN&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;In order words, you can provide per-point UVs if you don't supply any indices and it'll create the indices for you.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;If you want to create UVs per face-vertex, it's also simple. You only need indices that count up to the number of face vertices.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example, a cube has 6 faces, 8 points, and 24 face vertices (6 quads with 4 points each). To set per-point UVs, you can just supply an array of 8 uvs and no indices. For face vertices you can supply an array of 24 uvs + "identity" indices [0,1,2,3...22,23] (which you can create simply with "get array indices").&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 01 Feb 2021 15:28:51 GMT</pubDate>
    <dc:creator>jonah.friedman</dc:creator>
    <dc:date>2021-02-01T15:28:51Z</dc:date>
    <item>
      <title>Building uv's for a bifrost mesh</title>
      <link>https://forums.autodesk.com/t5/bifrost-forum/building-uv-s-for-a-bifrost-mesh/m-p/10047884#M4293</link>
      <description>&lt;P&gt;Hi guys, I am trying to do unitize on an input mesh and then doing a layout with each face uv’s next to each other in a neat line/grid, but I am stuck with what kind of data I need to input into the set geo property.&lt;/P&gt;&lt;P&gt;I attatched the file for reference.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am constructing a mesh based on an input, but I need to rebuild the uv’s.&lt;BR /&gt;I can pass through the original geo uv’s but that’s not what I want.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the faces of the mesh split up so no face shares the same uv’s, but I absolutely can’t figure out how to build an array that the set geo property will take, and the set_mesh_uv’s would only work if I knew the order of uv’s, but I am kind of working in the blind with this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bjorn&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2021 14:33:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/bifrost-forum/building-uv-s-for-a-bifrost-mesh/m-p/10047884#M4293</guid>
      <dc:creator>blaabjergb</dc:creator>
      <dc:date>2021-02-01T14:33:33Z</dc:date>
    </item>
    <item>
      <title>Re: Building uv's for a bifrost mesh</title>
      <link>https://forums.autodesk.com/t5/bifrost-forum/building-uv-s-for-a-bifrost-mesh/m-p/10048037#M4294</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;Bjorn,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Here's something that might help you, from the set_mesh_UVs docs.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN&gt;i&lt;/SPAN&gt;&lt;SPAN&gt;ndices&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The per-face-vertex indices that map a face vertex to an element in the given coordinates array. If empty, the coordinates are treated as per-vertex values, and the mesh's face_vertex array is used to index into the coordinates array.&lt;/SPAN&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;In order words, you can provide per-point UVs if you don't supply any indices and it'll create the indices for you.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;If you want to create UVs per face-vertex, it's also simple. You only need indices that count up to the number of face vertices.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example, a cube has 6 faces, 8 points, and 24 face vertices (6 quads with 4 points each). To set per-point UVs, you can just supply an array of 8 uvs and no indices. For face vertices you can supply an array of 24 uvs + "identity" indices [0,1,2,3...22,23] (which you can create simply with "get array indices").&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2021 15:28:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/bifrost-forum/building-uv-s-for-a-bifrost-mesh/m-p/10048037#M4294</guid>
      <dc:creator>jonah.friedman</dc:creator>
      <dc:date>2021-02-01T15:28:51Z</dc:date>
    </item>
    <item>
      <title>Re: Building uv's for a bifrost mesh</title>
      <link>https://forums.autodesk.com/t5/bifrost-forum/building-uv-s-for-a-bifrost-mesh/m-p/11722985#M4295</link>
      <description>&lt;P&gt;How do you pull the UVs from an alembic cached mesh (cached on maya, not bifrost)? I can't seem to make it work on bifrost graph editor...&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2023 00:56:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/bifrost-forum/building-uv-s-for-a-bifrost-mesh/m-p/11722985#M4295</guid>
      <dc:creator>Polytikal1</dc:creator>
      <dc:date>2023-02-02T00:56:26Z</dc:date>
    </item>
    <item>
      <title>Re: Building uv's for a bifrost mesh</title>
      <link>https://forums.autodesk.com/t5/bifrost-forum/building-uv-s-for-a-bifrost-mesh/m-p/11723703#M4296</link>
      <description>&lt;P&gt;Please don't resurrect old threads with unrelated questions. It's better to create a new question.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2023 09:37:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/bifrost-forum/building-uv-s-for-a-bifrost-mesh/m-p/11723703#M4296</guid>
      <dc:creator>morten.bojsen-hansen</dc:creator>
      <dc:date>2023-02-02T09:37:48Z</dc:date>
    </item>
  </channel>
</rss>

