[vtkusers] How to use Hardware acceleration in Windows?

de Boer Ingo I.deBoer at polytec.de
Thu May 19 02:06:53 EDT 2005


Hi Carlos,

as far as I know, you have hardware acceleration by default.
Except, if you have disabled it in the windows system settings.

And there is no need in using a HDC directly. Just look at the
sample, like Medical1.cxx. VTK can do all the window stuff for you.

greets
  Ingo

---
Dr.-Ing. Ingo H. de Boer

Polytec GmbH
Polytec-Platz 1-7, 76337 Waldbronn, Germany
phone: ++49 7243 604 106
fax  : ++49 7243 604 255
 

> -----Original Message-----
> 
> I am a spaniard beginner in VTK and I need Hardware acceleration to
> develop a 3D Fractal for basic Benchmark.
> My application runs in Windows XP over a GeForce5500 by 
> software rendering. 
> With only three iterations it moves too slow, of course.
> I suppose the method I have to use is SetDeviceContext( HDC )
> http://www.vtk.org/doc/nightly/html/classvtkWin32OpenGLRenderW
> indow.html#a34
> 
> But I don't understand how integrate an HDC in my application made
> only with VTK and STL. (Visual 2003)
> 
> I have't find any example of it.
> If somebody can help, or guide with an example of code.
> All my tries fails.
> 
> Thanks.
> _______________________________________________
> This is the private VTK discussion list. 
> Please keep messages on-topic. Check the FAQ at: 
http://www.vtk.org/Wiki/VTK_FAQ
Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers



More information about the vtkusers mailing list