<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <pre wrap="">Dear List,

(I just realized I sent my message to ITK list instead of VTK!)

I have started getting the error "No scalar values found for texture input!"
coming from vtkOpenGLTexture, while porting my code to VTK6

More precisely, I have a vtkImageData, generated by
itkImageToVTKImageFilter, which is mapped through vtkImageResliceMapper

I have tried adding the following to itkImageToVTKImageFilter:

  m_Importer->UpdateInformation();
  vtkStreamingDemandDrivenPipeline::SetUpdateExtent(
        m_Importer->GetOutputInformation(0 /<b class="moz-txt-star"><span class="moz-txt-tag">*</span>port number<span class="moz-txt-tag">*</span></b>/),
        0 /<b class="moz-txt-star"><span class="moz-txt-tag">*</span>piece<span class="moz-txt-tag">*</span></b>/,
        2 /<b class="moz-txt-star"><span class="moz-txt-tag">*</span>number of pieces<span class="moz-txt-tag">*</span></b>/,
        0 /<b class="moz-txt-star"><span class="moz-txt-tag">*</span>number of ghost levels<span class="moz-txt-tag">*</span></b>/);
  m_Importer->Update();

.. but no luck!

I have also tried:

m_ImageData->GetPointData()->SetActiveAttribute (0, vtkPointData::SCALARS);

didn´t work either...

Any hint?

thank you,
sebastian</pre>
  </body>
</html>