home *** CD-ROM | disk | FTP | other *** search
/ Freelog 34 / Freelog034.iso / Graphisme3D / City / WATERLIN.POV < prev   
Encoding:
Text File  |  1999-02-01  |  1.3 KB  |  39 lines

  1. // CITY GENERATOR: SKY LINE ON THE RIVER
  2. // This scene shows how the various city options can be used to create
  3. // cities of different sizes, and how the city_transform option can
  4. // be used to modify the city as a whole.
  5.  
  6. // CAMERA, LIGHT, AND DEFAULT FINISH
  7.    camera {location <3, 2, -15> look_at <0, 4, 0> angle 80}
  8.    light_source {<20, 70, -100> rgb <1, .9, .7>}
  9.    default {finish {ambient .3 diffuse .6}}
  10.  
  11. // WATER PLANE AND SKY
  12.    plane {y, -.01
  13.       pigment {rgb <.3, .4, .6>}
  14.       normal {ripples .2 scale 100 frequency 250}
  15.       finish {phong .8 phong_size 15 reflection .3}}
  16.  
  17.    sky_sphere {pigment {rgb <.2, .5, .8>}
  18.       pigment {granite color_map {
  19.          [.4 rgbt 1] [.8 rgb .9 transmit .4]}
  20.          scale <1, .6, 1>}}
  21.  
  22.    fog {fog_type 2 color rgb <.7, .9, 1> distance 200 fog_alt 50}
  23.  
  24. // CITY (ONE BUILDING DEEP)
  25.    #declare city_block_count = 1;
  26.    #declare buildings_per_block = <11, 1, 0>;
  27.    #declare city_transform = transform {scale <.1, .125, .1>}
  28.    #declare city_tileable = true;
  29.    #declare max_building_height = 60;
  30.    #declare building_height_falloff = 0;
  31.    #declare building_height_turb = 1;
  32.    #declare city_seed = 123456;
  33.  
  34.    #include "DEFAULT.OBJ"
  35.    #include "OFFICES.OBJ"
  36.    #include "FLATS.OBJ"
  37.    #include "HOTELS.OBJ"
  38.    #include "CITY"
  39.