Texture problem

General discussion about Celestia that doesn't fit into other forums.
Topic author
zhar2
Posts: 204
Joined: 22.03.2008
With us: 16 years 8 months

Texture problem

Post #1by zhar2 » 29.04.2008, 20:44

well currentlu im making an addon for the star trek section for the andorian system around Pi3 orionis (i know it should be in procyon but theres too little space to add so many planets and keep andor as the 8th planet)

but im having a problem with the cloud texture, shown bellow:

Image

At first the boundries of the textures meet up perfectly but as i let time pass an edge forms that eats up the cloud texture, it then re-apears after it has been completly "eaten", and then the cycle continues.

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

Re: Texture problem

Post #2by selden » 29.04.2008, 21:23

I've never seen that problem before.

What kind and size of image file are you using for the cloud texture?
It should be a PNG image which is a power of 2 on a side and it should be less than or equal to the maximum texture size supported by your graphics card. That maximum is reported in Celestia's menu Help/OpenGL Info

You can use a VT, but only if you set CloudSpeed to 0. Weird things will happen if you don't. Moving cloud VT textures is *not* supported, although it won't cause a fatal error.

In principle Celestia v1.5.0 supports non-power-of-two textures, but only on cards which support that feature in the hardware. Celestia v1.5.0 is supposed to shrink textures that aren't a power-of-two on a side so they are, but I dunno if anyone has verified that this shrinkage works for cloud textures.
Selden

Topic author
zhar2
Posts: 204
Joined: 22.03.2008
With us: 16 years 8 months

Re: Texture problem

Post #3by zhar2 » 30.04.2008, 19:18

Ive resolved the problem, ive taken out the clouds but created the effect with a bump map.

here it is so far (13 planets, 35 bodies, one space station):

(andor is the gas giant, andoria being the earthlike moon)

Image

Any opinions? :D

Avatar
Hungry4info
Posts: 1133
Joined: 11.09.2005
With us: 19 years 2 months
Location: Indiana, United States

Re: Texture problem

Post #4by Hungry4info » 30.04.2008, 22:21

As I understand from a Star Trek: Enterprise episode, the Andorian homeworld/homemoon is an arctic world, or at least more so than you have illustrated by the screen shot. As I understand it, it's like the entire world resembles Siberia.
Current Setup:
Windows 7 64 bit. Celestia 1.6.0.
AMD Athlon Processor, 1.6 Ghz, 3 Gb RAM
ATI Radeon HD 3200 Graphics

Topic author
zhar2
Posts: 204
Joined: 22.03.2008
With us: 16 years 8 months

Re: Texture problem

Post #5by zhar2 » 01.05.2008, 08:07

Well this moon is supposed to illustrate the biomes from artic, tundra to taiga.

Im also using the star trek roleplaying source (amogst the clas/; the andorians) book as reference on andoria, its biomes and the rough shap of the continent according to the available map.

Also im using it s a reference for names and orbital structures.

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

Re: Texture problem

Post #6by chris » 01.05.2008, 15:51

How big was the cloud map that was giving you problems? Celestia cloud textures need to be small enough to fit into a single hardware texture: 8k on DX10 capable hardware such as GeForce 8 and Radeon X2xxx cards, 4k on GeForce FX/6/and 7 series cards, and 2k on non-DX10 Radeon cards.

--Chris

Topic author
zhar2
Posts: 204
Joined: 22.03.2008
With us: 16 years 8 months

Re: Texture problem

Post #7by zhar2 » 01.05.2008, 16:25

Well most textures for this system are 2048x1024 and 4096x2048, and there are no smaller ones from 2048x1024.

Topic author
zhar2
Posts: 204
Joined: 22.03.2008
With us: 16 years 8 months

Re: Texture problem

Post #8by zhar2 » 05.05.2008, 22:43

seeing as this is related to the same system andi dont want to waste space by opening another thread i just want to ask a quick question.

Celestia seems to arrage the planets in the navigation list alphabetically, how can i make it list them by how close they are to its sun or parent body?

i cant seem to find how in selden's resources.

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

Re: Texture problem

Post #9by selden » 06.05.2008, 02:02

My copy of Celestia displays planets in the order that they're found in ssc files. Celestia reads separate ssc files in alphabetical order. If you put them in separate files and the files are named the same as the planets, they'll be alphabetical. If you put them in the same file, they'll be in whatever order you use.
Selden

Topic author
zhar2
Posts: 204
Joined: 22.03.2008
With us: 16 years 8 months

Re: Texture problem

Post #10by zhar2 » 06.05.2008, 11:32

Nope they are in the same file but celestia list them alphabetically for me.

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

Re: Texture problem

Post #11by selden » 06.05.2008, 14:29

Then they should be shown in the order that they appear in the SSC file.

Please provide a copy.
Selden

Topic author
zhar2
Posts: 204
Joined: 22.03.2008
With us: 16 years 8 months

Re: Texture problem

Post #12by zhar2 » 06.05.2008, 15:25

heres the code :)
Last edited by zhar2 on 06.05.2008, 15:49, edited 1 time in total.

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

Re: Texture problem

Post #13by selden » 06.05.2008, 15:38

It looks fine on my system. I tested it with both Celestia v1.5.1 final and Celestia built from svn.
Selden

Topic author
zhar2
Posts: 204
Joined: 22.03.2008
With us: 16 years 8 months

Re: Texture problem

Post #14by zhar2 » 06.05.2008, 15:49

i guess it just my celestia, ill re-install it.

fixed.


Return to “Celestia Users”