AnsweredAssumed Answered

Doing UV split on roundabout Street shape

Question asked by zsoftware on Feb 24, 2013
Latest reply on Feb 27, 2013 by geonetadmin
Hi,

I'm trying to get a UV split on roundabouts working, but apparently CE messes up my geometry. Originally I work in a bigger rule file, but I could reproduce it with this simple snippet:

version "2012.1"  Street -->  split(v, unitSpace, 0)  {   3: TestShape   | 3: TestShape  }   TestShape -->  tileUV(0, 1, 1)  texture("builtin:uvtest.png")


When applied to a roundabout Street shape, I get the following model:

[ATTACH=CONFIG]22125[/ATTACH]

This is it with the source shapes visible, too:

[ATTACH=CONFIG]22126[/ATTACH]

The wireframe looks right, but the geometry is messed up (see the z-fighting in the screenshots). When I export the model and view it, the problem is more visible:

[ATTACH=CONFIG]22124[/ATTACH]

Any ideas how I could work around this? It's really annoying because I try to split the shape into individual driving lanes and adding features like separator lines.

Outcomes