View Issue Details

IDProjectCategoryView StatusLast Update
0001901FreeCADFeaturepublic2017-09-14 13:44
Reportertriplus Assigned Toickby  
PrioritynormalSeverityminorReproducibilityalways
Status assignedResolutionopen 
PlatformLinuxOSUbuntuOS Version14.04
Summary0001901: Add MSAA 6x option
DescriptionOlder graphic hardware (Radeon R300g) supports up to MSAA 6x and having the possibility to select MSAA 6x under preferences would be great.

Side note: adding information to preferences GUI FreeCAD restart is needed when changing Anti-Aliasing mode probably wouldn’t hurt.
Additional InformationOn Linux it is possible to force MSAA 6x mode for mentioned hardware like this:

export GALLIUM_MSAA=6
freecad
TagsNo tags attached.
FreeCAD Information

Activities

ickby

2015-01-08 06:49

developer   ~0005583

Adding MSAA6x should be not a big issue, however, it may be a good idea to check which option is available in the hardware and only present those. I would need to investigate this.

The restart thing is only in current development version, 0.14 stable changes the AntiAliasing without restart. I have a few ideas how to change that, but that needs investigating.

I will takle both issues when my UI work is done, that may take a while

wmayer

2015-01-08 10:46

administrator   ~0005589

ickby I hope you don't mind if I assign it to you then.

ickby

2015-01-08 12:50

developer   ~0005596

no, actually I wanted to do this too, somehow forgot that :)

triplus

2015-01-08 18:29

developer   ~0005600

If some (standard) way of checking hardware/driver available MSAA modes exist it for sure would be great for FreeCAD to only show available modes. For example as mentioned hardware does not support MSAA 8x setting this option produces the same result as if mode none was selected. No "radeon: Acquired access to AA optimizations." is printed to stdout.

User could get confused thinking MSAA does not work at all or thinking it might be FreeCAD bug. In reality hardware does not support MSAA 8x but MSAA modes up to 6x works just fine.

If there is no (standard) way of checking hardware/driver available MSAA modes exist i am guessing having 2x, 4x, (6x) and 8x will still work for majority of FreeCAD users just fine and don't spend to much time on this.

Changing Anti-Aliasing mode without restarting FreeCAD again that would be great and that should be priority when you decide to work on this again.

Cheers.

wmayer

2017-09-14 13:44

administrator   ~0010125

http://blog.qt.io/blog/2015/09/21/using-modern-opengl-es-features-with-qopenglframebufferobject-in-qt-5-6/
https://stackoverflow.com/questions/24738638/how-to-determine-the-maximum-number-of-supported-multisample-samples
https://docs.blender.org/manual/ja/dev/preferences/system.html

Issue History

Date Modified Username Field Change
2015-01-06 19:42 triplus New Issue
2015-01-08 06:49 ickby Note Added: 0005583
2015-01-08 10:45 wmayer Assigned To => ickby
2015-01-08 10:45 wmayer Status new => assigned
2015-01-08 10:46 wmayer Note Added: 0005589
2015-01-08 12:50 ickby Note Added: 0005596
2015-01-08 18:29 triplus Note Added: 0005600
2017-09-14 13:44 wmayer Note Added: 0010125