<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">also, did you call
"renWin->Render()" once before using the extension manager? or
class that uses the extension manager?<br>
<br>
On 09/11/2013 02:21 PM, burlen wrote:<br>
</div>
<blockquote cite="mid:5230DEEA.5080001@gmail.com" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<div class="moz-cite-prefix">in your vtk build dir, what does the
output of <br>
<blockquote>$ ctest -R LoadOpenGL --verbose | grep GL_<br>
</blockquote>
say? If it's not reporting the expected versions then you could
verify which driver VTK using with:<br>
<blockquote>$ ldd bin/vtkRenderingVolumeCxxTests | grep GL<br>
</blockquote>
you may try this also on your app to verify. Do VTK's tests have
the same issue?<br>
<blockquote>$ ctest -R GPURay --verbose<br>
</blockquote>
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.<br>
<br>
Burlen<br>
<br>
On 09/10/2013 07:21 PM, Miro Drahos wrote:<br>
</div>
<blockquote cite="mid:522FD390.4000302@robodoc.com" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
Hi all,<br>
I am having an issue with volume mappers and hope someone can
provide some constructive feedback.<br>
When trying to use vtkGPUVolumeRayCastMapper rendering fails
with the message:<br>
<tt>ERROR: In
/home/miro/BUILDS/VTK5.10.1/VolumeRendering/vtkOpenGLGPUVolumeRayCastMapper.cxx,
line 4011</tt><tt><br>
</tt><tt>vtkOpenGLGPUVolumeRayCastMapper (0x12e15ce0): Rendering
failed because the following OpenGL extensions are required
but not supported: OpenGL 1.3 is required but not supported</tt><br>
<br>
If I run <br>
<tt>glGetString(GL_VERSION)</tt><br>
I get the correct output string:<br>
<tt>4.3.0 NVIDIA 310.44</tt><br>
<br>
and yet the
vtkOpenGLExtensionManager::ExtensionSupported("GL_VERSION_1_3")
somehow returns 0.<br>
<br>
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).<br>
Some terminal output that may be relevant:<br>
<tt><br>
</tt><tt>$ glewinfo | grep GL_VER</tt><tt><br>
</tt><tt>GL_VERSION_1_1:
OK </tt><tt><br>
</tt><tt>GL_VERSION_1_2:
OK </tt><tt><br>
</tt><tt>GL_VERSION_1_2_1:
OK </tt><tt><br>
</tt><tt>GL_VERSION_1_3:
OK </tt><tt><br>
</tt><tt>GL_VERSION_1_4:
OK </tt><tt><br>
</tt><tt>GL_VERSION_1_5:
OK </tt><tt><br>
</tt><tt>GL_VERSION_2_0:
OK </tt><tt><br>
</tt><tt>GL_VERSION_2_1:
OK </tt><tt><br>
</tt><tt>GL_VERSION_3_0:
OK </tt><tt><br>
</tt><tt>GL_VERSION_3_1:
OK </tt><tt><br>
</tt><tt>GL_VERSION_3_2:
OK </tt><tt><br>
</tt><tt>GL_VERSION_3_3:
OK </tt><tt><br>
</tt><tt>GL_VERSION_4_0:
OK </tt><tt><br>
</tt><tt>GL_VERSION_4_1:
OK </tt><tt><br>
</tt><tt>GL_VERSION_4_2:
OK </tt><tt><br>
</tt><tt><br>
</tt><tt>$ inxi -Gx</tt><tt><br>
</tt><tt>Graphics: Card: NVIDIA GF119 [GeForce GT 520] bus-ID:
01:00.0 </tt><tt><br>
</tt><tt> X.Org: 1.13.3 drivers: nvidia (unloaded:
fbdev,vesa,nouveau) Resolution: <a moz-do-not-send="true"
class="moz-txt-link-abbreviated"
href="mailto:1920x1080@60.0hz">1920x1080@60.0hz</a>, <a
moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:1920x1080@60.0hz">1920x1080@60.0hz</a> </tt><tt><br>
</tt><tt> GLX Renderer: GeForce GT 520/PCIe/SSE2 GLX
Version: 4.3.0 NVIDIA 310.44 Direct Rendering: Yes</tt><tt><br>
</tt><br>
<br>
More puzzling yet it gets when I try to use
vtkVolumeMapperTexture3D, I get <br>
<tt>ERROR: In
/home/miro/BUILDS/VTK5.10.1/VolumeRendering/vtkOpenGLGPUVolumeRayCastMapper.cxx,
line 4011</tt><tt><br>
</tt><tt>vtkOpenGLGPUVolumeRayCastMapper (0x12e15ce0): Rendering
failed because the following OpenGL extensions are required
but not supported: </tt><br>
<br>
With no list of problem extensions...<br>
<br>
Thank you very much for any input on this!<br>
<br>
<div class="moz-signature">
<div style="font-size:95%; width:13.5em;text-align:left;
padding-left:1em; .moz-signature { display: none; }">
<hr style="width:11em; border-top:3px double #aaa;
width:155%; margin-left:-0.5em;"> Miroslav Drahoš<br>
<div style="font-size:75%"> software engineer<br>
<a moz-do-not-send="true" href="http://www.robodoc.com"><img
src="cid:part3.03010103.05030801@gmail.com"
height="31px" width="128px"></a><br>
<b>Curexo Technology Corporation</b><br>
47320 Mission Falls Ct<br>
Fremont CA, 94539<br>
Tel: (510) 249-2300 x2372<br>
Fax: (510) 249-2396<br>
<a moz-do-not-send="true" href="http://www.robodoc.com">www.robodoc.com</a><br>
<br>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Powered by <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="http://www.kitware.com">www.kitware.com</a>
Visit other Kitware open-source projects at <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a>
Please keep messages on-topic and check the VTK FAQ at: <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a>
Follow this link to subscribe/unsubscribe:
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a>
</pre>
</blockquote>
<br>
</blockquote>
<br>
</body>
</html>