[vtkusers] Problems with vtkImageReader

Carsten Kübler kuebler at ira.uka.de
Tue Jun 12 02:43:36 EDT 2001


Hello,

we are using a lot of textures and every texture has its own image.
Running our programm with NT works but not with IRIX. The reason is,
that IRIX hasn't enough filedescriptors to load 600 images. We solve the
problem by closing the file after reading the image data (at the moment
the file is closed when opening the file again resp. in the destructor
of the vtkImageReader class).

So we add
    void Execute(vtkImageData *data)
    {
        ...
        this->File->close();
        delete this->File;
        this->File = NULL;
    }

and we have no problem.

Carsten
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kuebler.vcf
Type: text/x-vcard
Size: 424 bytes
Desc: Card for Carsten Kübler
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20010612/b499d7c5/attachment.vcf>


More information about the vtkusers mailing list