Changeset 7648 for OpenSceneGraph/trunk/examples/osgvolume/osgvolume.cpp
- Timestamp:
- 12/10/07 18:30:18 (5 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/examples/osgvolume/osgvolume.cpp
r6941 r7648 263 263 264 264 /////////////////////////////////////////////////////////////////////////////// 265 // alpha lumin iance sources..265 // alpha luminance sources.. 266 266 virtual void LA_to_A(unsigned int num, unsigned char* source, unsigned char* dest) const 267 267 { … … 758 758 // note, well set the filtering up so that mip mapping is disabled, 759 759 // gluBuild3DMipsmaps doesn't do a very good job of handled the 760 // i nbalanced dimensions of the 256x256x4 texture.760 // imbalanced dimensions of the 256x256x4 texture. 761 761 osg::Texture3D* texture3D = new osg::Texture3D; 762 762 texture3D->setFilter(osg::Texture3D::MIN_FILTER,osg::Texture3D::LINEAR); … … 1139 1139 // note, well set the filtering up so that mip mapping is disabled, 1140 1140 // gluBuild3DMipsmaps doesn't do a very good job of handled the 1141 // i nbalanced dimensions of the 256x256x4 texture.1141 // imbalanced dimensions of the 256x256x4 texture. 1142 1142 osg::Texture3D* texture3D = new osg::Texture3D; 1143 1143 texture3D->setFilter(osg::Texture3D::MIN_FILTER,osg::Texture3D::LINEAR); … … 1333 1333 for(int t=0;t<sizeT;++t) 1334 1334 { 1335 // reset the indices to begin ing1335 // reset the indices to beginning 1336 1336 readOp._pos = 0; 1337 1337 writeOp._pos = 0; … … 1563 1563 arguments.reportRemainingOptionsAsUnrecognized(); 1564 1564 1565 // report any errors if they have occur ed when parsing the program aguments.1565 // report any errors if they have occurred when parsing the program arguments. 1566 1566 if (arguments.errors()) 1567 1567 { … … 1570 1570 } 1571 1571 1572 // assume remaining arg ments are file names of textures.1572 // assume remaining arguments are file names of textures. 1573 1573 for(int pos=1;pos<arguments.argc() && !image_3d;++pos) 1574 1574 {
