Changeset 1965 for Swollen/swwreader


Ignore:
Timestamp:
Oct 20, 2005, 5:21:06 PM (20 years ago)
Author:
darran
Message:
  • fixed flipped y coordinate georeferencing in cylinders.tif test image
  • fixed resultant problem in assigned texture coords
  • hopeful that this solves karratha texture issue ...
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Swollen/swwreader/swwreader.cpp

    r133 r1965  
    349349      for( unsigned int iv=0; iv < _npoints; iv++ )
    350350         _bedslopetexcoords->push_back( osg::Vec2( (_px[iv] + _xllcorner - xorigin)/xrange,
    351                                                    (_py[iv] + _yllcorner - yorigin)/yrange ) );
     351                                                   1.0 - (_py[iv] + _yllcorner - yorigin)/yrange ) );
    352352   }
    353353   else
Note: See TracChangeset for help on using the changeset viewer.