litianhong15 at gmail.com
Mon Jun 6 04:49:48 EDT 2016
my environment is : CPU: Xeon E5-2680 v3 @2.50 GHz, GTX750 + GTX TITAN X ,
VTK 7.0, QT 5.3.2, VS2013, Windows7 x64
Now my program run on GTX750 ,i want to run the program on GTX TITAN X.
Could you please tell me if it is possible to choose graphics card in my
I find the code below in vtkRenderWindow.h file:
// If there are several graphics card installed on a system,
// this index can be used to specify which card you want to render to.
// the default is 0. This may not work on all derived render window and
// it may need to be set before the first render.
// Returns the number of devices (graphics cards) on a system.
// This may not work on all derived render windows.
virtual int GetNumberOfDevices()
I tried changing the *DeviceIndex* variable to different values but with no
effect.my code is: renWin->SetDeviceIndex(1);
hoping for help!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vtkusers