Added new osgstereoimage demo which loads two stero paired images to create

a 3D via of photographed scene.
This commit is contained in:
Robert Osfield
2002-03-17 18:44:47 +00:00
parent 0610d76c6a
commit 45de7a5815
5 changed files with 196 additions and 2 deletions

View File

@@ -157,8 +157,11 @@ void Image::ensureDimensionsArePowerOfTwo()
{
init = false;
glGetIntegerv(GL_MAX_TEXTURE_SIZE,&max_size);
std::cout<<"Max texture size "<<max_size<<std::endl;
notify(INFO) << "Max texture size "<<max_size<<std::endl;
}
//max_size = 64;
if (new_s>max_size) new_s = max_size;
if (new_t>max_size) new_t = max_size;