bbenoit

Texture objet cga ?

Discussion created by bbenoit on May 22, 2012
Latest reply on Jun 5, 2012 by MBuehler-esristaff
Bonjour, est-il bon ce code car il est souligner jaune tout le code cga, c'est normal ?
Hello, are-he good this code "cga" are he to underline  yellow all the code cga, is normal ?

PlankTexturing(type, textureName) -->
case type == "nailed":
  alignScopeToGeometry(zUp, any, longest)
  setupProjection(0,scope.xy, ~4, ~0.6, 1)
  projectUV(0)
  texture(textureName)
  #translateUV(0, rand(1), 0)
  TowerBoard.
case type == "construction":
  alignScopeToGeometry(zUp, any, longest)
  setupProjection(0,scope.xy, ~4, ~0.6, 1)
  projectUV(0)
  texture(textureName)
  translateUV(0, rand(1), 0)
  ConstructionPlank.
else:
  alignScopeToGeometry(zUp, any, longest)
  setupProjection(0,scope.xy, ~4, ~0.6, 1)
  projectUV(0)
  texture(textureName)
  translateUV(0, rand(1), 0)
  TowerBoard.

Outcomes