<?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: Materials On Assets in ArcGIS CityEngine Questions</title>
    <link>https://community.esri.com/t5/arcgis-cityengine-questions/materials-on-assets/m-p/678534#M8945</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;hey !&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;it's generally the best to assign textures ONLY at the 'leaf-nodes'. it is correct that if you're inserting assets on shapes which already have a material, the asset's material will be overridden.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am no more sure about the precise version, but we've included a way to solve exactly this, by using&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;set(material.colormap, "")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;just before the insert. like this, your problem should work. but as I just mentioned, it can be that this was done for 2011.1 and will generate errors in 2010.3. [maybe check the CGA changelog at the very bottom of the CGA Help docs.]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;* * *&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;yep, that's the latest one.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;though I'd recommend to upgrade. I guess you're located in Germany, so ask Esri Deutschland and maybe you're 'getting lucky'. it's worth a shot .. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;but certainly, try the TRIAL of 2011.2&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;cheers !&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;matt&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Mar 2012 09:55:25 GMT</pubDate>
    <dc:creator>MatthiasBuehler1</dc:creator>
    <dc:date>2012-03-28T09:55:25Z</dc:date>
    <item>
      <title>Materials On Assets</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/materials-on-assets/m-p/678529#M8940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am running into a problem with the material assignment on assets. When I export from Cityengine, the material on the assets get overwritten. The UVs from the assets export fine. I tried exporting FBX, OBJ and DEA. I also tried importing the assets as OBJ and DEA. Materials I assign within Cityengine work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is the code I use to insert the assets:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;insert_window_tri --&amp;gt;
&amp;nbsp; s('1, '1, '1)
&amp;nbsp; i(asset_window_tri) 
&amp;nbsp; t(0,0,-scope.sz)&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using Cityengine Advanced 2010.3 64 Bit on Windows 7.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;All OBJ Assets have a matching .MTL file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It would be great if anyone had a tip on how to get this working.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2012 14:38:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/materials-on-assets/m-p/678529#M8940</guid>
      <dc:creator>Florianvon_Behr</dc:creator>
      <dc:date>2012-03-23T14:38:25Z</dc:date>
    </item>
    <item>
      <title>Re: Materials On Assets</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/materials-on-assets/m-p/678530#M8941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;hi !&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;can you post a screenshot which shows the before/after states ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;are you getting any errors in the export.log ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;let me know ..&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2012 12:25:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/materials-on-assets/m-p/678530#M8941</guid>
      <dc:creator>MatthiasBuehler1</dc:creator>
      <dc:date>2012-03-27T12:25:35Z</dc:date>
    </item>
    <item>
      <title>Re: Materials On Assets</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/materials-on-assets/m-p/678531#M8942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;hi !&lt;BR /&gt;can you post a screenshot which shows the before/after states ?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you mean a screenshot of the asset model before the export and after the export?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can I somehow check if Cityengine imports the materials of the assets correctly?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BR /&gt;are you getting any errors in the export.log ?&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;No errors in the log.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers, Florian&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2012 13:12:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/materials-on-assets/m-p/678531#M8942</guid>
      <dc:creator>Florianvon_Behr</dc:creator>
      <dc:date>2012-03-27T13:12:13Z</dc:date>
    </item>
    <item>
      <title>Re: Materials On Assets</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/materials-on-assets/m-p/678532#M8943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;hi !&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;yes, you can check the asset in 2010.3 :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;if you select the asset in the Navigator (obj or dae), click on the little magnifying glass icon in the Navigator. this will open the file PREVIEW (you can tumble in this little preview.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;mtl files are evaluated in there.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;does that work for you ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;matt&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2012 14:09:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/materials-on-assets/m-p/678532#M8943</guid>
      <dc:creator>MatthiasBuehler1</dc:creator>
      <dc:date>2012-03-27T14:09:18Z</dc:date>
    </item>
    <item>
      <title>Re: Materials On Assets</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/materials-on-assets/m-p/678533#M8944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Matthias,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I got it working now. It seems that assigning a material to the building right after extruding the lot shape does overwrite the materials of the assets even if they get inserted later on.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;BTW: I am on Cityengine 2013.3 Build 0124. is this the latest 2010 Version?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers, Florian&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2012 09:28:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/materials-on-assets/m-p/678533#M8944</guid>
      <dc:creator>Florianvon_Behr</dc:creator>
      <dc:date>2012-03-28T09:28:15Z</dc:date>
    </item>
    <item>
      <title>Re: Materials On Assets</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/materials-on-assets/m-p/678534#M8945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;hey !&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;it's generally the best to assign textures ONLY at the 'leaf-nodes'. it is correct that if you're inserting assets on shapes which already have a material, the asset's material will be overridden.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am no more sure about the precise version, but we've included a way to solve exactly this, by using&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;set(material.colormap, "")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;just before the insert. like this, your problem should work. but as I just mentioned, it can be that this was done for 2011.1 and will generate errors in 2010.3. [maybe check the CGA changelog at the very bottom of the CGA Help docs.]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;* * *&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;yep, that's the latest one.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;though I'd recommend to upgrade. I guess you're located in Germany, so ask Esri Deutschland and maybe you're 'getting lucky'. it's worth a shot .. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;but certainly, try the TRIAL of 2011.2&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;cheers !&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;matt&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2012 09:55:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/materials-on-assets/m-p/678534#M8945</guid>
      <dc:creator>MatthiasBuehler1</dc:creator>
      <dc:date>2012-03-28T09:55:25Z</dc:date>
    </item>
  </channel>
</rss>

