Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5564


Ignore:
Timestamp:
May 27, 2009, 2:37:38 PM (16 years ago)
Author:
landauf
Message:

added a second skybox, tested it in a level with an alternative asteroid placement

Location:
data/media
Files:
7 added
2 edited

Legend:

Unmodified
Added
Removed
  • data/media/levels/presentation09.oxw

    r5563 r5564  
    1818
    1919
    20 <SpawnPoint position="<?lua print(math.sin(1.5) *40000) ?>,<?lua print(math.cos(1.5) *40000) ?>,<?lua print(500) ?>" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
    21 
     20<SpawnPoint position="<?lua print(math.sin(1.5) *20000) ?>,<?lua print(math.cos(1.5) *20000) ?>,<?lua print(500) ?>" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
    2221
    2322<?lua
     
    2524for i = 1, max, 1
    2625do
    27     x = math.sin(i/max*6)*40000
    28     y = math.cos(i/max*6)*40000
     26    x = math.sin(i/max*6)*20000
     27    y = math.cos(i/max*6)*20000
    2928    z = i*100
    3029    ?>
     
    4746?>
    4847<?lua end ?>
    49     <Planet position="0,0,0" scale=10000 pitch=-90 mesh="iceplanet.mesh" atmosphere="atmosphere1" rotationaxis="1,1,0" rotationrate="1" atmospheresize=224.0f imagesize=1024.0f />
     48
     49    <Planet position="0,0,0" scale=5000 pitch=-90 mesh="iceplanet.mesh" atmosphere="atmosphere1" rotationaxis="1,1,0" rotationrate="1" atmospheresize=224.0f imagesize=1024.0f />
     50    <ParticleEmitter pitch=90 position="0,0,0" source="Orxonox/RingDust" />
    5051   
    5152  </Scene>
  • data/media/materials/scripts/OrxonoxSky.material

    r5354 r5564  
    1111                        {
    1212                                cubic_texture skypanoramagen1.jpg separateUV
     13                                tex_address_mode clamp
     14                        }
     15                }
     16        }
     17}
     18
     19material Orxonox/skypanoramagen2
     20{
     21        technique
     22        {
     23                pass
     24                {
     25                        lighting off
     26                        depth_write off
     27
     28                        texture_unit
     29                        {
     30                                cubic_texture skypanoramagen2.jpg separateUV
    1331                                tex_address_mode clamp
    1432                        }
Note: See TracChangeset for help on using the changeset viewer.