NEW ADDON : Political borders on Earth

Post requests, images, descriptions and reports about work in progress here.
Avatar
Topic author
Cham M
Posts: 4324
Joined: 14.01.2004
Age: 60
With us: 21 years 2 months
Location: Montreal

Re: NEW ADDON : Political borders on Earth

Post #21by Cham » 09.08.2008, 18:37

I confirm a **huge** offset. :evil: The SSC file needs to be corrected, and I don't know how. Chris ?
"Well! I've often seen a cat without a grin", thought Alice; "but a grin without a cat! It's the most curious thing I ever saw in all my life!"

ElChristou
Developer
Posts: 3776
Joined: 04.02.2005
With us: 20 years 2 months

Re: NEW ADDON : Political borders on Earth

Post #22by ElChristou » 09.08.2008, 18:54

Cham wrote:Replace this SSC code :

Code: Select all

RotationOffset 280.5
   RotationPeriod 23.9344694


with

Code: Select all

CustomRotation "earth-p03lp"

This (for me) result in a cmod that won't display...
Image

Avatar
Topic author
Cham M
Posts: 4324
Joined: 14.01.2004
Age: 60
With us: 21 years 2 months
Location: Montreal

Re: NEW ADDON : Political borders on Earth

Post #23by Cham » 09.08.2008, 18:58

Yes, I'm having some problems too. So I reverted back to my previous (working) settings until Chris say something about this issue or someone find the proper solution.
"Well! I've often seen a cat without a grin", thought Alice; "but a grin without a cat! It's the most curious thing I ever saw in all my life!"

ElChristou
Developer
Posts: 3776
Joined: 04.02.2005
With us: 20 years 2 months

Re: NEW ADDON : Political borders on Earth

Post #24by ElChristou » 09.08.2008, 19:09

Chriss??
Image

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

Re: NEW ADDON : Political borders on Earth

Post #25by chris » 10.08.2008, 17:10

Cham wrote:
ElChristou wrote:Odd, on a fresh build I also get a CustomRotation "earth-p03lp"... Nothing like this from your side??

Nope, I'm not using this option yet. If you do, you'll simply have to use the same SSC options for the borders model (and also for the tectonic model). You need to use exactly the same SSC options for both Earth and the model, or else there may be some misalignement.

You should simply place the borders and craters models in Earth's body fixed frame. Then you don't have to worry about having exactly the same ssc options for Earth and the model.

Code: Select all

"Political Borders" "Sol/Earth"
{
   Mesh "world_borders.cmod"
   Class "diffuse"
   Emissive true
   Radius 6378.5

        OrbitFrame { BodyFixed { Center "Sol/Earth" } }
        FixedPosition [ 0 0 0 ]
        BodyFrame { BodyFixed { Center "Sol/Earth" } }
        FixedRotation { }
}


--Chris

ElChristou
Developer
Posts: 3776
Joined: 04.02.2005
With us: 20 years 2 months

Re: NEW ADDON : Political borders on Earth

Post #26by ElChristou » 10.08.2008, 17:28

chris wrote:You should simply place the borders and craters models in Earth's body fixed frame. Then you don't have to worry about having exactly the same ssc options for Earth and the model...

:oops: I completely forgot this option... :oops:
Image

Avatar
Topic author
Cham M
Posts: 4324
Joined: 14.01.2004
Age: 60
With us: 21 years 2 months
Location: Montreal

Re: NEW ADDON : Political borders on Earth

Post #27by Cham » 10.08.2008, 17:30

It's working ! Thanks Chris. :D
"Well! I've often seen a cat without a grin", thought Alice; "but a grin without a cat! It's the most curious thing I ever saw in all my life!"


Return to “Add-on development”