SPECULAR IMAGE ON EARTH'S OCEAN...HOW TO INSTALL IT?

Tips for creating and manipulating planet textures for Celestia.
Topic author
alegator
Posts: 51
Joined: 29.12.2002
With us: 21 years 6 months

SPECULAR IMAGE ON EARTH'S OCEAN...HOW TO INSTALL IT?

Post #1by alegator » 29.12.2002, 11:55

I downloaded a file named "earth-spec.dds" size 5.33Mb, that creates a specular image on the earth's ocean surface. How do I install it? And what line do I have to add to the solarsys.ssc file?
Thanks!
I have Celestia v1.2.5 running on the following machine:
Dell Dimension8200
WinXP Pro/SP1
P4 2.53Ghz 533MhzFSB
2Gb RDRAM PC800
ATI RADEON8500 PRO 128MB videocard
Viewsonic VP230mb 23.1" LCD 1600x1200 native
2 HD 120Gb each

Avatar
selden
Developer
Posts: 10190
Joined: 04.09.2002
With us: 21 years 10 months
Location: NY, USA

Post #2by selden » 29.12.2002, 15:12

You can't use it with the current version of Celestia. It does not yet include sufficient support for ATI cards. DDS file formats and specular reflections both work only with Nvidia cards.

My understanding is that Chris plans for v1.2.6 of Celestia to use OpenGL v1.4's new vertex and pixel shader routines that are supposed to work with any graphics card. (Of course, that also requires updated OpenGL drivers from the card manufacturers.) That'll make specular reflections work with cards that have v1.4 drivers. Unfortunately, Celestia v1.2.6 probably won't be available for quite some time. If we're lucky, the final release of v1.2.5 will be out in a week or two.

Sorry.
Selden

horrgakx
Posts: 13
Joined: 17.08.2002
With us: 21 years 10 months

Post #3by horrgakx » 11.01.2003, 10:33

I'd still like to know what to do with a DDS file - I downloaded it and dropped it in the Textures\HiRes directory but it doesn't seem to work...
Dave Wilson [FTOOC, MLR]

Avatar
selden
Developer
Posts: 10190
Joined: 04.09.2002
With us: 21 years 10 months
Location: NY, USA

Post #4by selden » 11.01.2003, 15:37

Dave,

You need to edit whichever SSC file would be referencing the texture so that it specifies the correct file name. If it's a surface texture for one of the planets in the solar system, for exemple, you'd need to edit /data/solarsys.ssc
Selden

Guest

Post #5by Guest » 11.01.2003, 16:03

Thanks, but I have no idea what you just said :)

Is it not possible to have textures "plug in and go"? Why the manipulation of files?

Avatar
selden
Developer
Posts: 10190
Joined: 04.09.2002
With us: 21 years 10 months
Location: NY, USA

Post #6by selden » 11.01.2003, 16:25

SSC files are text files used to define objects in Celestia.
The definition of an object includes the name of the texture file to be used for it.
All of the objects defined in Celestia 1.2.5 specify JPEG (or PNG) images for their surface textures, not .DDS files.
If you want to use a different type of texture file, something other than .JPG (or PNG), you have to edit the defintion of the object so that it specifies the appropriate texture file type.

This is because DDS files used with Celestia can only work if you have a graphics card that uses an Nvidia graphics chip. JPEG (or PNG) images can be used as surface textures with any graphics card.

(added later:
While it would be nice if Celestia could automatically detect the hightest resolution image file type that'd work with whatever card you have, that'd require a lot more code to be written as well as for the developers to have a lot more different types of graphics cards. There are other features for Celestia that are felt to be more important.)

I hope this clarifies things a little.
Selden

horrgakx
Posts: 13
Joined: 17.08.2002
With us: 21 years 10 months

Post #7by horrgakx » 11.01.2003, 16:53

> I hope this clarifies things a little.

No offence, but no it didn't clarify it.

I'll get me coat.
Dave Wilson [FTOOC, MLR]

Avatar
selden
Developer
Posts: 10190
Joined: 04.09.2002
With us: 21 years 10 months
Location: NY, USA

Post #8by selden » 11.01.2003, 17:06

How about this:

If you don't have an Nvidia card, don't waste your time with .DDS files.

If you do have an Nvidia card, DDS files can look a lot better than JPEG or PNG images in some circumstances, but you have to be willing to invest the time in learning how Celestia works.
Selden

horrgakx
Posts: 13
Joined: 17.08.2002
With us: 21 years 10 months

Post #9by horrgakx » 11.01.2003, 18:03

I have a GeForce3 running NVidia drivers (but it's not VNidia branded). Does that count?
Dave Wilson [FTOOC, MLR]

Avatar
selden
Developer
Posts: 10190
Joined: 04.09.2002
With us: 21 years 10 months
Location: NY, USA

Post #10by selden » 11.01.2003, 18:39

Dave,

In principle your card should be able to display smaller DDS textures just fine. The amount of memory on the card will put a limit on the maximum size that'll actually work.

I don't think Nvidia makes any cards themselves, except as "reference designs" that other companies often duplicate.

You can use NotePad to edit solarsys.ssc
Selden

bh
Posts: 1547
Joined: 17.12.2002
With us: 21 years 6 months
Location: Oxford, England

Post #11by bh » 11.01.2003, 18:42

I'm using a jpg for the specular map:

earth4k.jpg

It's around 740k in size and works great.

Texture "earth4k.png"
NightTexture "earthnight.jpg"
SpecularTexture "earthspec4k.jpg"

Its like a sea mask with the earth/terrain black and the oceans white.


Return to “Textures”