View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008782VTK(No Category)public2009-03-23 15:562016-08-12 09:55
ReporterFrançois Bertel 
Assigned ToKitware Robot 
PrioritylowSeverityfeatureReproducibilityN/A
StatusclosedResolutionmoved 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0008782: Add multisampling to win32 and cocoa render windows
DescriptionRight 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.
Tagsantialiasing
Project
Type
Attached Fileszip file icon vtkWin32OpenGLRenderWindowMultisampled.zip [^] (5,484 bytes) 2009-10-08 13:18

 Relationships
related to 0010863closedKitware Robot ParaView Add option to explicitly enable MultiSamples in ParaView 

  Notes
(0018033)
Tagir Bakirov (reporter)
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 (administrator)
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.

 Issue History
Date Modified Username Field Change
2009-03-23 15:56 François Bertel New Issue
2009-03-23 16:01 François Bertel Tag Attached: antialiasing
2009-03-24 15:22 François Bertel Status backlog => tabled
2009-03-24 15:22 François Bertel Assigned To => François Bertel
2009-10-08 13:18 Tagir Bakirov Note Added: 0018033
2009-10-08 13:18 Tagir Bakirov File Added: vtkWin32OpenGLRenderWindowMultisampled.zip
2009-10-08 13:23 Tagir Bakirov Note Edited: 0018033
2010-06-22 11:47 François Bertel Relationship added related to 0010863
2010-09-07 13:44 François Bertel Assigned To François Bertel =>
2011-06-16 13:11 Zack Galbreath Category => (No Category)
2016-08-12 09:55 Kitware Robot Note Added: 0037066
2016-08-12 09:55 Kitware Robot Status expired => closed
2016-08-12 09:55 Kitware Robot Resolution open => moved
2016-08-12 09:55 Kitware Robot Assigned To => Kitware Robot


Copyright © 2000 - 2018 MantisBT Team