<?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 Create Rounded Roofs with undistorted continous UVs in CGA in ArcGIS CityEngine Questions</title>
    <link>https://community.esri.com/t5/arcgis-cityengine-questions/create-rounded-roofs-with-undistorted-continous/m-p/582263#M7866</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="My goal" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/408797_Untitled-1.jpg" /&gt;Hi all!&lt;/P&gt;&lt;P&gt;I am creating a medieval city.&lt;/P&gt;&lt;P&gt;I am trying to break a bit the perfect structure of the CGA basic roofs and curve a bit the surfaces (think of a Chinese traditional building for instance). Right now my workflow consists in&amp;nbsp;a recursive CGA rule that splits the roof on the vertical axes and scales &amp;nbsp;the upper portion of a given factor, and then repeats the whole thing a couple of times.&lt;/P&gt;&lt;P&gt;I like the result a lot but the problem comes when is time to texture the thing.&lt;/P&gt;&lt;P&gt;If i project the UVs before the recursive rule (blue example), the UV get progressively distorted vertically. If instead, after the rule, I comp split the different roof sections&amp;nbsp;in faces (purple example) each face gets undistorted UVs but overall the UVs become discontinous. I'd like to find a way for the curved planes of the roofs to&amp;nbsp;have a single UV "flow" (like in the green example).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody suggest me a way to obtain this result? of if there is a more efficient&amp;nbsp;workflow even better!&lt;/P&gt;&lt;P&gt;I'm trying to obtain it using CGA without importing a premodeled geometry from a 3rd party software, so that the rule can be applied easily to any base shape.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;A&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 May 2018 14:33:29 GMT</pubDate>
    <dc:creator>AbeleGiandoso</dc:creator>
    <dc:date>2018-05-22T14:33:29Z</dc:date>
    <item>
      <title>Create Rounded Roofs with undistorted continous UVs in CGA</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/create-rounded-roofs-with-undistorted-continous/m-p/582263#M7866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="My goal" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/408797_Untitled-1.jpg" /&gt;Hi all!&lt;/P&gt;&lt;P&gt;I am creating a medieval city.&lt;/P&gt;&lt;P&gt;I am trying to break a bit the perfect structure of the CGA basic roofs and curve a bit the surfaces (think of a Chinese traditional building for instance). Right now my workflow consists in&amp;nbsp;a recursive CGA rule that splits the roof on the vertical axes and scales &amp;nbsp;the upper portion of a given factor, and then repeats the whole thing a couple of times.&lt;/P&gt;&lt;P&gt;I like the result a lot but the problem comes when is time to texture the thing.&lt;/P&gt;&lt;P&gt;If i project the UVs before the recursive rule (blue example), the UV get progressively distorted vertically. If instead, after the rule, I comp split the different roof sections&amp;nbsp;in faces (purple example) each face gets undistorted UVs but overall the UVs become discontinous. I'd like to find a way for the curved planes of the roofs to&amp;nbsp;have a single UV "flow" (like in the green example).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody suggest me a way to obtain this result? of if there is a more efficient&amp;nbsp;workflow even better!&lt;/P&gt;&lt;P&gt;I'm trying to obtain it using CGA without importing a premodeled geometry from a 3rd party software, so that the rule can be applied easily to any base shape.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;A&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2018 14:33:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/create-rounded-roofs-with-undistorted-continous/m-p/582263#M7866</guid>
      <dc:creator>AbeleGiandoso</dc:creator>
      <dc:date>2018-05-22T14:33:29Z</dc:date>
    </item>
    <item>
      <title>Re: Create Rounded Roofs with undistorted continous UVs in CGA</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/create-rounded-roofs-with-undistorted-continous/m-p/582264#M7867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think there's an easy way to do this because the roof operations do not automatically create UVs, so this means UVs will have to be added using setupProjection().&amp;nbsp; I would say that the appropriate UVs need to be calculated and specified for each face.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, maybe there's something I'm overlooking since I'm not sure how you managed to get the continuous UVs on the roofs in the blue case.&amp;nbsp; So, maybe there's another way.&amp;nbsp; (In the red case, I'm guessing that setupProjection() is used.)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2018 10:32:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/create-rounded-roofs-with-undistorted-continous/m-p/582264#M7867</guid>
      <dc:creator>CherylLau</dc:creator>
      <dc:date>2018-05-29T10:32:22Z</dc:date>
    </item>
    <item>
      <title>Re: Create Rounded Roofs with undistorted continous UVs in CGA</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/create-rounded-roofs-with-undistorted-continous/m-p/582265#M7868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Cheryl&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not in front of my station right now but I remember&amp;nbsp;&lt;/P&gt;&lt;P&gt;I managed to get the continous UVS in the blue case by applying the project UV before the recursive split and scale rule. At least in the Gable roof case. I will find the rule and past it here asap.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the green case I was hoping there was some way to&amp;nbsp; precisely translate each uvs on the v axis of the height of the precedent lower roof section UV height so that they all get placed exactly one after the other on the v axis and centered on the u axis in a continuous way. I don't know if it makes much sense but that's what I would do in Maya with a seam uvs operation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;A&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 May 2018 00:04:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/create-rounded-roofs-with-undistorted-continous/m-p/582265#M7868</guid>
      <dc:creator>AbeleGiandoso</dc:creator>
      <dc:date>2018-05-30T00:04:22Z</dc:date>
    </item>
    <item>
      <title>Re: Create Rounded Roofs with undistorted continous UVs in CGA</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/create-rounded-roofs-with-undistorted-continous/m-p/582266#M7869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, there's isn't an operation that will do that nicely for you in one call.&amp;nbsp; You'll have project the uv's onto each face and then calculate how much you want to translate the uv's and use translateUV().&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2018 09:48:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/create-rounded-roofs-with-undistorted-continous/m-p/582266#M7869</guid>
      <dc:creator>CherylLau</dc:creator>
      <dc:date>2018-06-04T09:48:54Z</dc:date>
    </item>
    <item>
      <title>Re: Create Rounded Roofs with undistorted continous UVs in CGA</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/create-rounded-roofs-with-undistorted-continous/m-p/582267#M7870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I understand &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;Would you know if there is a way for a face to know the uv "height" of the one immediately below?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Than I could write a rule translating each face of that amount.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;A&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2018 00:38:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/create-rounded-roofs-with-undistorted-continous/m-p/582267#M7870</guid>
      <dc:creator>AbeleGiandoso</dc:creator>
      <dc:date>2018-06-05T00:38:07Z</dc:date>
    </item>
    <item>
      <title>Re: Create Rounded Roofs with undistorted continous UVs in CGA</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/create-rounded-roofs-with-undistorted-continous/m-p/582268#M7871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, one of the limitations of cga is that shapes do not know information about other shapes (except in the case of occlusion).&amp;nbsp; You would have to figure out all the numbers before you split up the shapes and then pass the appropriate numbers in to each part.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2018 09:27:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/create-rounded-roofs-with-undistorted-continous/m-p/582268#M7871</guid>
      <dc:creator>CherylLau</dc:creator>
      <dc:date>2018-06-11T09:27:27Z</dc:date>
    </item>
  </channel>
</rss>

