Rings around stars

Post requests, images, descriptions and reports about work in progress here.
Topic author
ANDREA
Posts: 1543
Joined: 01.06.2002
With us: 22 years 10 months
Location: Rome, ITALY

Rings around stars

Post #1by ANDREA » 22.09.2004, 13:39

After publishing in Celestia Motherlode Creators my "TheOrrery-English .cel" file with all the needed stuff included, that you can find at :)

http://www.celestiamotherlode.net/creators/andrea/The-Orrery-English.zip

whose you can know something here :)

http://www.shatters.net/forum/viewtopic.php?p=42694#42694

now I would like to put something between Mars and Jupiter orbits, that could remember the Minor Planets Main Belt, and adding there only one asteroid (probably Ida with Dactyl), in order to show it. :wink:
My problem is that up to now, if I don't mistake, I have never seen rings around stars, so I don't know if this can be done or not and, if the answer is yes, how to do it. :oops:
Someone can give me information on the matter, please? 8O
Thanks a lot.
By

Andrea :D
"Something is always better than nothing!"
HP Omen 15-DC1040nl- Intel® Core i7 9750H, 2.6/4.5 GHz- 1TB PCIe NVMe M.2 SSD+ 1TB SATA 6 SSD- 32GB SDRAM DDR4 2666 MHz- Nvidia GeForce GTX 1660 Ti 6 GB-WIN 11 PRO

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

Post #2by selden » 22.09.2004, 13:57

One way to do it is to create a fake planet that's inside the sun and put rings around that planet.
Selden

Topic author
ANDREA
Posts: 1543
Joined: 01.06.2002
With us: 22 years 10 months
Location: Rome, ITALY

Post #3by ANDREA » 22.09.2004, 15:21

selden wrote:One way to do it is to create a fake planet that's inside the sun and put rings around that planet.

Selden, do you mean something like this? 8O

Code: Select all

"MPBelt" "Del Pav"
{
   Texture "neptune2.jpg"
      Radius 1000
      EllipticalOrbit
   {
         Period        0.001  # yr
        SemiMajorAxis  0.001 # au
         Eccentricity 0.01

   Rings {
      Inner   33000000
      Outer   36000000
      Texture "MPBelt.jpg"
      Color  [ 1.0 0.98 0.98 ]
   }
}


I think that the Inner-Outer values are wrong, because I don't see the ring. :cry:
And, if I remember correctly, the rings distance from a planet is in Km, while the planets distance from the star is in AU. 8)
So I converted the 0.22-0.24 width of the ring (because halfway between Mars and Jupiter, that have

Code: Select all

Mars" "Del Pav"
   SemiMajorAxis     0.2000

"Jupiter" "Del Pav"
   SemiMajorAxis     0.2500


multiplying by 150,000,000 Km, and applied the 33 and 36 million Km distance for the ring, but it doesn't work. :cry:
Moreover, MPBelt doen't appear as planet in the Solar System Browser. :cry:
Where am I making mistakes? :oops:
Thanks a lot for your kindness, Selden.

Andrea :D
"Something is always better than nothing!"
HP Omen 15-DC1040nl- Intel® Core i7 9750H, 2.6/4.5 GHz- 1TB PCIe NVMe M.2 SSD+ 1TB SATA 6 SSD- 32GB SDRAM DDR4 2666 MHz- Nvidia GeForce GTX 1660 Ti 6 GB-WIN 11 PRO

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

Post #4by selden » 22.09.2004, 15:39

Andrea,

I'm sorry to say that, as best I can tell, Celestia will not draw rings if you are "too far" from the central body :( In otherwords, sometimes the rings are visible and sometimes they are not, depending on how distant you are from the sun.

However, you might want to consider using one of my "graticule" models with a different picture -- one that looks like rings of asteroids instead of a gridwork.


See http://www.lepp.cornell.edu/~seb/celestia/graticules.html#2
Selden

Topic author
ANDREA
Posts: 1543
Joined: 01.06.2002
With us: 22 years 10 months
Location: Rome, ITALY

Post #5by ANDREA » 22.09.2004, 15:55

selden wrote:Andrea,
However, you might want to consider using one of my "graticule" models with a different picture -- one that looks like rings of asteroids instead of a gridwork.See http://www.lepp.cornell.edu/~seb/celestia/graticules.html#2

Selden, you always have a solution! :D
Thank you, I'll give a look and try. 8O
By

Andrea :D
"Something is always better than nothing!"
HP Omen 15-DC1040nl- Intel® Core i7 9750H, 2.6/4.5 GHz- 1TB PCIe NVMe M.2 SSD+ 1TB SATA 6 SSD- 32GB SDRAM DDR4 2666 MHz- Nvidia GeForce GTX 1660 Ti 6 GB-WIN 11 PRO

Topic author
ANDREA
Posts: 1543
Joined: 01.06.2002
With us: 22 years 10 months
Location: Rome, ITALY

Post #6by ANDREA » 22.09.2004, 17:38

ANDREA wrote:
selden wrote: Selden, you always have a solution! :D Thank you, I'll give a look and try. 8O By Andrea :D

OK Selden, downloaded, opened, and tried to understand something.
Here are my results:
I'm using the EclipticAU.dsc only, that I have modified as follows:

Code: Select all

Nebula " " {
   Mesh "graticule.cmod"
   Axis [ 1 0 0 ] Angle 90
   Position [ 0.00326167  0.0 0.0 ]
   Radius 0.00060000
}


As you see in the following image, this is what I would need, i.e. a single circle (but much thicker than this) in the given position.

Image

How can I modify a .cmod file?
What software do I need, the same for 3ds files?
Thank you for your help

Andrea
"Something is always better than nothing!"
HP Omen 15-DC1040nl- Intel® Core i7 9750H, 2.6/4.5 GHz- 1TB PCIe NVMe M.2 SSD+ 1TB SATA 6 SSD- 32GB SDRAM DDR4 2666 MHz- Nvidia GeForce GTX 1660 Ti 6 GB-WIN 11 PRO

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

Post #7by selden » 22.09.2004, 17:48

Andrea,

The cmod graticule draws one-pixel-wide lines in space. It uses the OpenGL "line" primitive. The current CMOD primitives do not provide any way to change the width of the line, only its color and opacity. Sorry.

It probably would be easier to use graticules-v2.zip
That kind of graticule uses a flat 3DS model. You can provide your own picture for its surface texture image.
Selden

Topic author
ANDREA
Posts: 1543
Joined: 01.06.2002
With us: 22 years 10 months
Location: Rome, ITALY

Post #8by ANDREA » 22.09.2004, 17:56

selden wrote:Andrea, The cmod graticule draws one-pixel-wide lines in space. It uses the OpenGL "line" primitive. The current CMOD primitives do not provide any way to change the width of the line, only its color and opacity. Sorry.
It probably would be easier to use graticules-v2.zip
That kind of graticule uses a flat 3DS model. You can provide your own picture for its surface texture image.

Thank you Selden, I'll try this new way. :wink:
By soon

Andrea :D
"Something is always better than nothing!"
HP Omen 15-DC1040nl- Intel® Core i7 9750H, 2.6/4.5 GHz- 1TB PCIe NVMe M.2 SSD+ 1TB SATA 6 SSD- 32GB SDRAM DDR4 2666 MHz- Nvidia GeForce GTX 1660 Ti 6 GB-WIN 11 PRO


Return to “Add-on development”