Page 1 of 1

Newbie neeed help with Celestiha - I want wonderful Earth

Posted: 14.06.2003, 11:31
by kary
Hello everybody,

iam absolutly new in Celestia. I try to create my Earth looks like "the original" - add bumps, better textures etc, but somethin is wrong. I try to find any infromations, but iam not succesful. So, can someone help me? This is my Earth option in solar system

*START*

"Earth" "Sol"
{
Texture "earth8k.dds"
# Texture "earth8k.dds"
NightTexture "earth-night8k.dds"

SpecularTexture "earth-spec.dds"
Color [ 0.85 0.85 1.0 ]
SpecularColor [ 0.5 0.5 0.55 ]
SpecularPower 25.0
HazeColor [ 1 1 1 ]
HazeDensity 0.3
Radius 6378
Oblateness 0.003

NormalMap "earth8k.jpg"
BumpMap "earthbump.jpg"
BumpHeight 4.5

Atmosphere {
Height 60
Lower [ 0.30 0.52 0.65 ]
Upper [ 0.26 0.47 0.84 ]
Sky [ 0.30 0.48 0.82 ]
CloudHeight 7
CloudSpeed 65
CloudMap "earth-clouds.dds"
}

CustomOrbit "vsop87-earth"
EllipticalOrbit {
Period 1.0000
SemiMajorAxis 1.0000
Eccentricity 0.0167
Inclination 0.0001
AscendingNode 348.739
LongOfPericenter 102.947
MeanLongitude 100.464
}

RotationPeriod 23.9344694 # 23.93419
Obliquity -23.45
RotationOffset 280.5 # offset at default epoch J2000

Albedo 0.30
}

*END*

But the image looks like this (i mean, no green, the bmp work bad, in my Celestia- i know, it is my falt, but where?):
Image

Can someone tells me, what files (step by step) i mus use for excellent wiev? An what is best to virte in Sol/Earth config?[/img]

MORE Info:

Posted: 14.06.2003, 11:39
by kary
So,

i think, that the problem is not in the HARDWARE. I have AMD At XP 2000+, 512 MB DDR 333 RAM, + NVIDIA GeForce MX 440 (DDR 64 MB RAM).

There is log from my OpenGL from Celestia

*START*

Vendor: NVIDIA Corporation

Renderer: GeForce4 MX 440/AGP/SSE/3DNOW!

Version: 1.4.0

Max simultaneous textures: 2

Max texture size: 2048



Supported Extensions:

GL_ARB_imaging

GL_ARB_multitexture

GL_ARB_point_parameters

GL_ARB_texture_compression

GL_ARB_texture_cube_map

GL_ARB_texture_env_add

GL_ARB_texture_env_combine

GL_ARB_texture_env_dot3

GL_ARB_texture_mirrored_repeat

GL_ARB_transpose_matrix

GL_ARB_vertex_program

GL_ARB_window_pos

GL_S3_s3tc

GL_EXT_abgr

GL_EXT_bgra

GL_EXT_blend_color

GL_EXT_blend_minmax

GL_EXT_blend_subtract

GL_EXT_clip_volume_hint

GL_EXT_compiled_vertex_array

GL_EXT_draw_range_elements

GL_EXT_fog_coord

GL_EXT_multi_draw_arrays

GL_EXT_packed_pixels

GL_EXT_paletted_texture

GL_EXT_point_parameters

GL_EXT_rescale_normal

GL_EXT_secondary_color

GL_EXT_separate_specular_color

GL_EXT_shared_texture_palette

GL_EXT_stencil_wrap

GL_EXT_texture_compression_s3tc

GL_EXT_texture_cube_map

GL_EXT_texture_edge_clamp

GL_EXT_texture_env_add

GL_EXT_texture_env_combine

GL_EXT_texture_env_dot3

GL_EXT_texture_filter_anisotropic

GL_EXT_texture_lod

GL_EXT_texture_lod_bias

GL_EXT_texture_object

GL_EXT_vertex_array

GL_IBM_texture_mirrored_repeat

GL_KTX_buffer_region

GL_NV_blend_square

GL_NV_fence

GL_NV_fog_distance

GL_NV_light_max_exponent

GL_NV_packed_depth_stencil

GL_NV_pixel_data_range

GL_NV_point_sprite

GL_NV_register_combiners

GL_NV_texgen_reflection

GL_NV_texture_env_combine4

GL_NV_texture_rectangle

GL_NV_vertex_array_range

GL_NV_vertex_array_range2

GL_NV_vertex_program

GL_NV_vertex_program1_1

GL_NVX_ycrcb

GL_SGIS_generate_mipmap

GL_SGIS_multitexture

GL_SGIS_texture_lod

GL_WIN_swap_hint

WGL_EXT_swap_control

*END*

Posted: 14.06.2003, 12:34
by jamarsa
It's *not* your fault, only a little inexperience (but that will disappear in time, i hope). I'm not the best at textures (My graphics card is far worse than yours) but I'll try to help.

Make sure the files you have referenced (earth8k.jpg, earth8k.dds, etc) are placed in one of the directories of the Textures folder (preferrably in the Hires one).
Also, as ElPelado noted, I think you must declare only NormalMap or Bumpmap, not both at the same time. Comment out with # whatever you want to disable.
I'm not sure if your "earth8k.jpg" is a NormalMap. Disable it first, and test. You can always restore it and disable the Bumpmap.

I found the error

Posted: 14.06.2003, 12:38
by kary
It is in the using normal map and bump map. Bug is here:


NormalMap "earth8k.jpg"
BumpMap "earthbump.jpg"
BumpHeight 4.5

but it must to be set like ths


# NormalMap "earth8k.jpg"
BumpMap "earthbump.jpg"
BumpHeight 4.5

Because is impossible to use both :)) Iam stupid :))

Posted: 14.06.2003, 14:41
by ElPelado
By the way, you were using your earth texture(earth8k.dds) as a normal map. you werent using a normalmap.
try to find another normalmap in the internet and you will see how they look like.

Can U help me?

Posted: 14.06.2003, 14:44
by kary
Can U give me the best URL for best wiev? Thanx...

Posted: 14.06.2003, 14:58
by ElPelado
sorry, but i dnot know. my video card is not the best, and i dont have the best textures for earth. and i dont even know where to find them. try searchinf in the "textures forum".

here you have a normalmap of the moon, to see how it looks like:
Image

Posted: 14.06.2003, 16:45
by jim
Hi kary,

First a question: Can your GF 4 MX show effects like bumpmapping and specular reflections (has this card pixel shadder and vertex shadder) ? I'm not sure. :?:

If that's so than I recommend to use a 4K bump map ( JPG or PNG format ). A 8k map needs 170mb (grafic-)ram and that's to much for the most sytems.

The possibility to use normal maps instead of bump maps is relativ new to Celestia and only the latest version ( 1.3.1pre3 ) works correct with these. Therefore you will probably not find a (correct) normal map for earth at the moment.
Keep your eyes open until Fridger update his texturefoundery and I think there will be nice nomal maps. 8O

Bye Jens

Posted: 15.06.2003, 09:02
by Sum0
jim wrote:Hi kary,

First a question: Can your GF 4 MX show effects like bumpmapping and specular reflections (has this card pixel shadder and vertex shadder) ? I'm not sure. :?:


The Geforce 2 MX does specular and bump mapping (hardware pixel shader, software vertex shader) so presumably the Geforce 4 MX can too.

Re: Newbie neeed help with Celestiha - I want wonderful Earth

Posted: 10.04.2008, 04:30
by John Van Vliet
edit 5:37 pm