[vtkusers] vtkOpenGLGPUVolumeRayCastMapper on a specific GPU

Lars Friedrich Lars lars-friedrich at gmx.net
Wed Jun 1 10:24:16 EDT 2011


Thank you very much for the info! I was not aware of the NVIDIA-specific wgl-command. As VTK's GPU-ray-caster currently supports NVIDIA only, it seems to be perfectly suited for the planned purpose (on windows). I will try to implement the proposed ideas within the next weeks, and will keep the user list or VTK wiki update-to-date concerning this issue.
Thank you again!

lars


-------- Original-Nachricht --------
> Datum: Tue, 31 May 2011 12:39:17 -0400
> Von: Aashish Chaudhary <aashish.chaudhary at kitware.com>
> An: chasank <chasank at gmail.com>
> CC: vtkusers at vtk.org
> Betreff: Re: [vtkusers] vtkOpenGLGPUVolumeRayCastMapper on a specific GPU

> For nvidia cards you can use gpu affinity
> 
> http://developer.download.nvidia.com/opengl/specs/WGL_nv_gpu_affinity.txt
> 
> Hope it helps.
> 
> Thanks
> 
> 
> On Tue, May 31, 2011 at 12:36 PM, chasank <chasank at gmail.com> wrote:
> > Create an OpenGL context on your code, then,
> >
> > gl_vendor = (const char *) (glGetString(GL_VENDOR));
> > gl_model = (const char *) (glGetString(GL_RENDERER));
> > if ( strstr(gl_vendor, "ATI" ) != 0 )
> > {
> >    // make your arrangement
> > }
> > else if ( strstr(gl_vendor, "NVIDIA") != 0)
> > {
> >    // make your arrangement
> > }
> >
> > GL_VENDOR just returns the name of the GPU vendor while GL_RENDERER
> returns
> > the name of the GPU card.
> >
> > --
> > View this message in context:
> http://vtk.1045678.n5.nabble.com/vtkOpenGLGPUVolumeRayCastMapper-on-a-specific-GPU-tp4437454p4442569.html
> > Sent from the VTK - Users mailing list archive at Nabble.com.
> > _______________________________________________
> > Powered by www.kitware.com
> >
> > Visit other Kitware open-source projects at
> http://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
> >
> 
> 
> 
> -- 
> | Aashish Chaudhary
> | R&D Engineer
> | Kitware Inc.
> | www.kitware.com
> _______________________________________________
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at
> http://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

-- 
NEU: FreePhone - kostenlos mobil telefonieren!			
Jetzt informieren: http://www.gmx.net/de/go/freephone



More information about the vtkusers mailing list