Changeset 274 for experimental/TerrainTest/rampedEllipsoidTechnique.cpp
- Timestamp:
- Mar 19, 2011, 5:39:31 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
experimental/TerrainTest/rampedEllipsoidTechnique.cpp
r272 r274 30 30 void rampedEllipsoidTechnique::modifyHeightfield(region& modificationROI, osg::HeightField* h, region tileExtends) 31 31 { 32 //OSG_NOTIFY( osg::ALWAYS ) << "rampedEllipsoidTechnique::modifyHeightfield()" << std::endl;32 OSG_NOTIFY( osg::ALWAYS ) << "rampedEllipsoidTechnique::modifyHeightfield()" << std::endl; 33 33 //OSG_NOTIFY( osg::ALWAYS ) << "LAT: " << tileExtends._lat_min << " | " << tileExtends._lat_max << std::endl; 34 34 //OSG_NOTIFY( osg::ALWAYS ) << "LON: " << tileExtends._lon_min << " | " << tileExtends._lon_max << std::endl; … … 57 57 clampValue(Y_endCore, Y_start, Y_end); 58 58 clampValue(Y_endRamp, Y_start, Y_end); 59 OSG_NOTIFY( osg::ALWAYS ) << "Y_startRamp:" << Y_startRamp << " Y_startCore:" << Y_startCore << " Y_endCore:" << Y_endCore << " Y_endRamp:" << Y_endRamp << std::endl; 59 60 60 61 // Lon … … 68 69 clampValue(X_endCore, X_start, X_end); 69 70 clampValue(X_endRamp, X_start, X_end); 70 71 OSG_NOTIFY( osg::ALWAYS ) << "X_startRamp:" << X_startRamp << " X_startCore:" << X_startCore << " X_endCore:" << X_endCore << " X_endRamp:" << X_endRamp << std::endl; 71 72 72 73 // Modify height value of affected vertices in the core ROI … … 124 125 125 126 // Set height to calculated value 127 OSG_NOTIFY( osg::ALWAYS ) << "rampedEllipsoidTechnique: destination_height=" << destination_height << std::endl; 126 128 h->setHeight( x, y, destination_height); 127 129 }
Note: See TracChangeset
for help on using the changeset viewer.