View Issue Details

IDProjectCategoryView StatusLast Update
0000031SkyChart1-Softwarepublic08-09-18 08:02
ReporterSasa Assigned ToPatrick Chevalley  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionnot fixable 
Platformx86OSWindowsOS Version2000
Product Version3.0.1.1 SVN 
Summary0000031: Crash on planet rendering
DescriptionWhen planet is zoomed enough to be rendered, CDC simply crash.
Steps To Reproduce1. Install CDC 3.0.0.8 to C:\CDC ("My Documents\Cartes du Ciel" directory do not exists)
3. Create CDC exectable (latest SVN revision of FPC and Lazarus) and copy to CDC directory
4. Start CDC 3.0.1.1 SVN
5. Go to "Solar System -> Planets"
6. Set "Realistic image"
7. Set date and time to 2006-03-28 11:12 UTC
8. Find Mars or Sun
9. Try to zoom once - Error dialog
10. Start CDC 3.0.0.8 - rendering Sun and Moon is successful
TagsNo tags attached.

Relationships

related to 0000041 closed Rendering planets suggestion 

Activities

Sasa

06-03-29 23:53

reporter   ~0000063

Last edited: 06-03-30 10:05

Correction. It is Solar eclipse day:

Date: 2006-03-29 11:12 UTC
Objects: Sun or Moon (not Mars)

On other objects (Mars or Juptier for instace) rendering bug is present as well.

Probably problem is changing calling convention for rendering library from 3.0.0.8.

Patrick Chevalley

06-03-30 20:53

administrator   ~0000067

There is a new library to plot the planet with 3.0.1.0, the previous library is not compatible.
The new libFPlanetRender.dll need to be compiled with Delphi and GLscene. The Lazarus GLscene do not work at the moment.
The calling convention is the same (stdcall) but the parameter list change.

The reason of the change is an incompatibility between Delphi and Lazarus for in memory bitmap. A pointer to a bitmap created by Delphi is not recognized as a bitmap by Lazarus.
Any idea to solve this problem or to compile with Lazarus is welcome.

Issue History

Date Modified Username Field Change
06-03-29 23:35 Sasa New Issue
06-03-29 23:53 Sasa Note Added: 0000063
06-03-30 10:04 Sasa Note Edited: 0000063
06-03-30 10:05 Sasa Note Edited: 0000063
06-03-30 20:53 Patrick Chevalley Status new => resolved
06-03-30 20:53 Patrick Chevalley Resolution open => not fixable
06-03-30 20:53 Patrick Chevalley Assigned To => Patrick Chevalley
06-03-30 20:53 Patrick Chevalley Note Added: 0000067
06-04-02 18:16 Patrick Chevalley Relationship added related to 0000041
08-09-18 08:02 Patrick Chevalley Status resolved => closed