Having a problem with a texture of mine.

Tips for creating and manipulating planet textures for Celestia.
Topic author
Darkness nova
Posts: 8
Joined: 19.07.2006
With us: 18 years 2 months
Location: cali.

Having a problem with a texture of mine.

Post #1by Darkness nova » 20.07.2006, 02:55

I made a water jovian texture a few days ago and put it into a few randm systems where they should exist....I loaded it into celestia's extrasolar database as an alternate texture but when I right clicked it and chose water texture it came up completley white........am I doing something wrong or what?

Here's what I put

AltSurface "custom water jaovian texture" "HD 82943/c"
{

Texture "Waterjoviantexture-0-1-0-0.dds"
}

Help would be much apreciated.

Fightspit
Posts: 510
Joined: 15.05.2005
With us: 19 years 4 months

Post #2by Fightspit » 20.07.2006, 10:36

Normally, you have several folders like this:

Create a folder "your_folder" and put into the Celestia/extras folder.
In "your_folder" you have got textures/hires/Waterjoviantexture-0-1-0-0.dds
and a scc file "your_ssc" with these line (your exemple):

Code: Select all

AltSurface "custom water jaovian texture" "HD 82943/c"
{

Texture "Waterjoviantexture-0-1-0-0.dds"
}
Motherboard: Intel D975XBX2
Processor: Intel Core2 E6700 @ 3Ghz
Ram: Corsair 2 x 1GB DDR2 PC6400
Video Card: Nvidia GeForce 8800 GTX 768MB GDDR3 384 bits PCI-Express 16x
HDD: Western Digital Raptor 150GB 10000 rpm
OS: Windows Vista Business 32 bits

Topic author
Darkness nova
Posts: 8
Joined: 19.07.2006
With us: 18 years 2 months
Location: cali.

Post #3by Darkness nova » 20.07.2006, 21:59

Gahh it isn't working! I'm doing all I'm supposed to and it's still white!!!!

Fightspit
Posts: 510
Joined: 15.05.2005
With us: 19 years 4 months

Post #4by Fightspit » 21.07.2006, 10:59

What version of Celestia do you use ? What is your graphic card ? How size is your picture ? What is your Operating system (linux, mac or windows ?)?... You must specify more details about your computer .
Try also update your graphic driver.
Motherboard: Intel D975XBX2
Processor: Intel Core2 E6700 @ 3Ghz
Ram: Corsair 2 x 1GB DDR2 PC6400
Video Card: Nvidia GeForce 8800 GTX 768MB GDDR3 384 bits PCI-Express 16x
HDD: Western Digital Raptor 150GB 10000 rpm
OS: Windows Vista Business 32 bits

Avatar
selden
Developer
Posts: 10190
Joined: 04.09.2002
With us: 22 years 1 month
Location: NY, USA

Post #5by selden » 21.07.2006, 11:30

White means Celestia can't read the image texture file. It might be misnamed, in the wrong folder, the wrong size, or something other than jpg, png or dds. Remember it has to be a power of 2 on a side (e.g. 1024x512).
Selden

Avatar
Chuft-Captain
Posts: 1779
Joined: 18.12.2005
With us: 18 years 9 months

Post #6by Chuft-Captain » 21.07.2006, 15:12

Also, I think I read in another thread somewhere/sometime that DDS files can only be displayed by certain graphics cards or render paths.

Is that right Selden, or is my memory playing tricks on me?

:)
"Is a planetary surface the right place for an expanding technological civilization?"
-- Gerard K. O'Neill (1969)

CATALOG SYNTAX HIGHLIGHTING TOOLS LAGRANGE POINTS

Avatar
selden
Developer
Posts: 10190
Joined: 04.09.2002
With us: 22 years 1 month
Location: NY, USA

Post #7by selden » 21.07.2006, 15:31

Chuft-Captain,

You are correct. DDS textures were first introduced in DX7 and was later adopted by OpenGL. It is not supported by Microsoft's software implementation of OpenGL, for example.

Sorry: I don't know which version of OpenGL added it. After 1.1, though.
Selden

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

Post #8by chris » 21.07.2006, 15:33

Chuft-Captain wrote:Also, I think I read in another thread somewhere/sometime that DDS files can only be displayed by certain graphics cards or render paths.

Is that right Selden, or is my memory playing tricks on me?

:)


Only very old cards are unable to use DDS files (or specifically, DDS files with DXT compressed textures.) Any NVIDIA GeForce or ATI Radeon card can use DDS files, as can any recent Intel integrated graphics chipset. The render path doesn't affect whether you can use DDS files; they're even available in the basic render path.

--Chris

Topic author
Darkness nova
Posts: 8
Joined: 19.07.2006
With us: 18 years 2 months
Location: cali.

Post #9by Darkness nova » 21.07.2006, 16:50

Ok then my celestai version is the current 4.1......my graphics card is a NIVDIA GE force 6100....I use windows and the image is 4050X2025 Sorry for not including those details Image

Finally heres is the pic incase anyone wishes to see it or whatever.

Image

Fightspit
Posts: 510
Joined: 15.05.2005
With us: 19 years 4 months

Post #10by Fightspit » 21.07.2006, 17:04

In fact, your picture must be 4096x2048 or 2048x1024 (power of 2) and etc... but not above 8192x4096.
Motherboard: Intel D975XBX2
Processor: Intel Core2 E6700 @ 3Ghz
Ram: Corsair 2 x 1GB DDR2 PC6400
Video Card: Nvidia GeForce 8800 GTX 768MB GDDR3 384 bits PCI-Express 16x
HDD: Western Digital Raptor 150GB 10000 rpm
OS: Windows Vista Business 32 bits

Avatar
selden
Developer
Posts: 10190
Joined: 04.09.2002
With us: 22 years 1 month
Location: NY, USA

Post #11by selden » 21.07.2006, 17:05

Darkness nova wrote:and the image is 4050X2025


That's your problem.

Celestia requires that all surface textures be a power of two on a side. A "4K" surface texture must be 4096x2048 (or 4096x4096).

This restriction is in the graphics hardware. Only the very most recent top-of-the-line 3D cards can use surface textures that aren't a power of two. The next version of Celestia is expected to allow non-power-of-two textures.
Selden

Topic author
Darkness nova
Posts: 8
Joined: 19.07.2006
With us: 18 years 2 months
Location: cali.

Post #12by Darkness nova » 21.07.2006, 18:20

Wow I feel stupid. Heh it's working now thanks..... Here it is in celestai if anyone wants to comment on it.

Image

Click on the image for a larger view.

Now if only I could add some kind of an atmosphere....
Last edited by Darkness nova on 23.07.2006, 00:20, edited 1 time in total.

Topic author
Darkness nova
Posts: 8
Joined: 19.07.2006
With us: 18 years 2 months
Location: cali.

Post #13by Darkness nova » 22.07.2006, 18:40

Sorry about the double post but how would I add rings or an atmosphere to this planet? I looked and kinda sorta have the gist if rigns but I wouldn't know where to put them.....and I haven't found aything on atmospheres.

eburacum45
Posts: 691
Joined: 13.11.2003
With us: 20 years 10 months

Post #14by eburacum45 » 24.07.2006, 12:34

Take a look at the solarsys.ssc file you have just removed; it includes ring declarations for Saturn and the other gas giants. Cut and paste the bit which describes the rings, and place it in your own planet's .ssc description.

Now you wil need a texture to define the rings. This texture needs to be a partially transparent .png with an alphachannel or you will have solid rings. Note that the .png basically defines a thin slice of the rings- the program converts that slice into a radial pattern.

Here is a fictional ring system I have made

Image
you can see how the light shines through the transparent parts of the ring to define the shadows on the planet surface.

Incidentally you can use that solarsystem.ssc as a source of atmosphere declarations too; play about with all the values and see what works.
Warning; don't change the solarsystem.ssc file itself in the Data folder in Celestia, as this could mess up the display of our local planets. If you want to change our solar system, always use Modify commands or similar in the Extras folder.


Return to “Textures”