[vtkusers] vtkGPUInfoList does not work with OpenGL2
Csaba Pinter
csaba.pinter at queensu.ca
Tue Jun 19 08:50:23 EDT 2018
We need a platform-independent solution, so I cannot use the DirectX one directly, but I'll give this some thought.
Thanks for the reply, I appreciate the information!
-----Original Message-----
From: vtkusers <vtkusers-bounces at public.kitware.com> On Behalf Of ianl
Sent: Tuesday, June 19, 2018 06:33
To: vtkusers at vtk.org
Subject: Re: [vtkusers] vtkGPUInfoList does not work with OpenGL2
We have had reasonable success with including the vtkDirectXGPUInfoList.cxx and .h files from the OpenGL directory in our project, then instantiating the class directly. You will need the DirectX SDK installed (as you would have needed to with the original implementation).
Note that this also affects the resampling code that deals with textures larger than the GPU can handle in vtkSmartVolumeMapper/vtkGPUVolumeRayCastMapper::GetReductionRatio which we have had to do our own implementation of as the OpenGL2 implementation is currently a stub that returns a ratio of 1. Hopefully it will get re-instated properly at some stage if enough people ask for it. Our current solution is a bit too hacky to submit as a proper change.
--
Sent from: https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fvtk.1045678.n5.nabble.com%2FVTK-Users-f1224199.html&data=02%7C01%7Ccsaba.pinter%40queensu.ca%7C54e2b19ee1d549caac9208d5d5d00ef8%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C1%7C636650011943203788&sdata=iRf4j0hNvMOVIMN0UTuJ62T2Qrlh3us%2FYogfl5O6Wb4%3D&reserved=0
_______________________________________________
Powered by https://na01.safelinks.protection.outlook.com/?url=www.kitware.com&data=02%7C01%7Ccsaba.pinter%40queensu.ca%7C54e2b19ee1d549caac9208d5d5d00ef8%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C1%7C636650011943203788&sdata=4UxhT27YmZsPrzAXcBezaE%2FhXxNCyZjVwDGbGaCpTus%3D&reserved=0
Visit other Kitware open-source projects at https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.kitware.com%2Fopensource%2Fopensource.html&data=02%7C01%7Ccsaba.pinter%40queensu.ca%7C54e2b19ee1d549caac9208d5d5d00ef8%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C1%7C636650011943203788&sdata=hOth4DoHSm9ViDVWJI2AqM9xgdO7ZW3AQtDI%2FoAbX8Q%3D&reserved=0
Please keep messages on-topic and check the VTK FAQ at: https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.vtk.org%2FWiki%2FVTK_FAQ&data=02%7C01%7Ccsaba.pinter%40queensu.ca%7C54e2b19ee1d549caac9208d5d5d00ef8%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C1%7C636650011943203788&sdata=F7KAQe3YgILs9jLFjUKGl%2Fw7Djyoc5a4IBwDVNLPooI%3D&reserved=0
Search the list archives at: https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmarkmail.org%2Fsearch%2F%3Fq%3Dvtkusers&data=02%7C01%7Ccsaba.pinter%40queensu.ca%7C54e2b19ee1d549caac9208d5d5d00ef8%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C1%7C636650011943213797&sdata=NFNf52qIaDX0tEqfLSIdp8vEPna7WmRf0qvOTFO3Ebw%3D&reserved=0
Follow this link to subscribe/unsubscribe:
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpublic.kitware.com%2Fmailman%2Flistinfo%2Fvtkusers&data=02%7C01%7Ccsaba.pinter%40queensu.ca%7C54e2b19ee1d549caac9208d5d5d00ef8%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C1%7C636650011943213797&sdata=3JBvSKIjyIoUrMTTGmpxyhI7kotZmSrZGWpn3XS7c10%3D&reserved=0
More information about the vtkusers
mailing list