<?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: Wiring OSL output nodes in 3ds Max Programming Forum</title>
    <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/wiring-osl-output-nodes/m-p/11365841#M3788</link>
    <description>&lt;P&gt;I found the solution. If anyone is stuck with the same, you need to use the texture map "MultiOutputChannelTexmapToTexmap ".&lt;BR /&gt;So in my case it would be something like this:&lt;/P&gt;&lt;LI-CODE lang="general"&gt;outMap = MultiOutputChannelTexmapToTexmap sourceMap:idOSL outputChannelIndex:2
mapOSL.index_map = outMap &lt;/LI-CODE&gt;</description>
    <pubDate>Thu, 18 Aug 2022 01:22:26 GMT</pubDate>
    <dc:creator>andres.hernandezB63FL</dc:creator>
    <dc:date>2022-08-18T01:22:26Z</dc:date>
    <item>
      <title>Wiring OSL output nodes</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/wiring-osl-output-nodes/m-p/11364842#M3787</link>
      <description>&lt;P&gt;Hi everyone!&lt;BR /&gt;I'm very much stuck with this one so I was wondering if someone could give me a hand.&amp;nbsp;&lt;BR /&gt;I have created two OSL nodes:&lt;/P&gt;&lt;LI-CODE lang="general"&gt;idOSL.OSLpath = (getdir #maxroot) + "/OSL/" + "GetMtlID.osl"
mapOSL.OSLpath = (getdir #maxroot) + "/OSL/" + "Float1ofN.osl"&lt;/LI-CODE&gt;&lt;P&gt;I need to connect to the mapOSL(Float1ofN) index input, the index output of the idOSL(GetMtlID), but I can't find a way to access to the specific out since the GetMtlID has 2 outputs (color and index)&lt;BR /&gt;I really appreciate any help.&amp;nbsp;&lt;BR /&gt;Thanks a lot&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2022 15:16:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/wiring-osl-output-nodes/m-p/11364842#M3787</guid>
      <dc:creator>andres.hernandezB63FL</dc:creator>
      <dc:date>2022-08-17T15:16:22Z</dc:date>
    </item>
    <item>
      <title>Re: Wiring OSL output nodes</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/wiring-osl-output-nodes/m-p/11365841#M3788</link>
      <description>&lt;P&gt;I found the solution. If anyone is stuck with the same, you need to use the texture map "MultiOutputChannelTexmapToTexmap ".&lt;BR /&gt;So in my case it would be something like this:&lt;/P&gt;&lt;LI-CODE lang="general"&gt;outMap = MultiOutputChannelTexmapToTexmap sourceMap:idOSL outputChannelIndex:2
mapOSL.index_map = outMap &lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 18 Aug 2022 01:22:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/wiring-osl-output-nodes/m-p/11365841#M3788</guid>
      <dc:creator>andres.hernandezB63FL</dc:creator>
      <dc:date>2022-08-18T01:22:26Z</dc:date>
    </item>
    <item>
      <title>Re: Wiring OSL output nodes</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/wiring-osl-output-nodes/m-p/13433266#M3789</link>
      <description>&lt;P&gt;Thank you for sharing your solution!&lt;/P&gt;</description>
      <pubDate>Fri, 18 Apr 2025 22:59:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/wiring-osl-output-nodes/m-p/13433266#M3789</guid>
      <dc:creator>campion_kirkham</dc:creator>
      <dc:date>2025-04-18T22:59:21Z</dc:date>
    </item>
  </channel>
</rss>

