Auuuuggggghhhhh!!!!

The place to discuss creating, porting and modifying Celestia's source code.
Topic author
WildMoon
Posts: 217
Joined: 07.09.2005
With us: 19 years 2 months
Location: Everywhere, anywhere & nowhere, always and never.
Contact:

Auuuuggggghhhhh!!!!

Post #1by WildMoon » 12.09.2005, 02:45

:evil: Arrrrrrrggggghhhhh Celestia is not drawing my solar system right!!! :evil:

Code: Select all

# Data for our solar system.

"Astronomica" "ALP Portal"
{
   Texture "Browndwarf.jpg"
   NightTexture "gasgiantnight.jpg"
   Radius 2440

   EllipticalOrbit {
   Period            0.2408
   SemiMajorAxis     0.3871
   Eccentricity      0.2056
   Inclination       7.0049
   AscendingNode    48.33167
   LongOfPericenter 77.456
        MeanLongitude   252.251
   }

   RotationPeriod    1.
   Obliquity         7.01
   EquatorAscendingNode 48.42
   RotationOffset    1.

   Albedo            1.00
}


"Ptolemy" "ALP Portal"
{
   Texture "callisto.jpg"
   Radius 6052

   }

   EllipticalOrbit {
      Period            0.6152
      SemiMajorAxis     0.7233
      Eccentricity      0.0068
      Inclination       3.3947
      AscendingNode     76.681
      LongOfPericenter 131.533
           MeanLongitude    181.979
   }

   RotationPeriod  5832.479839
   Obliquity       178.78
   EquatorAscendingNode 300.22
   RotationOffset       137.45

   Albedo            0.77
}


Please tell me if there's anything wrong here to prevent Celestia from drawing Ptolemy and what I can do to make Astronomica to be closer to the star. :evil: Also, how do you get the greek letter alpha to appear in the star's name? :?: :?: :?:

NOTE: If you're wondering why the crud my star's name is Alpha Portal, let's just say that a comic I like to draw for my friends is called "The Portal". 8)
Pi does not equal 3.14159265, it equals "yum!"

A world without Monty Python, gnomes, news crews that make a big deal out of a celebrity breathing, Star Trek, & Coca-Cola? That is impossible! IMPOSSIBLE!

Topic author
WildMoon
Posts: 217
Joined: 07.09.2005
With us: 19 years 2 months
Location: Everywhere, anywhere & nowhere, always and never.
Contact:

Goodnight

Post #2by WildMoon » 12.09.2005, 02:58

OK, time for bed then I'll wake up and goto school (darn). Hopefully someone will have a solution when I come home. 8)
Pi does not equal 3.14159265, it equals "yum!"



A world without Monty Python, gnomes, news crews that make a big deal out of a celebrity breathing, Star Trek, & Coca-Cola? That is impossible! IMPOSSIBLE!

Michael Kilderry
Posts: 499
Joined: 11.10.2004
With us: 20 years 1 month
Location: London, UK

Post #3by Michael Kilderry » 12.09.2005, 06:58

To get planet Ptolemy to work, try getting rid of the "{" in between the Radius and EllipticalOrbit parameters.

To make Astronomica closer to it's star, change the number to the right of "SemiMajorAxis" from 0.3871 to something lower, like 0.2871.

Does this help?
My shatters.net posting milestones:

First post - 11th October 2004
100th post - 11th November 2004
200th post - 23rd January 2005
300th post - 21st February 2005
400th post - 23rd July 2005

First addon: The Lera Solar System

- Michael

Topic author
WildMoon
Posts: 217
Joined: 07.09.2005
With us: 19 years 2 months
Location: Everywhere, anywhere & nowhere, always and never.
Contact:

Post #4by WildMoon » 12.09.2005, 21:43

Okay, home from schoool, made some changes, I'll try it now.
Pi does not equal 3.14159265, it equals "yum!"



A world without Monty Python, gnomes, news crews that make a big deal out of a celebrity breathing, Star Trek, & Coca-Cola? That is impossible! IMPOSSIBLE!

Topic author
WildMoon
Posts: 217
Joined: 07.09.2005
With us: 19 years 2 months
Location: Everywhere, anywhere & nowhere, always and never.
Contact:

Post #5by WildMoon » 13.09.2005, 00:13

It works! Well, ok, the planet after Ptolemy (Copernicus) won't show but I'll probably figure it out. Thanks for helping me get Ptolemy and it's moon geo to appear!

While observing Ptolemy, I discovered that it's moon seemed to always stay in the middle of the sunlight reaching Ptolemy. In other words if you were to stand on Ptolemy in the center of where the sun shines, the sun would not shine (you'd be in the shadow of Geo!)

In case I'm not making any sense (wouldn't blame, I can't figure how to word it right) then here's the code:

Code: Select all

"Ptolemy" "ALP Portal"
{
   Texture "callisto.jpg"
   Radius 3141.59265

   EllipticalOrbit {
      Period            0.6152
      SemiMajorAxis     0.314159265
      Eccentricity      0.0068
      Inclination       3.3947
      AscendingNode     76.681
      LongOfPericenter 131.533
           MeanLongitude    181.979
   }

   RotationPeriod    3.14159265
   Obliquity       178.78
   EquatorAscendingNode 300.22
   RotationOffset         0.

   Albedo            0.77
}

"Geo" "ALP Portal/Ptolemy"
{
   Texture "marsbump.jpg"
   Radius   314.
   # Oblateness 0.002

   EllipticalOrbit {
      Period          10.
      SemiMajorAxis    100000
      Eccentricity     0.054900
      Inclination      5.15
   }

   RotationPeriod      50.
   Obliquity      23.45 # mean axis
   EquatorAscendingNode    0.0  # mean axis
   RotationOffset       38

   Albedo           0.05
}



Try this on some star to see what I mean.

Meanwhile I will go back to working on my star.
Pi does not equal 3.14159265, it equals "yum!"



A world without Monty Python, gnomes, news crews that make a big deal out of a celebrity breathing, Star Trek, & Coca-Cola? That is impossible! IMPOSSIBLE!

Topic author
WildMoon
Posts: 217
Joined: 07.09.2005
With us: 19 years 2 months
Location: Everywhere, anywhere & nowhere, always and never.
Contact:

Post #6by WildMoon » 13.09.2005, 00:39

:evil: I cannot seem to find out what's wrong with Copernicus and Helio dangit!!!

Code: Select all

"Copernicus" "ALP Portal"
{
   Texture "Planet (Water=50%, Land=50%)"
   NightTexture "earthnight.*"
   
   # SpecularTexture "earth-spec.*"
   Color [ 0.85 0.85 1.0 ]
   SpecularColor [ 0.5 0.5 0.55 ]
   SpecularPower 25.0
   HazeColor [ 1 1 1 ]
   HazeDensity 0.3
   Radius 6378.140  # equatorial
   # Oblateness 0.0034

   Atmosphere {
      Height 60
      Lower [ 0.43 0.52 0.65 ]
      Upper [ 0.26 0.47 0.84 ]
      Sky [ 0.40 0.6 1.0 ]
      Sunset [ 1.0 0.6 0.2 ]
      Sunset [ 0.3 1.0 0.5 ]
      CloudHeight 7
      CloudSpeed 65
      CloudMap "earth-clouds.*"

   EllipticalOrbit {   
      Period            1.0000
      SemiMajorAxis     0.7926
      Eccentricity      0.0167
      Inclination       0.0001
      AscendingNode   348.739
      LongOfPericenter 102.947
           MeanLongitude   100.464

   RotationPeriod   24. # 23.93419
   Obliquity        -23.45
   RotationOffset   0.    # offset at default epoch J2000

   Albedo            0.30
}

"Helio" "ALP Portal/Copernicus"
{
   Texture "Planet (Water=70%, Trees=20%, Mountains=10%).jpg"
   Radius   1737.53
   # Oblateness 0.002

   EllipticalOrbit {
      Period           0.50
      SemiMajorAxis    384400
      Eccentricity     0.054900
      Inclination      5.15
   }

   RotationPeriod      24.   
   Obliquity      23.45 # mean axis
   EquatorAscendingNode    0.0  # mean axis
   RotationOffset       38

   Albedo           0.25
}


Any help?
Pi does not equal 3.14159265, it equals "yum!"



A world without Monty Python, gnomes, news crews that make a big deal out of a celebrity breathing, Star Trek, & Coca-Cola? That is impossible! IMPOSSIBLE!

jestr
Posts: 612
Joined: 14.09.2003
With us: 21 years 2 months
Location: Bridgwater,UK

Post #7by jestr » 13.09.2005, 01:40

Hi Wildmoon,in the definition for Copernicus,you need to add a } after the atmosphere and before the EllipticalOrbit line,so it reads

Code: Select all

"Copernicus" "ALP Portal"
{
   Texture "Planet (Water=50%, Land=50%)"
   NightTexture "earthnight.*"
   
   # SpecularTexture "earth-spec.*"
   Color [ 0.85 0.85 1.0 ]
   SpecularColor [ 0.5 0.5 0.55 ]
   SpecularPower 25.0
   HazeColor [ 1 1 1 ]
   HazeDensity 0.3
   Radius 6378.140  # equatorial
   # Oblateness 0.0034

   Atmosphere {
      Height 60
      Lower [ 0.43 0.52 0.65 ]
      Upper [ 0.26 0.47 0.84 ]
      Sky [ 0.40 0.6 1.0 ]
      Sunset [ 1.0 0.6 0.2 ]
      Sunset [ 0.3 1.0 0.5 ]
      CloudHeight 7
      CloudSpeed 65
      CloudMap "earth-clouds.*"
     }

   EllipticalOrbit {   
      Period            1.0000
      SemiMajorAxis     0.7926
      Eccentricity      0.0167
      Inclination       0.0001
      AscendingNode   348.739
      LongOfPericenter 102.947
           MeanLongitude   100.464

   RotationPeriod   24. # 23.93419
   Obliquity        -23.45
   RotationOffset   0.    # offset at default epoch J2000

   Albedo            0.30
}

"Helio" "ALP Portal/Copernicus"
{
   Texture "Planet (Water=70%, Trees=20%, Mountains=10%).jpg"
   Radius   1737.53
   # Oblateness 0.002

   EllipticalOrbit {
      Period           0.50
      SemiMajorAxis    384400
      Eccentricity     0.054900
      Inclination      5.15
   }

   RotationPeriod      24.   
   Obliquity      23.45 # mean axis
   EquatorAscendingNode    0.0  # mean axis
   RotationOffset       38

   Albedo           0.25
}


Hope this helps,Jestr

Topic author
WildMoon
Posts: 217
Joined: 07.09.2005
With us: 19 years 2 months
Location: Everywhere, anywhere & nowhere, always and never.
Contact:

Post #8by WildMoon » 13.09.2005, 01:47

DOOOOOOOH!!!

Dang, once again I failed to notice something about the { & } things. :oops:

Ok, I'll try.
Pi does not equal 3.14159265, it equals "yum!"



A world without Monty Python, gnomes, news crews that make a big deal out of a celebrity breathing, Star Trek, & Coca-Cola? That is impossible! IMPOSSIBLE!

Topic author
WildMoon
Posts: 217
Joined: 07.09.2005
With us: 19 years 2 months
Location: Everywhere, anywhere & nowhere, always and never.
Contact:

Post #9by WildMoon » 14.09.2005, 21:14

Can planet textures be slightly smaller than usual? I drew two textures for Copernicus and Helio but they won't show and I've noticed that they're barely smaller than the other textures.
Pi does not equal 3.14159265, it equals "yum!"



A world without Monty Python, gnomes, news crews that make a big deal out of a celebrity breathing, Star Trek, & Coca-Cola? That is impossible! IMPOSSIBLE!

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 2 months
Location: NY, USA

Post #10by selden » 14.09.2005, 21:18

They have to be a power-of-2 on a side:
1024x512, 128x128, etc.

"Barely smaller" won't work.
Selden

Topic author
WildMoon
Posts: 217
Joined: 07.09.2005
With us: 19 years 2 months
Location: Everywhere, anywhere & nowhere, always and never.
Contact:

Post #11by WildMoon » 14.09.2005, 21:54

Thanks 8)
Pi does not equal 3.14159265, it equals "yum!"



A world without Monty Python, gnomes, news crews that make a big deal out of a celebrity breathing, Star Trek, & Coca-Cola? That is impossible! IMPOSSIBLE!

Topic author
WildMoon
Posts: 217
Joined: 07.09.2005
With us: 19 years 2 months
Location: Everywhere, anywhere & nowhere, always and never.
Contact:

Post #12by WildMoon » 15.09.2005, 01:36

Noooooooo!!! My textures for Copernicus and Helio won't show up!!! They're exactly the same size as the other textures so why won't they work?!?!?!

Code: Select all

"Copernicus" "ALP Portal"
{
   Texture "Planet Class M #1.jpg"
   NightTexture "NightMap Planet Class M #1.jpg"
   
   # SpecularTexture "earth-spec.*"
   Color [ 0.85 0.85 1.0 ]
   SpecularColor [ 0.5 0.5 0.55 ]
   SpecularPower 25.0
   HazeColor [ 1 1 1 ]
   HazeDensity 0.3
   Radius 6378.140  # equatorial
   # Oblateness 0.0034

   Atmosphere {
      Height 60
      Lower [ 0.43 0.52 0.65 ]
      Upper [ 0.26 0.47 0.84 ]
      Sky [ 0.40 0.6 1.0 ]
      Sunset [ 1.0 0.6 0.2 ]
      Sunset [ 0.3 1.0 0.5 ]
      CloudHeight 7
      CloudSpeed 65
      CloudMap "earth-clouds.*"
   }

   EllipticalOrbit {   
      Period            1.0000
      SemiMajorAxis     0.7926
      Eccentricity      0.0167
      Inclination       0.0001
      AscendingNode   348.739
      LongOfPericenter 102.947
           MeanLongitude   100.464
   }

   RotationPeriod   24. # 23.93419
   Obliquity        -23.45
   RotationOffset   0.    # offset at default epoch J2000

   Albedo            0.30
}

"Helio" "ALP Portal/Copernicus"
{
   Texture "Planet Class M #2.jpg"
   NightTexture "NightMap Planet Class M #2.jpg"
   Radius   1737.53
   # Oblateness 0.002

   EllipticalOrbit {
      Period           0.50
      SemiMajorAxis    384400
      Eccentricity     0.054900
      Inclination      5.15
   }

   RotationPeriod      24.   
   Obliquity      23.45 # mean axis
   EquatorAscendingNode    0.0  # mean axis
   RotationOffset       38

   Albedo           0.25
}


In my next post I will display the four images for the planet and moon.
Pi does not equal 3.14159265, it equals "yum!"



A world without Monty Python, gnomes, news crews that make a big deal out of a celebrity breathing, Star Trek, & Coca-Cola? That is impossible! IMPOSSIBLE!

Topic author
WildMoon
Posts: 217
Joined: 07.09.2005
With us: 19 years 2 months
Location: Everywhere, anywhere & nowhere, always and never.
Contact:

Post #13by WildMoon » 15.09.2005, 01:45

Oh and please don't try to make the solar system I'm making. 8) Since I'm still working on it (haven't given up yet, dang I'm stubborn sometimes) and also this solar system is cursed. :evil:

[img]E:\Program%20Files\Celestia\textures\medres\Planet%20Class%20M%20#1[/img]
[img]E:\Program%20Files\Celestia\textures\medres\NightMap%20Planet%20Class%20M%20#1[/img]
[img]E:\Program%20Files\Celestia\textures\medres\Planet%20Class%20M%20#2[/img]
[img]E:\Program%20Files\Celestia\textures\medres\NightMap%20Planet%20Class%20M%20#2[/img]

EDIT: Arrrrrrrrgggghgghhghghgghghgh!!! Why won't it show my images?!?!?! Blast this thing!!! :evil:
Last edited by WildMoon on 15.09.2005, 20:51, edited 1 time in total.
Pi does not equal 3.14159265, it equals "yum!"



A world without Monty Python, gnomes, news crews that make a big deal out of a celebrity breathing, Star Trek, & Coca-Cola? That is impossible! IMPOSSIBLE!

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 2 months
Location: NY, USA

Post #14by selden » 15.09.2005, 10:19

Eliminate the spaces in the file names. They're string terminators. Use hyphens (-) or underscores(_) instead.

Also, leave out the cross-hatches (#). They have a special meaning in URLs: they're separators between filenames and labels within the files.

In general, it's best to use only letters and numbers in filenames. Windows lets you get away with all sorts of characters in filenames that always have been illegal in most circumstances.
Selden

buggs_moran
Posts: 835
Joined: 27.09.2004
With us: 20 years 2 months
Location: Massachusetts, USA

Post #15by buggs_moran » 15.09.2005, 13:23

Your post will not show images stored on your home computer. You need to upload the to a free hosting site for images and make a link to them there. Try imageshack.us or flickr.com.
Homebrew:
WinXP Pro SP2
Asus A7N8X-E Deluxe
AMD Athlon XP 3000/333 2.16 GHz
1 GB Crucial RAM
80 GB WD SATA drive
ATI AIW 9600XT 128M

Topic author
WildMoon
Posts: 217
Joined: 07.09.2005
With us: 19 years 2 months
Location: Everywhere, anywhere & nowhere, always and never.
Contact:

Post #16by WildMoon » 15.09.2005, 21:03

I'm gonna try this now.
Pi does not equal 3.14159265, it equals "yum!"



A world without Monty Python, gnomes, news crews that make a big deal out of a celebrity breathing, Star Trek, & Coca-Cola? That is impossible! IMPOSSIBLE!

Topic author
WildMoon
Posts: 217
Joined: 07.09.2005
With us: 19 years 2 months
Location: Everywhere, anywhere & nowhere, always and never.
Contact:

Post #17by WildMoon » 15.09.2005, 23:21

http://img17.imageshack.us/my.php?image ... sm11gc.jpg
http://img17.imageshack.us/my.php?image ... sm16qq.jpg
http://img17.imageshack.us/my.php?image ... sm21it.jpg
http://img17.imageshack.us/my.php?image ... sm24wh.jpg

It still won't work when I changed the file names so here they are as pictures.

EDIT: :evil: Either Celestia hates me for some reason, or I'm very unlucky. :lol: :evil:
Last edited by WildMoon on 16.09.2005, 01:02, edited 1 time in total.
Pi does not equal 3.14159265, it equals "yum!"



A world without Monty Python, gnomes, news crews that make a big deal out of a celebrity breathing, Star Trek, & Coca-Cola? That is impossible! IMPOSSIBLE!

BrainDead
Posts: 238
Joined: 27.08.2005
With us: 19 years 3 months
Location: Germantown, OH

Post #18by BrainDead » 15.09.2005, 23:50

EDIT: :evil: Either Celestia hates me for some reason, or I'm very unlucky. :lol: :evil:

Wildmoon,

I think that you've gotten the source screwed up on the image shack web site.
You can copy the url's you've listed above into your browser, and you can
get to the images there via the url. When I looked at the coding which describes
the images on the image shack site itself, however, you have [img] tags
interspersed within the urls at image shack. Perhaps a little more careful
investigation of the way you submitted the images to image shack is in
order?

Just a thought... I could NOT get your images to display here in test messages
either, so it isn't the code you're using in your posts. It's the coding
you have associated with the images on image shack itself.

Does this make any sense?
Brain-Dead Bob

Windows XP-SP2, 256Meg 1024x768 Resolution
Intel Celeron 1400 MHz CPU
Intel 82815 Graphics Controller
OpenGL Version: 1.1.2 - Build 4.13.01.3196
Celestia 1.4.1

Topic author
WildMoon
Posts: 217
Joined: 07.09.2005
With us: 19 years 2 months
Location: Everywhere, anywhere & nowhere, always and never.
Contact:

Post #19by WildMoon » 16.09.2005, 01:03

Fixed!

Ok, so how do I make these textures show on Copernicus and Helio? (.ssc file text on page 1)
Pi does not equal 3.14159265, it equals "yum!"



A world without Monty Python, gnomes, news crews that make a big deal out of a celebrity breathing, Star Trek, & Coca-Cola? That is impossible! IMPOSSIBLE!

Fightspit
Posts: 510
Joined: 15.05.2005
With us: 19 years 6 months

Post #20by Fightspit » 16.09.2005, 19:32

Image
Image
Image
Image

:wink: 8)
Motherboard: Intel D975XBX2
Processor: Intel Core2 E6700 @ 3Ghz
Ram: Corsair 2 x 1GB DDR2 PC6400
Video Card: Nvidia GeForce 8800 GTX 768MB GDDR3 384 bits PCI-Express 16x
HDD: Western Digital Raptor 150GB 10000 rpm
OS: Windows Vista Business 32 bits


Return to “Development”