<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial,helvetica,sans-serif;font-size:10pt"><div>Hi,<br><br>I have a problem with the vtkKWEVolumeMapper. It works when blending mode is composite, but when you try to use the Minimum or Maximum Intensity Projection, you obtain the following error messages:<br><br>ERROR: In ..\..\VTKEdge\VolumeRendering\vtkKWEOpenGLGPUVolumeRayCastMapper.cxx, line 2110<br>vtkKWEOpenGLGPUVolumeRayCastMapper (020C9980): program link error<br><br>ERROR: In ..\..\VTKEdge\VolumeRendering\vtkKWEOpenGLGPUVolumeRayCastMapper.cxx, line 2116<br>vtkKWEOpenGLGPUVolumeRayCastMapper (020C9980): log: Fragment info<br>-------------<br>(0) : fatal error C9999: Bad scope in ConvertLocalReferences()<br><br><br>ERROR: In ..\..\VTKEdge\VolumeRendering\vtkKWEOpenGLGPUVolumeRayCastMapper.cxx, line 3741<br>vtkKWEOpenGLGPUVolumeRayCastMapper (020C9980): dataSetTexture is not a uniform
variable.<br><br>ERROR: In ..\..\VTKEdge\VolumeRendering\vtkKWEOpenGLGPUVolumeRayCastMapper.cxx, line 3758<br>vtkKWEOpenGLGPUVolumeRayCastMapper (020C9980): colorTexture is not a uniform variable.<br><br>ERROR: In ..\..\VTKEdge\VolumeRendering\vtkKWEOpenGLGPUVolumeRayCastMapper.cxx, line 3775<br>vtkKWEOpenGLGPUVolumeRayCastMapper (020C9980): opacityTexture is not a uniform variable.<br><br>ERROR: In ..\..\VTKEdge\VolumeRendering\vtkKWEOpenGLGPUVolumeRayCastMapper.cxx, line 3795<br>vtkKWEOpenGLGPUVolumeRayCastMapper (020C9980): depthTexture is not a uniform variable.<br><br>ERROR: In ..\..\VTKEdge\VolumeRendering\vtkKWEOpenGLGPUVolumeRayCastMapper.cxx, line 3814<br>vtkKWEOpenGLGPUVolumeRayCastMapper (020C9980): noiseTexture is not a uniform variable.<br><br>ERROR: In ..\..\VTKEdge\VolumeRendering\vtkKWEOpenGLGPUVolumeRayCastMapper.cxx, line 3867<br>vtkKWEOpenGLGPUVolumeRayCastMapper (020C9980): scalarBufferTexture is not a uniform variable.<br><br>ERROR:
In ..\..\VTKEdge\VolumeRendering\vtkKWEOpenGLGPUVolumeRayCastMapper.cxx, line 3885<br>vtkKWEOpenGLGPUVolumeRayCastMapper (020C9980): windowLowerLeftCorner is not a uniform variable.<br><br>ERROR: In ..\..\VTKEdge\VolumeRendering\vtkKWEOpenGLGPUVolumeRayCastMapper.cxx, line 3919<br>vtkKWEOpenGLGPUVolumeRayCastMapper (020C9980): invWindowSize is not a uniform variable.<br><br>ERROR: In ..\..\VTKEdge\VolumeRendering\vtkKWEOpenGLGPUVolumeRayCastMapper.cxx, line 5526<br>vtkKWEOpenGLGPUVolumeRayCastMapper (020C9980): lowBounds is not a uniform variable.<br><br>ERROR: In ..\..\VTKEdge\VolumeRendering\vtkKWEOpenGLGPUVolumeRayCastMapper.cxx, line 5539<br>vtkKWEOpenGLGPUVolumeRayCastMapper (020C9980): highBounds is not a uniform variable.<br><br>ERROR: In ..\..\VTKEdge\VolumeRendering\vtkKWEOpenGLGPUVolumeRayCastMapper.cxx, line 5678<br>vtkKWEOpenGLGPUVolumeRayCastMapper (020C9980): cameraPosition is not a uniform variable.<br><br>ERROR: In
..\..\VTKEdge\VolumeRendering\vtkKWEOpenGLGPUVolumeRayCastMapper.cxx, line 5690<br>vtkKWEOpenGLGPUVolumeRayCastMapper (020C9980): sampleDistance is not a uniform variable.<br><br>ERROR: In ..\..\VTKEdge\VolumeRendering\vtkKWEOpenGLGPUVolumeRayCastMapper.cxx, line 5707<br>vtkKWEOpenGLGPUVolumeRayCastMapper (020C9980): matrix1 is not a uniform variable.<br><br>ERROR: In ..\..\VTKEdge\VolumeRendering\vtkKWEOpenGLGPUVolumeRayCastMapper.cxx, line 5722<br>vtkKWEOpenGLGPUVolumeRayCastMapper (020C9980): matrix2 is not a uniform variable.<br><br>ERROR: In ..\..\VTKEdge\VolumeRendering\vtkKWEOpenGLGPUVolumeRayCastMapper.cxx, line 5830<br>vtkKWEOpenGLGPUVolumeRayCastMapper (020C9980): textureToEye is not a uniform variable.<br><br>I use the latest VTK version (5.3.0 downloaded by cvs) and the latest VTKEdge version (that require the VTK 5.3.0 to compile).<br><br>What is going wrong?<br><br>Here a piece of code that I use:<br><br><span style="font-family: Courier
New,courier,monaco,monospace,sans-serif;">volumeMapper = vtkKWEVolumeMapper::New();</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">volumeMapper->SetInput(volumeData);</span><br><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">//volumeMapper->SetBlendModeToComposite();</span> // The default mode. It works.<br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">volumeMapper->SetBlendModeToMaximumIntensity();</span> // Generate the error.<br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><br>- AGPX<br></div></div><br>
<hr size=1><font face="Arial" size="2">Scopri la community di Io fotografo e video<br>
<a href=http://us.rd.yahoo.com/SIG=11ud6kror/**http%3A%2F%2Fwww.flickr.com%2Fgroups%2Fiofotografoevideo%2F>Il nuovo corso</a> di Gazzetta dello sport per diventare veri fotografi!</font></body></html>