I'm looking for a simple rule to add textures to flat polygons, similar to the Apply Color rule found in the Essential Skills Training tutorials. Any help?
Scott
Texture -->
setupProjection(0, scope.xy, 1, 1) #not necessary for sides
texture("images/bricks.jpg")
projectUV(0)
This is correct as well. Thanks again, Z R.
Here's how I do it.
Lot --> extrude(5) #comp(f){all: Texture} #this would texture everything; #the stuff below addresses every side on its own. side: also works, to address all sides. comp(f){ left: rc | right: rc | top: Texture | bottom: rc | front: rc | back: rc } Texture --> setupProjection(0, scope.xy, 1, 1) texture("images/bricks.jpg") projectUV(0) rc --> color(rand,rand,rand)
Thanks, Z R. That worked perfectly. Now what if I want to extrude the polygon slightly (say between 0-5 feet) but still have the textures? It's fine if the texture is the same for the top and sides (in fact that would be preferred).
If it is the start shape, then use scope.xz rather than scope.xy.
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.