View Issue Details

IDProjectCategoryView StatusLast Update
0002089FreeCADFeaturepublic2015-12-15 13:18
Reportertriplus Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionno change required 
PlatformLinuxOSUbuntuOS Version14.04
Fixed in Version0.16 
Summary0002089: Use Quarter for Save picture... tool
DescriptionWe already can use Quarter for 3D view:

http://forum.freecadweb.org/viewtopic.php?f=10&t=6538#p52743

It would be nice if Save picture... tool would use it in the future. I fund this example:

https://groups.google.com/forum/#!topic/coin3d-discuss/EHEh5KyoaX4

It looks like example describes how to get what we want inside QImage:

https://github.com/FreeCAD/FreeCAD_sf_master/blob/0a4b08fcb65624b3abc726faac6c4b89fdc3b21b/src/Gui/View3DPy.cpp#L705

Hopefully somebody will be able to connect the dots in the future and implement this support. Thinking out loud if this would get implemented would Thumbnail image saved inside .fcstd file use Quarter or not.

Cheers!
TagsNo tags attached.
FreeCAD Information

Activities

wmayer

2015-05-03 20:57

administrator   ~0006118

1. This implementation has absolutely nothing to do with quarter. Or do you see a call of a quarter class there? This implementation adds anti-aliasing support which is not possible with Coin's implementation of SoOffscreenRenderer

2. This implementation is already part of FreeCAD: https://github.com/FreeCAD/FreeCAD_sf_master/commit/730ad0fbeaa2dba6f0056d4b992b0c976c2f8433

triplus

2015-05-03 21:29

developer   ~0006120

Yes i agree i didn't mention explicitly i was after multisample antialiasing for images. I mentioned Quarter as i believed that is what he used to achieve this.

"using a combination of a QGLPixelBuffer and a SoRenderManager (ala Quarter) instead of the SoOffscreenRenderer class."

Looks like i didn't connected the dots correctly. Anyway you say this is already implemented in FreeCAD therefore i am wondering can't Save picture... tool and created Thumbnail saved inside .fcstd file use this to produce antialiased images?

This is the purpose of this feature request to get the same antialiased result on screen and on produced images.

Cheers.

triplus

2015-05-03 21:59

developer   ~0006121

Last edited: 2015-05-03 22:09

Wow. Now i see you are absolutely correct and this feature is already implemented! Two things confused me. Save picture... tool as far as i can see has hard coded values and if you have different setting for 3D view in Preferences there is a chance slight difference will be made?

The main reason i thought this was not implemented is lately i was playing with Thumbnails inside .fcstd file and noticed they are not being antialiased and that lead me to wrong conclusions.

Anyway this feature request is already implemented (minus thumbnails) indeed and can be closed if applying antialiasing to thumbnails makes little sense to others! I thought antialiased thumbnails would be more of an "bonus feature" and the main objective to have antialiased images produced by Save picture... tool.

Cheers!

Issue History

Date Modified Username Field Change
2015-05-03 18:24 triplus New Issue
2015-05-03 20:57 wmayer Note Added: 0006118
2015-05-03 21:29 triplus Note Added: 0006120
2015-05-03 21:59 triplus Note Added: 0006121
2015-05-03 22:09 triplus Note Edited: 0006121
2015-05-09 20:32 wmayer Status new => closed
2015-05-09 20:32 wmayer Resolution open => no change required
2015-12-15 13:18 yorik Fixed in Version => 0.16