<?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: How Does CityEngine Generate Vertex Positions from OSM Data? in ArcGIS CityEngine Questions</title>
    <link>https://community.esri.com/t5/arcgis-cityengine-questions/how-does-cityengine-generate-vertex-positions-from/m-p/204339#M2690</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;I'd add an attr :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;@Range("streets", "markers")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;attr exportWhat = "streets"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;then on each of the leaf shapes which actually create geometry, NIL them accorsing to that new attr.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;e.g. if you only want to export the streets, NIL the markers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;if you have that setup, export TWICE. once for the street geo, once for the markers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;m.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 28 Jul 2013 21:51:28 GMT</pubDate>
    <dc:creator>MatthiasBuehler1</dc:creator>
    <dc:date>2013-07-28T21:51:28Z</dc:date>
    <item>
      <title>How Does CityEngine Generate Vertex Positions from OSM Data?</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/how-does-cityengine-generate-vertex-positions-from/m-p/204330#M2681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm assuming CityEngine is projecting the WGS84 latitude and longitude values from the .osm file to another coordinate system. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone what coordinate system CityEngine is converting the latitude and longitude to?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Also if you know the math or have the code to perform this transformation, I'd really appreciate you sharing it with me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jun 2013 22:21:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/how-does-cityengine-generate-vertex-positions-from/m-p/204330#M2681</guid>
      <dc:creator>MichaelGharbharan</dc:creator>
      <dc:date>2013-06-28T22:21:14Z</dc:date>
    </item>
    <item>
      <title>Re: How Does CityEngine Generate Vertex Positions from OSM Data?</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/how-does-cityengine-generate-vertex-positions-from/m-p/204331#M2682</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;The lat/long values are projected to CityEngine's cartesian coordinate system, thus the high vertex coordinate values. CityEngine stores all the vertex positions in cartesian coordinates.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The projection is done with a library, but I'm not sure how, but I'm pretty sure we can not share this. I'd recommend you google how to do this if you need the code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Let me know if this is ok or if you need more info.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Matt&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jul 2013 15:32:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/how-does-cityengine-generate-vertex-positions-from/m-p/204331#M2682</guid>
      <dc:creator>MatthiasBuehler1</dc:creator>
      <dc:date>2013-07-01T15:32:10Z</dc:date>
    </item>
    <item>
      <title>Re: How Does CityEngine Generate Vertex Positions from OSM Data?</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/how-does-cityengine-generate-vertex-positions-from/m-p/204332#M2683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for your response,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Let me give you some background on what I'm trying to do. I want to use CityEngine to generate a 3D model from an OSM file then I want to import that model into Unity, parse the OSM file myself (in Unity) and do a little bit of math to position the nodes from the OSM in the correct place on the model generated from CityEngine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However in order for me to do that, I need to know about the projection CityEngine does so I can ensure the nodes are put in the correct space.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you cannot share CityEngine's secret recipe with me, I can think of one other solution, but I'm not sure if its possible:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Writing an exporter for CityEngine to output the node data (see image) to a file, this way I could just load the node positions from file rather than projecting them myself.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]25624[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it possible to export the data in the image above? If so can you give me some direction?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jul 2013 16:32:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/how-does-cityengine-generate-vertex-positions-from/m-p/204332#M2683</guid>
      <dc:creator>MichaelGharbharan</dc:creator>
      <dc:date>2013-07-01T16:32:10Z</dc:date>
    </item>
    <item>
      <title>Re: How Does CityEngine Generate Vertex Positions from OSM Data?</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/how-does-cityengine-generate-vertex-positions-from/m-p/204333#M2684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Something tells me you want to go in this direction .. &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/64088-Vehicle-placement-on-CityEngine-generated-streets"&gt;http://forums.arcgis.com/threads/64088-Vehicle-placement-on-CityEngine-generated-streets&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jul 2013 14:31:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/how-does-cityengine-generate-vertex-positions-from/m-p/204333#M2684</guid>
      <dc:creator>MatthiasBuehler1</dc:creator>
      <dc:date>2013-07-02T14:31:38Z</dc:date>
    </item>
    <item>
      <title>Re: How Does CityEngine Generate Vertex Positions from OSM Data?</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/how-does-cityengine-generate-vertex-positions-from/m-p/204334#M2685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Something tells me you want to go in this direction .. &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/64088-Vehicle-placement-on-CityEngine-generated-streets"&gt;http://forums.arcgis.com/threads/64088-Vehicle-placement-on-CityEngine-generated-streets&lt;/A&gt;.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;That is definitely the direction I want to go in!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/64088-Vehicle-placement-on-CityEngine-generated-streets.?p=225535&amp;amp;viewfull=1#post225535"&gt;http://forums.arcgis.com/threads/64088-Vehicle-placement-on-CityEngine-generated-streets.?p=225535&amp;amp;viewfull=1#post225535&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That post you made seems like it would be a great starting step for me but I have a couple of questions:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Where do I put the code for the marker creation and position reports?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What format will the data exported by the markerInstances.py script be in?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jul 2013 19:17:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/how-does-cityengine-generate-vertex-positions-from/m-p/204334#M2685</guid>
      <dc:creator>MichaelGharbharan</dc:creator>
      <dc:date>2013-07-05T19:17:31Z</dc:date>
    </item>
    <item>
      <title>Re: How Does CityEngine Generate Vertex Positions from OSM Data?</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/how-does-cityengine-generate-vertex-positions-from/m-p/204335#M2686</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;the marker reporting is in the CGA rule which creates the street geometries. In the example in the other thread I used the 'Modern Streets' example, which you can download.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The format to export is basically just a text list. E.g. you can write this into a text file. Since you're creating the text on your own, you can compose directly any other ascii file format. very flexible.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Makes sense ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jul 2013 07:10:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/how-does-cityengine-generate-vertex-positions-from/m-p/204335#M2686</guid>
      <dc:creator>MatthiasBuehler1</dc:creator>
      <dc:date>2013-07-09T07:10:41Z</dc:date>
    </item>
    <item>
      <title>Re: How Does CityEngine Generate Vertex Positions from OSM Data?</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/how-does-cityengine-generate-vertex-positions-from/m-p/204336#M2687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for all your help, I was able to generate the markers. I've exported the city as in FBX and imported it into Unity. I am now trying to spawn objects on the marker positions but the positions are off (see image below).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]25986[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Referring to your post:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/64088-Vehicle-placement-on-CityEngine-generated-streets.?p=225246&amp;amp;viewfull=1#post225246"&gt;http://forums.arcgis.com/threads/64088-Vehicle-placement-on-CityEngine-generated-streets.?p=225246&amp;amp;viewfull=1#post225246&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am offsetting the marker positions using the values given from the FBX exporter (see image below)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]25985[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am subtracting the offsets from the marker position in the markerInstances.py script (see image below)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]25988[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you have any ideas why my object placement positions are off? I've been trying to figure out the method CityEngine uses to calculate its offsets but I've been unable to recreate the same offsets.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jul 2013 22:57:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/how-does-cityengine-generate-vertex-positions-from/m-p/204336#M2687</guid>
      <dc:creator>MichaelGharbharan</dc:creator>
      <dc:date>2013-07-16T22:57:15Z</dc:date>
    </item>
    <item>
      <title>Re: How Does CityEngine Generate Vertex Positions from OSM Data?</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/how-does-cityengine-generate-vertex-positions-from/m-p/204337#M2688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;hey man,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;short fix :&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;ignore the difference and just use the point marker geometries in Unity. Write a js or cs script to extract the data in Unity instead of CE.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;long fix :&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;not sure what could cause this.. weird. it seems the data is also rotated.. could it be you have somehow inverted some axes, e.g. x = -123456 instead of 123456 ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;try to track this down on a very simple 1 meter wide / 10 meter long street, so you can precisely control all point marker vertices.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've done a similar thing some time ago in Maya and it did fit spot-on.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;lemme know.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;matt&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jul 2013 10:58:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/how-does-cityengine-generate-vertex-positions-from/m-p/204337#M2688</guid>
      <dc:creator>MatthiasBuehler1</dc:creator>
      <dc:date>2013-07-18T10:58:17Z</dc:date>
    </item>
    <item>
      <title>Re: How Does CityEngine Generate Vertex Positions from OSM Data?</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/how-does-cityengine-generate-vertex-positions-from/m-p/204338#M2689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The exported model is indeed rotated, not sure why this is but I was able to place objects on the marker positions by writing a script in Unity which places the objects based on the marker's vertices.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now I've got another question for you &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;I need a way to be able to only export the markers and the shape they are parented to. I realize my wording to describe what I want to might be a little confusing, so I have made some diagrams to try and explain:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The image below shows how the imported city appears in Unity.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]26072[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The image below shows what I am trying to get imported into Unity.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]26073[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this even possible? Please let me know if you have any thoughts.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;EDIT: Forgot to mention, I had the thought of editing the rule file so that it only generates what I want, but I'm inexperienced with writing rule files and not sure if this is plausible.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jul 2013 18:14:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/how-does-cityengine-generate-vertex-positions-from/m-p/204338#M2689</guid>
      <dc:creator>MichaelGharbharan</dc:creator>
      <dc:date>2013-07-19T18:14:03Z</dc:date>
    </item>
    <item>
      <title>Re: How Does CityEngine Generate Vertex Positions from OSM Data?</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/how-does-cityengine-generate-vertex-positions-from/m-p/204339#M2690</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;I'd add an attr :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;@Range("streets", "markers")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;attr exportWhat = "streets"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;then on each of the leaf shapes which actually create geometry, NIL them accorsing to that new attr.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;e.g. if you only want to export the streets, NIL the markers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;if you have that setup, export TWICE. once for the street geo, once for the markers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;m.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Jul 2013 21:51:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/how-does-cityengine-generate-vertex-positions-from/m-p/204339#M2690</guid>
      <dc:creator>MatthiasBuehler1</dc:creator>
      <dc:date>2013-07-28T21:51:28Z</dc:date>
    </item>
    <item>
      <title>Re: How Does CityEngine Generate Vertex Positions from OSM Data?</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/how-does-cityengine-generate-vertex-positions-from/m-p/204340#M2691</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;That worked perfectly. However there are some inconsistencies with the marker production, see image below:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]26631[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the areas in the yellow boxes, you can see that the markers are not consistently being generated on the correct side of the road. I am trying to generate markers only for the left side of the road.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Interestingly though, the cars are still orientated correctly in CityEngine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]26632[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you have any ideas why the markers aren't properly being generated?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Some background: I am using these markers to create traffic AI in Unity and by having "left" markers and "right" markers I am able to direct the direction of traffic flow, however this requires the markers to be consistently generated on the correct side of the road.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Another approach I could take is exporting whatever data the cars are using to properly orientate themselves.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help you can offer would be appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Aug 2013 23:07:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/how-does-cityengine-generate-vertex-positions-from/m-p/204340#M2691</guid>
      <dc:creator>MichaelGharbharan</dc:creator>
      <dc:date>2013-08-11T23:07:27Z</dc:date>
    </item>
    <item>
      <title>Re: How Does CityEngine Generate Vertex Positions from OSM Data?</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/how-does-cityengine-generate-vertex-positions-from/m-p/204341#M2692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've been investigating this problem and I think I may have stumbled upon a bug (or maybe there's a button I forgot to press)...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]26742[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The image above shows a shape that is not properly orientated. This shape was generated using the polygon street creation tool. Judging by the misalignment of the lane textures, it is very apparent that the shape is not rotated correctly (or maybe the UVs are flipped...?)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried rotating the object manually on the y axis by 180 degrees (to align the textures) but it would not let me, as the image below shows.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]26743[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However I am able to rotate the two shapes that are adjacent to it. Although I did not expect this to work, I rotated one of the adjacent shapes by a very small amount and it fixed the problem shape (which is what leads me to believe there might be a bug).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]26744[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;EDIT: Looking at the first image of my post above this one, if you follow the lanes in the yellow box to the left it is very apparent that there is an issue with street shape alignment...the scene from this image is from the Modern Streets example.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Aug 2013 01:09:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/how-does-cityengine-generate-vertex-positions-from/m-p/204341#M2692</guid>
      <dc:creator>MichaelGharbharan</dc:creator>
      <dc:date>2013-08-16T01:09:32Z</dc:date>
    </item>
    <item>
      <title>Re: How Does CityEngine Generate Vertex Positions from OSM Data?</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/how-does-cityengine-generate-vertex-positions-from/m-p/204342#M2693</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;When street segments meet that have different widths, an additional trapezoid shape is inserted to compensate. Those shapes usually create unrealistic models of streets, since lanes would be merging in real world. But the UVs are stretched in that region and the first edge of that geometry is angled, so in CE there's no solution for this issue. The best you can do is avoid streets with different widths.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So that's an unsolved issue in 2012. But we've been working on the street system for 2013. Though I'm not perfectly sure if this specific issue will be adressed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ok so far ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;m.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Aug 2013 13:06:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/how-does-cityengine-generate-vertex-positions-from/m-p/204342#M2693</guid>
      <dc:creator>MatthiasBuehler1</dc:creator>
      <dc:date>2013-08-19T13:06:51Z</dc:date>
    </item>
    <item>
      <title>Re: How Does CityEngine Generate Vertex Positions from OSM Data?</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/how-does-cityengine-generate-vertex-positions-from/m-p/204343#M2694</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;Okay I see. I suppose my best bet would be to generate markers based on the orientation of the cars.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does this logic seem about right to you (American roads):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If (car is facing north || car is facing east)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; placeMarker on right&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If (car is facing south || car is facing west)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; placeMarker on left&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The question now is: how can I determine the direction of a car in the rule file?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are these fair assumptions to make:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;X points North, -X points south&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Y points up, -Y points down&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Z points East, -Z points west&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Aug 2013 14:16:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/how-does-cityengine-generate-vertex-positions-from/m-p/204343#M2694</guid>
      <dc:creator>MichaelGharbharan</dc:creator>
      <dc:date>2013-08-19T14:16:16Z</dc:date>
    </item>
    <item>
      <title>Re: How Does CityEngine Generate Vertex Positions from OSM Data?</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/how-does-cityengine-generate-vertex-positions-from/m-p/204344#M2695</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;there's a compass in the viewport available. Activate it via d,a ( also check the viewport display settings cogwheel menu )&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;as far as I remember, in the code, the orientation of the cars are either 0 or 1 ( right or left lane ). But you may want to be more precise, so report the same position as the actual car.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;search for i(), where the actual car is inserted on the geometry. the orientation is actually defined by the alignment of the scope to the split street geometry, but you can get the world orientation (cartesian grid) with the convert() function.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please watch the video here, it'll help to track down where the cars are inserted, using the 'Model Hierarchy' :&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/44417-CGA-Understanding-the-concept-of-the-scope"&gt;http://forums.arcgis.com/threads/44417-CGA-Understanding-the-concept-of-the-scope&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ok ?&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, 20 Aug 2013 08:05:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/how-does-cityengine-generate-vertex-positions-from/m-p/204344#M2695</guid>
      <dc:creator>MatthiasBuehler1</dc:creator>
      <dc:date>2013-08-20T08:05:10Z</dc:date>
    </item>
    <item>
      <title>Re: How Does CityEngine Generate Vertex Positions from OSM Data?</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/how-does-cityengine-generate-vertex-positions-from/m-p/204345#M2696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Whoa you're the guy from the tutorial videos!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Using the Model Hierarchy was very helpful. Is it possible to for a shape to the the child of another shape?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Aug 2013 18:52:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/how-does-cityengine-generate-vertex-positions-from/m-p/204345#M2696</guid>
      <dc:creator>MichaelGharbharan</dc:creator>
      <dc:date>2013-08-25T18:52:59Z</dc:date>
    </item>
    <item>
      <title>Re: How Does CityEngine Generate Vertex Positions from OSM Data?</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/how-does-cityengine-generate-vertex-positions-from/m-p/204346#M2697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, yes I am .. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you rephrase this a bit ? &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Is it possible to for a shape to the the child of another shape? &lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;m.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Aug 2013 13:10:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/how-does-cityengine-generate-vertex-positions-from/m-p/204346#M2697</guid>
      <dc:creator>MatthiasBuehler1</dc:creator>
      <dc:date>2013-08-26T13:10:10Z</dc:date>
    </item>
    <item>
      <title>Re: How Does CityEngine Generate Vertex Positions from OSM Data?</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/how-does-cityengine-generate-vertex-positions-from/m-p/204347#M2698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sorry, I meant to ask "Is it possible to &lt;/SPAN&gt;&lt;STRONG&gt;force&lt;/STRONG&gt;&lt;SPAN&gt; a shape to the the child of another shape?"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Right now when I export my models and open them in Maya or Unity I just get a list of all the shapes in the model. If I check the group shapes button in the exporter then it groups all the shapes for a street segment together (the street shape is the parent).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am wondering if it is possible to manually specify the parent for a shape, so I can control how shapes are grouped together.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; P.S your a legend&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Aug 2013 14:25:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/how-does-cityengine-generate-vertex-positions-from/m-p/204347#M2698</guid>
      <dc:creator>MichaelGharbharan</dc:creator>
      <dc:date>2013-08-26T14:25:16Z</dc:date>
    </item>
    <item>
      <title>Re: How Does CityEngine Generate Vertex Positions from OSM Data?</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/how-does-cityengine-generate-vertex-positions-from/m-p/204348#M2699</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;No, that is not possible since the 'tree structure' is created based during the model generation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mainly, the 'Model Hierarchy' and the material merging settings in the export settings define that behavior. The shape group option basically adds transformation nodes to group the objects accordingly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ok ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;M.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Aug 2013 07:35:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/how-does-cityengine-generate-vertex-positions-from/m-p/204348#M2699</guid>
      <dc:creator>MatthiasBuehler1</dc:creator>
      <dc:date>2013-08-27T07:35:29Z</dc:date>
    </item>
  </channel>
</rss>

