<?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: MSceneRender components doesn't work in Maya Programming Forum</title>
    <link>https://forums.autodesk.com/t5/maya-programming-forum/mscenerender-components-doesn-t-work/m-p/8049436#M9759</link>
    <description>&lt;P&gt;Sorry, I didn't find anything new yesterday. Since it is logged in our system, if there is any feedbacks from our engineers. I'll let you know.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yours,&lt;/P&gt;
&lt;P&gt;Li&lt;/P&gt;</description>
    <pubDate>Wed, 06 Jun 2018 03:57:56 GMT</pubDate>
    <dc:creator>cheng_xi_li</dc:creator>
    <dc:date>2018-06-06T03:57:56Z</dc:date>
    <item>
      <title>MSceneRender components doesn't work</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/mscenerender-components-doesn-t-work/m-p/8032723#M9754</link>
      <description>&lt;P&gt;Hello. I'm trying to achieve selective (components)&amp;nbsp;Render Override with&amp;nbsp;MRenderOverride and MSceneRender from official example&amp;nbsp;&lt;A href="https://help.autodesk.com/view/MAYAUL/2018/ENU/?guid=__py_ref_scripted_2py_view_render_override_8py_example_html" target="_blank"&gt;https://help.autodesk.com/view/MAYAUL/2018/ENU/?guid=__py_ref_scripted_2py_view_render_override_8py_example_html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;But unfortunately&amp;nbsp;&lt;SPAN&gt;MSceneRender&amp;nbsp;(&lt;SPAN class="keyword"&gt;def &lt;/SPAN&gt;objectSetOverride) doesn't want to work with specified polygon components and Override works not on the part of the mesh but on entire mesh. Could you help me to solve&amp;nbsp;this?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 May 2018 15:58:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/mscenerender-components-doesn-t-work/m-p/8032723#M9754</guid>
      <dc:creator>onefabis</dc:creator>
      <dc:date>2018-05-29T15:58:19Z</dc:date>
    </item>
    <item>
      <title>Re: MSceneRender components doesn't work</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/mscenerender-components-doesn-t-work/m-p/8037983#M9755</link>
      <description>&lt;P&gt;There is an interesting part from 836 line of the code from the link - # Turn this on to query the active list and only use that for drawing:&lt;/P&gt;&lt;PRE&gt;if self.mFilterDrawSelected:
selList = om.MGlobal.getActiveSelectionList()
if selList.length() &amp;gt; 0:
	iter = om.MItSelectionList(selList)
	while not iter.isDone():
		comp = iter.getComponent()
		self.mSelectionList.add( comp[0], comp[1] )
		iter.next()
if self.mSelectionList.length() &amp;gt; 0:
	print "\t" + self.name() + " : Filtering render with active object list"
	return self.mSelectionList&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;SPAN&gt;Even though I pass to the code polygons or sets it assign shader only to the whole mesh -&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://c2n.me/3UwklPY" rel="nofollow noopener" target="_blank"&gt;https://c2n.me/3UwklPY&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;- here is the example of selected components, that I want to draw override, but override with green color somehow assigned to the whole mesh&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 31 May 2018 13:03:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/mscenerender-components-doesn-t-work/m-p/8037983#M9755</guid>
      <dc:creator>onefabis</dc:creator>
      <dc:date>2018-05-31T13:03:46Z</dc:date>
    </item>
    <item>
      <title>Re: MSceneRender components doesn't work</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/mscenerender-components-doesn-t-work/m-p/8045071#M9756</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is a limitation of Maya API. I've talked with my colleague few days earlier. There is an improvement requirement in our system. Our enigneers will look at this in the future.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yours,&lt;/P&gt;
&lt;P&gt;Li&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jun 2018 14:42:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/mscenerender-components-doesn-t-work/m-p/8045071#M9756</guid>
      <dc:creator>cheng_xi_li</dc:creator>
      <dc:date>2018-06-04T14:42:21Z</dc:date>
    </item>
    <item>
      <title>Re: MSceneRender components doesn't work</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/mscenerender-components-doesn-t-work/m-p/8045088#M9757</link>
      <description>&lt;P&gt;Thanks for the answer. Hm, very interesting, but how maya built-in feature Isolate select works? Maya creates new set and somehow works with it, apparently processing this set through some draw override. Maybe I'm wrong.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jun 2018 14:47:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/mscenerender-components-doesn-t-work/m-p/8045088#M9757</guid>
      <dc:creator>onefabis</dc:creator>
      <dc:date>2018-06-04T14:47:24Z</dc:date>
    </item>
    <item>
      <title>Re: MSceneRender components doesn't work</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/mscenerender-components-doesn-t-work/m-p/8045345#M9758</link>
      <description>&lt;P&gt;According to the code, IsolateSelect is a command for setting varies model editor's settings.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let me debug it for you tomorrow. Maybe I have missed something.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yours,&lt;/P&gt;
&lt;P&gt;Li&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jun 2018 16:19:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/mscenerender-components-doesn-t-work/m-p/8045345#M9758</guid>
      <dc:creator>cheng_xi_li</dc:creator>
      <dc:date>2018-06-04T16:19:19Z</dc:date>
    </item>
    <item>
      <title>Re: MSceneRender components doesn't work</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/mscenerender-components-doesn-t-work/m-p/8049436#M9759</link>
      <description>&lt;P&gt;Sorry, I didn't find anything new yesterday. Since it is logged in our system, if there is any feedbacks from our engineers. I'll let you know.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yours,&lt;/P&gt;
&lt;P&gt;Li&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jun 2018 03:57:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/mscenerender-components-doesn-t-work/m-p/8049436#M9759</guid>
      <dc:creator>cheng_xi_li</dc:creator>
      <dc:date>2018-06-06T03:57:56Z</dc:date>
    </item>
    <item>
      <title>Re: MSceneRender components doesn't work</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/mscenerender-components-doesn-t-work/m-p/8050202#M9760</link>
      <description>&lt;P&gt;Hmm, interesting. Thanks for the answer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You've mentioned about IsolateSelect and that it works in model panel (editor).. Maybe you can give any advise how to achieve this in that direction? Or probably another approaches? All I need is to override some polygons in color display, preserving the actual textures and shaders. Just add some color twist in order to visualize some polygons that active now without actual selection. I already created approach where the mesh duplicated with active polys and then done render override. But this is expensive approach in cases of high res model and big amount of that poly-copy meshes. So I want any method that allow me to add some component draw override without dealing with the actual mesh, just draw&lt;/P&gt;&lt;P&gt;Thanks in advance.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jun 2018 11:54:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/mscenerender-components-doesn-t-work/m-p/8050202#M9760</guid>
      <dc:creator>onefabis</dc:creator>
      <dc:date>2018-06-06T11:54:31Z</dc:date>
    </item>
    <item>
      <title>Re: MSceneRender components doesn't work</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/mscenerender-components-doesn-t-work/m-p/8053873#M9761</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is for enabling isolateselect mode and it is an internal class. I am afraid it won't work in your case.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I had a discussion with our engineers to an hour ago and we think your current implement probably is the only way right now. He suggested that component level filtering is not supported by VP2 directly now. It is implemented similar in your way - generating a render item for isolate selection.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you looked at apiMeshGeometryOverride(2018 Update 3), there is an update for creating isolate selection version renderItem to make it support isolate selection.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yours,&lt;/P&gt;
&lt;P&gt;Li&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jun 2018 17:16:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/mscenerender-components-doesn-t-work/m-p/8053873#M9761</guid>
      <dc:creator>cheng_xi_li</dc:creator>
      <dc:date>2018-06-07T17:16:28Z</dc:date>
    </item>
  </channel>
</rss>

