Ignore:
Timestamp:
Dec 10, 2004, 10:16:42 AM (20 years ago)
Author:
darran
Message:
  • sky sphere remains at fixed distance from camera
  • back to zero vertical water surface offset
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Swollen/swollen/watersurface.cpp

    r36 r43  
    2121#define DEF_WATER_COLOUR        0, 0, 0.5, 1        // R, G, B, Alpha (blue)
    2222#define DEF_WATER_TRANSPARENCY  0.1                 // 0=opaque, 1=transparent
    23 #define DEF_ZOFFSET             0.01
     23#define DEF_ZOFFSET             0.00
    2424
    2525// constructor
     
    100100
    101101    // vertical (z) offset to eliminate potential zbuffer problems with bedslope
    102     for( unsigned int iv=0; iv < vertices.get()->size(); iv++ )
    103       vertices.get()->at(iv) += osg::Vec3f( 0.0, 0.0, _zoffset );
     102    //for( unsigned int iv=0; iv < vertices.get()->size(); iv++ )
     103    //  vertices.get()->at(iv) += osg::Vec3f( 0.0, 0.0, _zoffset );
    104104
    105105    _geom->setVertexArray( vertices.get() );
Note: See TracChangeset for help on using the changeset viewer.