enlarging the Sun's size

General discussion about Celestia that doesn't fit into other forums.
Topic author
arlduc
Posts: 20
Joined: 18.04.2005
With us: 19 years 7 months
Location: nyc

enlarging the Sun's size

Post #1by arlduc » 09.01.2008, 21:54

What's the easiest way to enlarge the Sun's size? Just write an STC file? Thanks.
arlene ducao
production designer | 3d animator
american museum of natural history
http://www.sciencebulletins.amnh.org

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 7 months
Location: Hamburg, Germany

Post #2by t00fri » 09.01.2008, 22:34

Here most people know that the size of the Celestia Sun is RIGHT! So why making it larger?

F.
Image

Topic author
arlduc
Posts: 20
Joined: 18.04.2005
With us: 19 years 7 months
Location: nyc

Post #3by arlduc » 09.01.2008, 22:42

I need to make an animation that shows the whole solar system in one frame, so I am enlarging the planets. It looks weird to have the planets larger than the sun.
arlene ducao

production designer | 3d animator

american museum of natural history

http://www.sciencebulletins.amnh.org

rthorvald
Posts: 1223
Joined: 20.10.2003
With us: 21 years
Location: Norway

Re: enlarging the Sun's size

Post #4by rthorvald » 09.01.2008, 22:45

arlduc wrote:What's the easiest way to enlarge the Sun's size? Just write an STC file? Thanks.


Arlene,
You can use an STC file to replace Sol. Or, easier, just download one of the Sun Add-Ons at the Motherlode and scale up the "Sun" planet (in the accompagnying SSC file) to your preference (those addons are in reality planets with a semimajoraxis of zero and radius larger than Sol, with sun textures on them).

- rthorvald
Image

chris
Site Admin
Posts: 4211
Joined: 28.01.2002
With us: 22 years 9 months
Location: Seattle, Washington, USA

Post #5by chris » 10.01.2008, 03:05

arlduc wrote:I need to make an animation that shows the whole solar system in one frame, so I am enlarging the planets. It looks weird to have the planets larger than the sun.


The sun is the first object defined in the file data/nearstars.stc. Just add a Radius property to the definition:

Code: Select all

Radius 5000000


The resulting definition should be:

Code: Select all

0 "Sol:Sun"
{
   OrbitBarycenter "Solar System Barycenter"
   CustomOrbit "vsop87-sun"

   SpectralType "G2V"
   AbsMag 4.83

   RotationPeriod      609.12  # 25.38 days
   Obliquity             7.25  # correct orientation relative to ecliptic
   EquatorAscendingNode 75.77  #
   RotationOffset       23.00  # standard meridian
}


--Chris

ANDREA
Posts: 1543
Joined: 01.06.2002
With us: 22 years 5 months
Location: Rome, ITALY

Post #6by ANDREA » 10.01.2008, 10:54

arlduc wrote:I need to make an animation that shows the whole solar system in one frame, so I am enlarging the planets. It looks weird to have the planets larger than the sun.

Arlene, I think that my addon named "Orrery" that you can find here
http://celestiamotherlode.net/catalog/s ... don_id=902
can solve all your problems. :wink:
This is how it shows the Solar System:

Image

Try it.
Bye

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
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 7 months
Location: Hamburg, Germany

Post #7by t00fri » 10.01.2008, 12:06

looks like "dangerous traffic", i.e. hard to survive without collisions ;-)

F.
Image

ANDREA
Posts: 1543
Joined: 01.06.2002
With us: 22 years 5 months
Location: Rome, ITALY

Post #8by ANDREA » 10.01.2008, 12:29

t00fri wrote:looks like "dangerous traffic", i.e. hard to survive without collisions ;-) F.

Yes fridger, there is some collision problem, but the students love it, so... some (safe) collision is worth the result. :wink:
Bye

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

rra
Posts: 171
Joined: 17.07.2004
With us: 20 years 4 months
Location: The Netherlands

Post #9by rra » 10.01.2008, 15:16

other option would be to use Vincent's latest
lua tools,
it has a magnification options for the planets (I believe 200 times)

Ren?©

Andy74 M
Posts: 114
Joined: 21.07.2004
Age: 50
With us: 20 years 3 months
Location: Regensburg, Germany

Post #10by Andy74 » 10.01.2008, 15:26

rra wrote:other option would be to use Vincent's latest
lua tools,
it has a magnification options for the planets (I believe 200 times)

Ren?©


The magnification function of Vincent's Lua Tools is in fact customizable via the config.lua file. Here the respective part of the file:

Code: Select all

-------------------------------------------------------------------------------------------------------
-- Define objects to magnify when the magnification box is checked.
-- Objects to magnify can be:
--       "planets": magnify all the planets in our solar system;
--       "moons": magnify all the moons in our solar system;
--      "asteroids": magnify all the asteroids in our solar system;
--      "comets": magnify all the comets in our solar system;
--       "earth_moon": magnify the Earth and the Moon.
-------------------------------------------------------------------------------------------------------
magnified_objects = "planets"

-------------------------------------------------------------------------------------------------------
-- Define the different magnification coefficients.
-------------------------------------------------------------------------------------------------------
planets_magnification = 2000
moons_magnification = 100
asteroids_magnification = 200000
comets_magnification = 2000
earth_moon_magnification = 30

-------------------------------------------------------------------------------------------------------


Bye
Andy :)

rra
Posts: 171
Joined: 17.07.2004
With us: 20 years 4 months
Location: The Netherlands

Post #11by rra » 11.01.2008, 11:25

indeed ,

thanks for the tip !!


Ren?©

gosilverware
Posts: 1
Joined: 12.01.2008
With us: 16 years 10 months

Post #12by gosilverware » 12.01.2008, 08:47

It's useful. thanks.


Return to “Celestia Users”