View Issue Details

IDProjectCategoryView StatusLast Update
0000041SkyChart1-Softwarepublic13-05-07 07:58
ReporterSasa Assigned To 
PrioritynormalSeverityfeatureReproducibilityalways
Status closedResolutionno change required 
Platformx86OSWindowsOS Version2000
Product Version3.0.1.1 SVN 
Summary0000041: Rendering planets suggestion
DescriptionRegarding issue #31.

In order to avoid incompatibility of Lazarus' TBitmap with Delphi's, as well as speed degradation saving result of rendering in the file, third-party class can be used instead. Perhaps TIFF is the most suitable regarding conversion speed.
TagsNo tags attached.

Relationships

related to 0000031 closedPatrick Chevalley Crash on planet rendering 

Activities

Sasa

06-04-02 07:50

reporter   ~0000079

Last edited: 06-04-02 08:46

The main problem regarding compatibility and speed performance is that Lazarus internaly do not use TBitmap. Export it raw or in specific standard format readable by Delphi or any other languge following library rules in this case is forced to be manually performed.

The far best solution regarding speed performance seems to be to avoid DLL and incorporate rendering code in the CDC, as a simple unit.

Patrick Chevalley

06-04-02 18:27

administrator   ~0000082

I consider the file as a temporary solution but this is not a real performance problem, it take 0.1 second to plot Jupiter all including.

My prefered way to solve this issue is to make GLscene RenderToBitmap working with Lazarus. This is probably possible on Windows by creating a bitmap using the win32 api.

It is not possible to avoid the DLL as long this not work with Lazarus on all the target platform.

Sasa

06-04-02 22:36

reporter   ~0000085

Last edited: 06-04-02 22:59

Yes, however performance degradation exists, especialy if background applications use HDD extensively. I frequently perfome this while using CDC, because nature of profession.

Another problem lie in algorithm of using library:

Please set 1 minute interval and click fast 10 times on increment time. The rendering time show 10 times larger value.

Please set on sun during Solar eclipse. Press one: the rendering time is around 3 second. Press 10 times and duratioin will be 30 seconds without rendering each time.

Can you please provide Lazarus translation of rendering library with simple using example (source only)? Suitable example exists with Delphi version.

Patrick Chevalley

13-05-07 07:58

administrator   ~0002528

Delphi lib is no more used, Xplanet make the planet render on all platform.

Issue History

Date Modified Username Field Change
06-04-02 06:39 Sasa New Issue
06-04-02 07:50 Sasa Note Added: 0000079
06-04-02 07:53 Sasa Note Edited: 0000079
06-04-02 08:22 Sasa Note Edited: 0000079
06-04-02 08:46 Sasa Note Edited: 0000079
06-04-02 18:16 Patrick Chevalley Relationship added related to 0000031
06-04-02 18:27 Patrick Chevalley Note Added: 0000082
06-04-02 18:27 Patrick Chevalley Status new => confirmed
06-04-02 22:36 Sasa Note Added: 0000085
06-04-02 22:38 Sasa Note Edited: 0000085
06-04-02 22:39 Sasa Note Edited: 0000085
06-04-02 22:59 Sasa Note Edited: 0000085
08-01-05 14:23 Patrick Chevalley Target Version 0.3.0 => Post 3.2
09-01-12 10:25 Patrick Chevalley Target Version Post 3.2 => 5.0
13-05-07 07:58 Patrick Chevalley Note Added: 0002528
13-05-07 07:58 Patrick Chevalley Status confirmed => closed
13-05-07 07:58 Patrick Chevalley Resolution open => no change required
13-05-07 07:58 Patrick Chevalley Target Version 5.0 => 0.3.0