[vtkusers] GPURayCast and Texture3D volume mappers fail to render

burlen burlen.loring at gmail.com
Wed Sep 11 18:08:30 EDT 2013


also, did you call "renWin->Render()" once before using the extension 
manager? or class that uses the extension manager?

On 09/11/2013 02:21 PM, burlen wrote:
> in your vtk build dir, what does the output of
>
>     $ ctest -R LoadOpenGL --verbose | grep GL_
>
> say? If it's not reporting the expected versions then you could verify 
> which driver VTK using with:
>
>     $ ldd bin/vtkRenderingVolumeCxxTests | grep GL
>
> you may try this also on your app to verify. Do VTK's tests have the 
> same issue?
>
>     $ ctest -R GPURay --verbose
>
> if none of this helps, would you be willing to work with the 
> development version of VTK? it will be easier to find and fix the bug.
>
> Burlen
>
> On 09/10/2013 07:21 PM, Miro Drahos wrote:
>> Hi all,
>> I am having an issue with volume mappers and hope someone can provide 
>> some constructive feedback.
>> When trying to use vtkGPUVolumeRayCastMapper rendering fails with the 
>> message:
>> ERROR: In 
>> /home/miro/BUILDS/VTK5.10.1/VolumeRendering/vtkOpenGLGPUVolumeRayCastMapper.cxx, 
>> line 4011
>> vtkOpenGLGPUVolumeRayCastMapper (0x12e15ce0): Rendering failed 
>> because the following OpenGL extensions are required but not 
>> supported:  OpenGL 1.3 is required but not supported
>>
>> If I run
>> glGetString(GL_VERSION)
>> I get the correct output string:
>> 4.3.0 NVIDIA 310.44
>>
>> and yet the 
>> vtkOpenGLExtensionManager::ExtensionSupported("GL_VERSION_1_3") 
>> somehow returns 0.
>>
>> I am using vtk 5.10, my graphics card is NVIDIA GT520, using NVIDIA 
>> propriatory driver 310.44 on Linux Mint 15 (same thing with 
>> open-source nouveau driver).
>> Some terminal output that may be relevant:
>>
>> $ glewinfo   | grep GL_VER
>> GL_VERSION_1_1: OK
>> GL_VERSION_1_2: OK
>> GL_VERSION_1_2_1: OK
>> GL_VERSION_1_3: OK
>> GL_VERSION_1_4: OK
>> GL_VERSION_1_5: OK
>> GL_VERSION_2_0: OK
>> GL_VERSION_2_1: OK
>> GL_VERSION_3_0: OK
>> GL_VERSION_3_1: OK
>> GL_VERSION_3_2: OK
>> GL_VERSION_3_3: OK
>> GL_VERSION_4_0: OK
>> GL_VERSION_4_1: OK
>> GL_VERSION_4_2: OK
>>
>> $ inxi -Gx
>> Graphics:  Card: NVIDIA GF119 [GeForce GT 520] bus-ID: 01:00.0
>>            X.Org: 1.13.3 drivers: nvidia (unloaded: 
>> fbdev,vesa,nouveau) Resolution: 1920x1080 at 60.0hz, 1920x1080 at 60.0hz
>>            GLX Renderer: GeForce GT 520/PCIe/SSE2 GLX Version: 4.3.0 
>> NVIDIA 310.44 Direct Rendering: Yes
>>
>>
>> More puzzling yet it gets when I try to use vtkVolumeMapperTexture3D, 
>> I get
>> ERROR: In 
>> /home/miro/BUILDS/VTK5.10.1/VolumeRendering/vtkOpenGLGPUVolumeRayCastMapper.cxx, 
>> line 4011
>> vtkOpenGLGPUVolumeRayCastMapper (0x12e15ce0): Rendering failed 
>> because the following OpenGL extensions are required but not supported:
>>
>> With no list of problem extensions...
>>
>> Thank you very much for any input on this!
>>
>> ------------------------------------------------------------------------
>> Miroslav Drahos(
>> software engineer
>> <http://www.robodoc.com>
>> *Curexo Technology Corporation*
>> 47320 Mission Falls Ct
>> Fremont CA, 94539
>> Tel: (510) 249-2300 x2372
>> Fax: (510) 249-2396
>> www.robodoc.com <http://www.robodoc.com>
>>
>>
>>
>> _______________________________________________
>> Powered bywww.kitware.com
>>
>> Visit other Kitware open-source projects athttp://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the VTK FAQ at:http://www.vtk.org/Wiki/VTK_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.vtk.org/mailman/listinfo/vtkusers
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130911/f1718396/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 7158 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130911/f1718396/attachment.jpeg>


More information about the vtkusers mailing list