Roof UV Texture

2253
1
11-06-2012 09:36 PM
ziadfilfili
New Contributor II
Hello,

I am trying to make my UV texture for the roof, but stretching occurred and its not symmetrical on all sides.
Is there a way where the texture can be neat and not stretched ?

Thanks,
0 Kudos
1 Reply
MatthiasBuehler1
Frequent Contributor
Hi !


Lot -->
 extrude(world.y, 20)
 comp(f){side: Facade. | top: Roof}

Roof -->
 roofHip(30)
 comp(f) {all : RoofPlane}

RoofPlane -->
 alignScopeToGeometry(yUp, any, world.lowest)
 setupProjection(0, scope.xz, '1, '-1) # or absolute dimensions ..
 projectUV(0)
 texture("builtin:uvtest.png")


Ok ? 😮
0 Kudos