Adding photorealistic custom horizon to SNPP 7

    Follow

    *** Note: there are two files attached to this KB article (courtesy of Jim McIntosh) that can be used as examples for testing. ***

    Originally from ticket #21189.

    I still cannot find detailed instructions for adding a custom photorealistic horizon to SNPP 7. I had no problem with this in earlier versions. In April of last year (2014) soon after receiving SNPP 7 I had an online conversation with Keiron Smith about various bugs in the the application and at that time he said he would be writing instructions for adding custom photorealistic horizons soon, but I have heard nothing more and can find no up-to-date instructions for this - all the help files describe procedures for old versions of the software. I would REALLY like to do this. PLEASE help me on this issue.

    Jim McIntosh

    ************

    Hi Jim,

    Take the 2 attached files and drop them in here:

    /Users/<username>/Library/Application Support/Simulation Curriculum/Starry Night Prefs/Sky Data/Horizon Panoramas

    Then Open SN7 and go to Horizon Panoramas and choose your pano. It will take about 30 seconds to load the first time. Thats okay. Next time it will load faster.

    Please let me know what you think.

    Keiron Smith
    Starry Night & Sky Safari Software Support Team

    ************

    Hi Keiron,

    Many thanks! That seems to work, or rather it does after I edited in my old values for various parameters in the .txt file (such as fixing the N,S,E and W in SNPP so that they are actually on the panorama’s horizon rather than up in the air). I’ll check it out carefully in the morning when it is light and I can confirm that N, S, E and W in SNPP are where I know them to be on my surroundings outside!

    Are you going to tell us all how to do this? :-)))

    I’ve attached the corrected txt file so you can see how it ought to be.

    Kind regards
    Jim

    ************

    Thats great, Jim!

    Really all you need in order to do this again is the text file. In the text file is the following:

    // Pano name - you see this in menus, etc. This should be unique for each pano
    <SN_VALUE name="PanoName" value="Your_Pano_Name">
    <SN_VALUE name="ImageFileName" value="Your_Pano_Name.png">

    This is really the only code that must be edited in order to use a new pano.

    As you know, the text file and the panorama must have the same name. And placed in the same location here:

    /Users/<username>/Library/Application Support/Simulation Curriculum/Starry Night Prefs/Sky Data/Horizon Panoramas

    So, if you have another panorama please give it try. Just duplicate the "00_Earth_Wellington.txt" and then rename the file "Your_Pano_Name.txt" (make sure your new panorama matches in name). Then edited the text in this file (as discussed above). Add it to the folder.

    Tell me how it goes :)

    Keiron Smith
    Starry Night & Sky Safari Software Support Team

    ************

    Thanks for that Keiron. I don’t have another panorama to try at present but if and when I do I’ll follow your instructions.

    I dont understand the folder of DDS images - are they fragments of the full panorama? It seems they were generated from my panorama on the first loading - is that correct?

    Kind regards
    Jim

    ************

    You're right about the DDS folder. Starry Night 7 now streams/downloads panoramas. The process involves streaming the panorama in sections (as you've probably seen in use). The in-app panoramas are downloaded as .dds files.

    Now, in order to make a user-created panorama PNG readable Starry Night must first cut up the user created panorama PNG into .dds files.  This "cutting" of the PNG into .dds files happens automatically the first time a user loads their own panorama.  After loading the panorama one time the .dds files will be found in a DDS folder next to the original PNG.

    Please keep me updated on your experience with Starry Night 7. Your feedback is most welcome.

    And, thanks sooo much for all your patience.

    Keiron Smith
    Starry Night & Sky Safari Software Support Team

    Comments

    • Avatar
      Capt Tony

      Keiron, excellent write up. My question is. If after I placed my files into the C:\Users\TP_Quad\AppData\Local\Simulation Curriculum\Starry Night Prefs\Sky Data\Horizon Panoramas

      Loading SN7, and bringing up horizons doesn't display my Horizon

    • Avatar
      Keiron Smith

      Hi Capt,

      Please read this extensive write up here:

      https://support.simulationcurriculum.com/entries/69518920-How-to-add-your-own-photorealistic-custom-horizon-to-SN7

      And if you still have trouble please attach your panorama in a reply here and we'll have a look at it together.

    • Avatar
      Glenno C

      This and the other write up are great!  Thank you.

      Unfortunately, it's is not working for me with v7.5 on a Mac running the current OS (10.11.6).  I tried my own horizon and the downloadable Honolulu one.  SN7 doesn't show either as existing.  I placed the png and txt files in the Library/Application Support/Simulation Curriculum/Starry Night Prefs/Sky Data/Horizon Panoramas folder, then restarted SN7.

      Any help would be great. Thanks!

    • Avatar
      Norm

      Hi Keiron,
      I used the above examples:
      00_Earth_Wellington.txt (3 KB)
      00_Earth_Wellington.png (2 MB)
      in my SNpro7 and they worked! But if I use my .png photo which was a .psd file which worked in SN6plus, it doesn't work. So it seems that I can't take a .psd file and convert it to a .png. Why would this not work?
      Now I have to start from scratch.Luckily I saved my old Epson camera to take panoramic pictures.
      Thanks for all your help.
      Norm

    • Avatar
      Norm
      Edited by Norm