satelliteImage = "maps/mySatellitePic.jpg" satelliteImageData(data) = case data == "SX" : 1000 case data == "SZ" : 1000 case data == "OX" : 1000 case data == "OZ" : -1000 else : 1 setupProjection(0,world.xz,satelliteImageData("SX"), -satelliteImageData("SZ"), satelliteImageData("OX"), satelliteImageData("OZ")) projectUV(0) texture(satelliteImage)
satelliteImage = "maps/mySatellitePic.jpg" satelliteImageData(data) = case data == "SX" : 1000 case data == "SZ" : 1000 case data == "OX" : 1000 case data == "OZ" : -1000 else : 1 @StartRule Building --> extrude(HAUTEUR) comp(f) { top : Roof | side : Facade } Roof --> setupProjection(0,world.xz,satelliteImageData("SX"), -satelliteImageData("SZ"),satelliteImageData("OX"),satelliteImageData("OZ")) projectUV(0) texture(satelliteImage) Roof.
version "2012.1" const terrain_dimension_x = 2195.5 const terrain_dimension_z = 2034.5 const terrain_offset_x = 711075.750 const terrain_offset_z = -6654980.750 attr HAUTEUR = 0 #Mapped to an object attribute imported from the file GDB @StartRule Building --> extrude(HAUTEUR) comp(f) { top : Roof | side : Facade } Roof --> setupProjection(0, world.xz, terrain_dimension_x, terrain_dimension_z) set(material.colormap, "texture/ortho16s.tif") projectUV(0) translateUV(0, -terrain_offset_x /terrain_dimension_x, -terrain_offset_z /terrain_dimension_z) scaleUV(0, 1, -1) Facade --> ...
# dimension of the satellite map const mapdimension_x = 1134.181 #change this to satellite image details const mapdimension_z = 939.650 #change this to satellite image details # offset of the satellite map const mapoffset_x = 597694.521 #change this to satellite image details const mapoffset_z = -3560369.907 #change this to satellite image details Lot--> extrude(rand(3,15)) Mass Mass --> # split building mass into roof and side faces comp(f){top : Roof | side : Facade} Roof --> Rooftex Rooftex --> setupProjection(0, world.xz, mapdimension_x, mapdimension_z) set(material.colormap, "maps/SATELLITEIMAGENAME.jpg") #change this projectUV(0) translateUV(0, -mapoffset_x/mapdimension_x, -mapoffset_z/mapdimension_z) scaleUV(0,1,-1)
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.