help installing textures: ubuntu

Tips for creating and manipulating planet textures for Celestia.
Topic author
disorder
Posts: 4
Joined: 02.02.2009
With us: 15 years 9 months

help installing textures: ubuntu

Post #1by disorder » 02.02.2009, 17:00

Hi there,
I'm new to Cellestia. I'm a grade 3/4 teacher and I'd like to use Cellestia in my classroom. I'm having a lot of fun with the program so far, but there are no textures included for some of the planetary bodies, such as Earth's moon, and various other planets.

I downloaded the texture file for the moon here:

http://celestiamotherlode.net/creators/ ... n16KVT.zip

and decompressed it.

I then copied the "Moon16K VT" folder to the /usr/share/cellestia/textures/medres/ folder.

I then edited the following section of my solarsys.ssc file to include the new texture info:

VirtualTexture
{
ImageDirectory "Moon16K VT"
BaseSplit 0
TileSize 512
TileType "dds"
}


Code: Select all

"Moon" "Sol/Earth"
{
   Texture "moon.*"
   BumpMap "moonbump.*"
   BumpHeight 3.5
   Radius   1737.53
   # Oblateness 0.002

InfoURL "http://www.nineplanets.org/luna.html"

VirtualTexture

{

        ImageDirectory "Moon16K VT"

        BaseSplit 0

        TileSize 512

        TileType "dds"

}

   CustomOrbit "moon"
   EllipticalOrbit {
      Period           27.321661
      SemiMajorAxis    384400
      Eccentricity     0.054900
      Inclination      5.15
   }

   OrbitFrame {
      EquatorJ2000 { Center "Sol/Earth" }
   }

   UniformRotation
   {
       Inclination        23.45
            AscendingNode       0.0
            MeridianAngle      38
   }

   LunarLambert 1.0

   Albedo           0.12


}


After doing all of this, I still have no textures showing on my Moon, just a plain, white orb.

What am I missing?

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

Re: help installing textures: ubuntu

Post #2by selden » 02.02.2009, 19:42

It sounds like your installation kit was damaged or incomplete.
Where did you get it?

Celestia does come with textures for the Moon, although they're not extremely high resolution. The Moon's texture image files are
Celestia/textures/lores/moon.jpg (19KB)
and
Celestia/textures/medres/moon.jpg (235KB)

Do those files exist on your computer?

I'd suggest downloading the Celestia installation kit from SourceForge at
https://sourceforge.net/project/showfil ... p_id=21302
Remember to left-click (select) on the link. Don't use right-click save-link-as.
Selden

Topic author
disorder
Posts: 4
Joined: 02.02.2009
With us: 15 years 9 months

Re: help installing textures: ubuntu

Post #3by disorder » 02.02.2009, 21:49

So do you think that I'm installing the textures correctly? Have I completed added the info to my "solarsys.ssc" file properly?

I got my Celestia using the "Add/Remove..." program in Ubuntu, so it'd be the version of Celestia in the repos. I'll try uninstalling/reinstalling. Either way, I'd still like to know how to add higher-res textures to my installation of Cellestia, not to mention all the other cool stuff, so what I'd really like to know is whether you think I've followed the add-on steps correctly.

Also, the sourceforge list you provided doesn't seem to have amd64 builds for Celestia. (I forgot to mention that I'm using the 64-bit version of Ubuntu.) I'll try reinstalling it from Synaptic.

****UPDATE****

I've tried reinstalling from Synaptic, with no luck. Still no textures on the Moon, Mars, Mercury, Jupeter, Uranus, Neptune, or Pluto.

Earth has texture, as does Sol and Saturn, some of Pluto's moons and the ISS, Hubble, etc. There may be others with texture, but I haven't fully explored yet.

Any ideas?
Last edited by disorder on 02.02.2009, 22:10, edited 1 time in total.

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

Re: help installing textures: ubuntu

Post #4by selden » 02.02.2009, 22:10

Please check to see if the moon.jpg textures that are supposed to be in the medres and lores directories actually are.

There have been problems in the past caused by Celestia's executable being built incorrectly. If the moon.jpg textures are in the lores and medres directories, then whoever compiled Celestia did something wrong when building it. You'll need to contact whoever it was and ask them to do it correctly.
Selden

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

Re: help installing textures: ubuntu

Post #5by selden » 02.02.2009, 22:16

Sorry: I didn't answer your question about the VTs.

Celestia's virtual textures have to be specified quite differently from the way you've defined them.

Please take a look at http://www.lepp.cornell.edu/~seb/celestia/brief_vt.html
That may help a little.
Selden

Topic author
disorder
Posts: 4
Joined: 02.02.2009
With us: 15 years 9 months

Re: help installing textures: ubuntu

Post #6by disorder » 02.02.2009, 22:26

selden wrote:Please check to see if the moon.jpg textures that are supposed to be in the medres and lores directories actually are.

The moon.jpg files do not exist in medres or lores directories.


P.S., Celestia is such a cool program it's too bad that there's not a GUI-method for installing add-ons. Has this been discussed before?

Reiko
Posts: 1119
Joined: 05.10.2006
Age: 41
With us: 18 years 1 month
Location: Out there...

Re: help installing textures: ubuntu

Post #7by Reiko » 02.02.2009, 22:57

disorder wrote:
selden wrote:Please check to see if the moon.jpg textures that are supposed to be in the medres and lores directories actually are.

The moon.jpg files do not exist in medres or lores directories.


P.S., Celestia is such a cool program it's too bad that there's not a GUI-method for installing add-ons. Has this been discussed before?
To get the 16kVT moon textures to work put both the folder that contains the different texture levels and the file Moon16KVT.ctx into celestia's hires texture folder.
Then open up the solarsys.ssc and change it to look like this..


"Moon" "Sol/Earth"
{
Texture "Moon16KVT.ctx"
BumpMap "moonbump.*"
BumpHeight 3.5
Radius 1737.53
# Oblateness 0.002

InfoURL "http://www.nineplanets.org/luna.html"

ajtribick
Developer
Posts: 1855
Joined: 11.08.2003
With us: 21 years 3 months

Re: help installing textures: ubuntu

Post #8by ajtribick » 02.02.2009, 23:01

I take it you are using Ubuntu Intrepid.

On the Ubuntu Intrepid distribution, the majority of the textures have been helpfully bundled into a package called "celestia-common-nonfree" because the Ubuntu package maintainers have problems with the licensing in the majority of cases. Even more helpfully, this package is not automatically installed when you download Celestia by the normal means, nor is it indicated in any way that this package exists during the installation process, so the typical user will just see a "broken" Celestia.

Thanks Ubuntu.

Way to fix it is to go into the terminal and run

Code: Select all

sudo apt-get install celestia-common-nonfree

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

Re: help installing textures: ubuntu

Post #9by selden » 02.02.2009, 23:05

An Addon manager has been discussed frequently. There is some hope that something might happen for use with the next major release of Celestia after v1.6. In other words, it'll be at least a year from now.
Selden

Topic author
disorder
Posts: 4
Joined: 02.02.2009
With us: 15 years 9 months

Re: help installing textures: ubuntu

Post #10by disorder » 03.02.2009, 02:19

ajtribick wrote:Way to fix it is to go into the terminal and run

Code: Select all

sudo apt-get install celestia-common-nonfree

AH! Perfect! I remembered seeing the common-nonfree package in Synaptic, but seeing as the info for that particular package didn't mention anything about planetary textures, I didn't bother. Now my Moon actually looks like something!

Reiko wrote:To get the 16kVT moon textures to work put both the folder that contains the different texture levels and the file Moon16KVT.ctx into celestia's hires texture folder.
Then open up the solarsys.ssc and change it to look like this..


"Moon" "Sol/Earth"
{
Texture "Moon16KVT.ctx"
BumpMap "moonbump.*"
BumpHeight 3.5
Radius 1737.53
# Oblateness 0.002

Thanks! This appears to have worked, though I'm not sure I can tell the difference yet between the original Moon textures and the new one... I'll try a few other add-ons to see if I've got it right.


selden wrote:An Addon manager has been discussed frequently. There is some hope that something might happen for use with the next major release of Celestia after v1.6. In other words, it'll be at least a year from now.

Hmm... well at least its "in the works"... perhaps in the meantime the phrase "easy to install" should be removed from the following text on the Celestia homepage: :)

http://www.celestiaproject.net/celestia/index.html wrote:Celestia is expandable. Celestia comes with a large catalog of stars, galaxies, planets, moons, asteroids, comets, and spacecraft. If that's not enough, you can download dozens of easy to install add-ons with more objects.

Avatar
John Van Vliet
Posts: 2944
Joined: 28.08.2002
With us: 22 years 2 months

Re: help installing textures: ubuntu

Post #11by John Van Vliet » 03.02.2009, 04:06

--- edit ---
Last edited by John Van Vliet on 21.10.2013, 02:23, edited 1 time in total.

Reiko
Posts: 1119
Joined: 05.10.2006
Age: 41
With us: 18 years 1 month
Location: Out there...

Re: help installing textures: ubuntu

Post #12by Reiko » 03.02.2009, 05:17

john Van Vliet wrote:hi disorder ALL of the downloads on the motherload MUST have a README or INSTALL with instructions on installing them
With all VT textures the whole folder goes into /extras then start celestia
I downloaded the addon he provided in the link and it didn't have a readme or an SSC file. Just the textures and the ctx file.
However, the description on the motherlode does say to make an ssc file for it but those instructions were not included in the zip file.

Avatar
John Van Vliet
Posts: 2944
Joined: 28.08.2002
With us: 22 years 2 months

Re: help installing textures: ubuntu

Post #13by John Van Vliet » 03.02.2009, 06:08

--- edit ---
Last edited by John Van Vliet on 21.10.2013, 02:24, edited 1 time in total.

BobHegwood
Posts: 1803
Joined: 12.10.2007
With us: 17 years 1 month

Re: help installing textures: ubuntu

Post #14by BobHegwood » 03.02.2009, 14:44

john Van Vliet wrote:this explains it the /creators/praesepe folder has downloads from 2004 -- before we started enforcing the rules
i better go and let bob know that those are NOT up to par
http://celestiamotherlode.net/catalog/moon.php

Bob already knows... :wink:

Do you want me to delete the offending add-on?
Brain-Dead Geezer Bob is now using...
Windows Vista Home Premium, 64-bit on a
Gateway Pentium Dual-Core CPU E5200, 2.5GHz
7 GB RAM, 500 GB hard disk, Nvidia GeForce 7100
Nvidia nForce 630i, 1680x1050 screen, Latest SVN

Avatar
John Van Vliet
Posts: 2944
Joined: 28.08.2002
With us: 22 years 2 months

Re: help installing textures: ubuntu

Post #15by John Van Vliet » 03.02.2009, 17:21

--- edit ---
Last edited by John Van Vliet on 21.10.2013, 02:24, edited 1 time in total.

Reiko
Posts: 1119
Joined: 05.10.2006
Age: 41
With us: 18 years 1 month
Location: Out there...

Re: help installing textures: ubuntu

Post #16by Reiko » 03.02.2009, 18:05

Or you could download it, add the readme and SSC file then re-upload it. It's a really good mod by the way. :)

BobHegwood
Posts: 1803
Joined: 12.10.2007
With us: 17 years 1 month

Re: help installing textures: ubuntu

Post #17by BobHegwood » 03.02.2009, 19:47

john Van Vliet wrote:no just make sure there is a note , on the description,in big bold unfriendly letters stating that they need to be installed manually .

Done, but without unfriendly text. :wink:
Brain-Dead Geezer Bob is now using...
Windows Vista Home Premium, 64-bit on a
Gateway Pentium Dual-Core CPU E5200, 2.5GHz
7 GB RAM, 500 GB hard disk, Nvidia GeForce 7100
Nvidia nForce 630i, 1680x1050 screen, Latest SVN

Avatar
John Van Vliet
Posts: 2944
Joined: 28.08.2002
With us: 22 years 2 months

Re: help installing textures: ubuntu

Post #18by John Van Vliet » 03.02.2009, 20:20

--- edit ---
Last edited by John Van Vliet on 21.10.2013, 02:23, edited 1 time in total.

BobHegwood
Posts: 1803
Joined: 12.10.2007
With us: 17 years 1 month

Re: help installing textures: ubuntu

Post #19by BobHegwood » 03.02.2009, 21:44

john Van Vliet wrote:"in big bold unfriendly letters stating "
it a take off of the description of the the words " Don't Panic "
those are in BIG friendly letters

Okay, have a look now. :roll:
Best I can do at the moment. :wink:
Brain-Dead Geezer Bob is now using...
Windows Vista Home Premium, 64-bit on a
Gateway Pentium Dual-Core CPU E5200, 2.5GHz
7 GB RAM, 500 GB hard disk, Nvidia GeForce 7100
Nvidia nForce 630i, 1680x1050 screen, Latest SVN

Avatar
John Van Vliet
Posts: 2944
Joined: 28.08.2002
With us: 22 years 2 months

Re: help installing textures: ubuntu

Post #20by John Van Vliet » 03.02.2009, 21:51

--- edit ---
Last edited by John Van Vliet on 21.10.2013, 02:23, edited 1 time in total.


Return to “Textures”