View Issue Details

IDProjectCategoryView StatusLast Update
0000944SkyChart1-Softwarepublic17-10-21 20:28
ReporterMattia Verga Assigned ToPatrick Chevalley  
PrioritynormalSeverityfeatureReproducibilityN/A
Status acknowledgedResolutionopen 
PlatformAllOSAllOS VersionAll
Product Version3.5 SVN 
Target Version4.4 
Summary0000944: OpenGL charts
DescriptionNow that Skychart has the "anti-alias" feature, maybe OpenGL can be used to take advantage of GPU and get better refresh rates.

I saw that Freepascal and Lazarus have their OpenGL implementations, but I don't know: 1. If it's really possible; 2. How hard and how much work need such change; 3. If it can lead to losing precision on displaying objects in chart.

If you think this is a stupid/impossible feature request close it freely ;-)
TagsNo tags attached.

Relationships

related to 0001412 assignedPatrick Chevalley Open GL is not supported by all manufactures. 

Activities

Patrick Chevalley

12-02-05 11:17

administrator   ~0001936

This is not a bad idea and I already think about.

The program is structured to allow such a change and to maintain different version with different graphic engine in an easy way.
The unit to replace is cu_plot.pas and also change a few assumptions in cu_skychart that implies the drawing surface is a canvas.

There will be no loss in precision if this is done carefully.

But I think it is necessary to keep the bitmap version because OpenGL will improve the performance on the computer with a good graphic card but this can be a real pain on the low end ones.


Patrick Chevalley

15-04-01 10:52

administrator   ~0003003

I start to work on this subject but this is not usable for this version, will try for the next one.

Patrick Chevalley

16-01-27 09:00

administrator   ~0003225

At the moment I use the graphic library bgrabitmap that is similar to GR32. http://wiki.freepascal.org/BGRABitmap

I agree that code cleanup is necessary in cu_plot.pas because at moment the vector and raster drawing is done in this same unit and this make it very confusing.

Issue History

Date Modified Username Field Change
12-02-05 10:44 Mattia Verga New Issue
12-02-05 11:17 Patrick Chevalley Note Added: 0001936
12-02-05 11:17 Patrick Chevalley Status new => acknowledged
12-02-05 11:17 Patrick Chevalley Target Version 0.3.0 => 5.0
13-11-04 18:21 Patrick Chevalley Assigned To => Patrick Chevalley
13-11-04 18:21 Patrick Chevalley Target Version 5.0 => 4.0
15-04-01 10:52 Patrick Chevalley Note Added: 0003003
15-04-01 10:52 Patrick Chevalley Target Version 4.0 => 4.2
15-08-28 09:09 Patrick Chevalley Relationship added related to 0001412
16-01-27 09:00 Patrick Chevalley Note Added: 0003225
17-10-21 20:28 Patrick Chevalley Target Version 4.2 => 4.4