Thanks Adrian, applied fix and submitted to CVS.

On 5/10/06, Adrian Egli <[EMAIL PROTECTED]> wrote:

hi robert,

i got some troubles by using the osgVolume

osg::Image* readRaw(int sizeX, int sizeY, int sizeZ, int numberBytesPerComponent, int numberOfComponents, const std::string& endian, const std::string& raw_filename)
{

    std::ifstream fin(raw_filename.c_str());


=> we have to replace with
    std::ifstream fin(raw_filename.c_str(), std::ifstream::binary);


binary file format to read, otherwise it wan't work under VC 2005 !

adegli

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/


_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to