<?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: Custom visualization of metadata in Maya Programming Forum</title>
    <link>https://forums.autodesk.com/t5/maya-programming-forum/custom-visualization-of-metadata/m-p/10985234#M2841</link>
    <description>&lt;P&gt;Still digging into this.&amp;nbsp; Maybe it would be better to use blind data instead of metadata?&amp;nbsp; I prefer the way that blind data is stored in the Maya ASCII file over the way metadata is stored.&amp;nbsp; But I still have no clue which would be better for making a custom data visualization.&lt;/P&gt;</description>
    <pubDate>Sat, 05 Mar 2022 00:24:02 GMT</pubDate>
    <dc:creator>RFlannery1</dc:creator>
    <dc:date>2022-03-05T00:24:02Z</dc:date>
    <item>
      <title>Custom visualization of metadata</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/custom-visualization-of-metadata/m-p/10984719#M2840</link>
      <description>&lt;P&gt;I am experimenting with adding per-face metadata to meshes as described on this page: &lt;A href="https://help.autodesk.com/view/MAYAUL/2022/ENU/?guid=GUID-688D724C-F0D9-4649-BDD4-86E2447CFA05" target="_blank"&gt;https://help.autodesk.com/view/MAYAUL/2022/ENU/?guid=GUID-688D724C-F0D9-4649-BDD4-86E2447CFA05&lt;/A&gt;.&amp;nbsp; I have successfully used the commands &lt;FONT face="courier new,courier"&gt;dataStructure&lt;/FONT&gt;, &lt;FONT face="courier new,courier"&gt;addMetadata&lt;/FONT&gt;, and &lt;FONT face="courier new,courier"&gt;editMetadata&lt;/FONT&gt; to add some metadata.&amp;nbsp; Now I am trying to view the metadata, but I have run into some limitations.&lt;/P&gt;&lt;P&gt;One of my metadata members is an int32.&amp;nbsp; Using the "Metadata Visualizations Options" window, I can get it to display in grayscale.&amp;nbsp; 0 maps to black and the highest value maps to white.&amp;nbsp; But I would like to display it in more of an indexed color mode.&amp;nbsp; For example:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;0 - red&lt;/LI&gt;&lt;LI&gt;1 - teal&lt;/LI&gt;&lt;LI&gt;2 - brown&lt;/LI&gt;&lt;LI&gt;etc.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I can see that the "Metadata Visualizations Options" window calls the command &lt;FONT face="courier new,courier"&gt;showMetadata&lt;/FONT&gt; under the hood.&amp;nbsp; But it does not support indexed colors.&lt;/P&gt;&lt;P&gt;I am also interested on other custom visualization options.&amp;nbsp; For example, if I have two boolean fields, I would like to color those faces where both booleans have a True value.&lt;/P&gt;&lt;P&gt;How can I achieve this?&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Could I load a custom HLSL shader into a dx11Shader node and use that?&amp;nbsp; Is there any way for an HLSL shader to access Maya metadata?&lt;/LI&gt;&lt;LI&gt;Could I use the API to write a custom software shading node or hardware shading node and access the metadata that way?&lt;/LI&gt;&lt;LI&gt;Is there some other option I'm not thinking of?&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Fri, 04 Mar 2022 18:56:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/custom-visualization-of-metadata/m-p/10984719#M2840</guid>
      <dc:creator>RFlannery1</dc:creator>
      <dc:date>2022-03-04T18:56:00Z</dc:date>
    </item>
    <item>
      <title>Re: Custom visualization of metadata</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/custom-visualization-of-metadata/m-p/10985234#M2841</link>
      <description>&lt;P&gt;Still digging into this.&amp;nbsp; Maybe it would be better to use blind data instead of metadata?&amp;nbsp; I prefer the way that blind data is stored in the Maya ASCII file over the way metadata is stored.&amp;nbsp; But I still have no clue which would be better for making a custom data visualization.&lt;/P&gt;</description>
      <pubDate>Sat, 05 Mar 2022 00:24:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/custom-visualization-of-metadata/m-p/10985234#M2841</guid>
      <dc:creator>RFlannery1</dc:creator>
      <dc:date>2022-03-05T00:24:02Z</dc:date>
    </item>
  </channel>
</rss>

