MantisBT - VTK
View Issue Details
0008782VTK(No Category)public2009-03-23 15:562016-08-12 09:55
François Bertel 
Kitware Robot 
lowfeatureN/A
closedmoved 
 
 
0008782: Add multisampling to win32 and cocoa render windows
Right now only X and carbon render windows take the MultiSamples ivar into account. Win32 and Cocoa don't, probably for historical reasons.

Win32 and Cocoa should be fixed.
antialiasing
related to 0010863closed Kitware Robot ParaView Add option to explicitly enable MultiSamples in ParaView 
zip vtkWin32OpenGLRenderWindowMultisampled.zip (5,484) 2009-10-08 13:18
https://www.vtk.org/Bug/file/7544/vtkWin32OpenGLRenderWindowMultisampled.zip
Issue History
2009-03-23 15:56François BertelNew Issue
2009-03-23 16:01François BertelTag Attached: antialiasing
2009-03-24 15:22François BertelStatusbacklog => tabled
2009-03-24 15:22François BertelAssigned To => François Bertel
2009-10-08 13:18Tagir BakirovNote Added: 0018033
2009-10-08 13:18Tagir BakirovFile Added: vtkWin32OpenGLRenderWindowMultisampled.zip
2009-10-08 13:23Tagir BakirovNote Edited: 0018033
2010-06-22 11:47François BertelRelationship addedrelated to 0010863
2010-09-07 13:44François BertelAssigned ToFrançois Bertel =>
2011-06-16 13:11Zack GalbreathCategory => (No Category)
2016-08-12 09:55Kitware RobotNote Added: 0037066
2016-08-12 09:55Kitware RobotStatusexpired => closed
2016-08-12 09:55Kitware RobotResolutionopen => moved
2016-08-12 09:55Kitware RobotAssigned To => Kitware Robot

Notes
(0018033)
Tagir Bakirov   
2009-10-08 13:18   
(edited on: 2009-10-08 13:23)
We are now using VTK in our own Win32-based project for the purposes of data visualization. To make it more eye-candy we tried turning on the multisampling in "vtkWin32OpenGLRenderWindow", but it didn't work due to the obvious reasons described above.

Thus I implemented a multisampling technique in a class I called "vtkWin32OpenGLRenderWindowMultisampled" by making it a direct descendant of "vtkWin32OpenGLRenderWindow" and modifying a couple of inherited methods there.

The technique itself is loosely based on a tutorial from NeHe Productions ( http://nehe.gamedev.net/data/lessons/lesson.asp?lesson=46 [^] ) and uses some Win32-specific GDI calls and some other OpenGL-related stuff found on the Internet.

The solution in general tends to be "quick and dirty", but has been positively tested on a set of machines with different video hardware under different Windows versions (including WinXP 32-bit, WinXP 64-bit, Win7 64-bit).

I hope the code will help to implement this nice feature and make VTK better and more popular in Windows environment. Believe me, hardware-accelerated multisampling is a thing!

(0037066)
Kitware Robot   
2016-08-12 09:55   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current VTK Issues page linked in the banner at the top of this page.