adding a sky culture to nightshade

Asked by Zenpi314

I am trying to add a sky culture to the program. I have previously done so successfully in the latest version of stellarium.
The files in Nightshade are very similar and I thought I knew what to do, but am getting stuck.
I modified the constellationsart and description files. But I have no idea what the Makefile files are for and how to use them.
What do they do?
I put the images in a folder under textures/color-art and referenced to them in the constellationsart file under sky_cultures.
Some of the images are now showing up, but they do not use my image points and possibly HD stars because they are stretched differently.
I looked at the stellarium guide 0.8.1-1 but did not find an answer.
Sorry for my ignorance. A couple of nights messing with it will probably give me an answer too, but maybe someone can guide me in the right direction. Thanks for the help.
Arend van Werven

Question information

Language:
English Edit question
Status:
Solved
For:
Nightshade Legacy Edit question
Assignee:
No assignee Edit question
Solved by:
Zenpi314
Solved:
Last query:
Last reply:
Revision history for this message
Rob Spearman (rob-digitaliseducation) said :
#1

Ignore the makefiles, those are used for compiling and packaging the application only.

Are your texture image dimensions powers of 2? For example 128x128, 256x512, etc. This might affect the alignment coordinates. You will want to use 3 coordinate points that are far apart for the best alignment.

Revision history for this message
Zenpi314 (zenpi314) said :
#2

The images are in powers of 2. They are all working in Stellarium with proper alignment. It is something I'm doing wrong in NightShade.
Are the constellationsart and the other files identical in the two programs?

Revision history for this message
Rob Spearman (rob-digitaliseducation) said :
#3

The file format in Nightshade 9.12.2 is identical to Stellarium 0.8.2. So compare your files to those for a working sky culture in Nightshade.

The next release of Nightshade will better support newer Stellarium sky culture file formats.

Revision history for this message
Zenpi314 (zenpi314) said :
#4

I will try that. Thank you.

Revision history for this message
Zenpi314 (zenpi314) said :
#5

I found out that it is impossible for me to use rectangular images.
Portrait does not show up at all, landscape does show up but has the alignment with the stars all messed up.
It works properly when I turn the image into a square with multiples of 2.
I'm not sure if it is supposed to work like that or if it is a bug with windows 7.
Thanks for the help.
Arend

Revision history for this message
Zenpi314 (zenpi314) said :
#6

I meant to say that even though they where rectangular images, they were still powers of 2 (512 x 1024)
But that does not seem to work. It does not say anywhere that it should though, so my mistake.
I have used other programs where rectangular powers of 2 are allowed and made an assumption. Sorry.
Arend

Revision history for this message
Rob Spearman (rob-digitaliseducation) said :
#7

Thanks for the update. Support for rectangular textures is now committed and will be in the next release.