Alternate surfaces

General discussion about Celestia that doesn't fit into other forums.
Topic author
chris
Site Admin
Posts: 4211
Joined: 28.01.2002
With us: 22 years 9 months
Location: Seattle, Washington, USA

Alternate surfaces

Post #1by chris » 09.06.2003, 05:11

I've got the alternate surfaces feature working in Celestia. I decided to have a little fun with multiview and Selden's MOLA data textures:

Image

Clockwise from top left: gravity profile, mantle thickness, topography, and passive radiometry. Here's the .ssc file for this add-on:

Code: Select all

AltSurface "topography" "Sol/Mars"
{
    Texture "mars-mola-2k.jpg"
}

AltSurface "gravity" "Sol/Mars"
{
    Texture "mars-grav-2k.jpg"
}

AltSurface "passive radiometry" "Sol/Mars"
{
    Texture "radmerge-2k.jpg"
}

AltSurface "mantle thickness" "Sol/Mars"
{
    Texture "mars-moho-2k.jpg"
}


A new Windows prerelease with alternate surfaces plus Christophe's auto-completion and field of view enhancements will be ready in a couple hours.

Update: the prerelease will be ready soon--there's one more Pluto problem to take care of first, however.

--Chris
Last edited by chris on 09.06.2003, 09:46, edited 1 time in total.

ogg
Posts: 83
Joined: 15.07.2002
With us: 22 years 4 months
Location: Canberra, Australia
Contact:

wow

Post #2by ogg » 09.06.2003, 05:32

fantastic! :D
___________

ogg
___________

jrobert
Posts: 95
Joined: 09.08.2002
With us: 22 years 3 months
Location: California, USA
Contact:

Post #3by jrobert » 09.06.2003, 06:35

Chris, is there anything you can't do?! :lol: <half expecting him to say "I just finished my personal spaceship... I'll be back in a few million years -- Earth time."> hehe Great work, Chris! :)

HankR

Post #4by HankR » 09.06.2003, 06:36

How does the user specify which surface to view?

- Hank

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

Post #5by chris » 09.06.2003, 07:07

HankR wrote:How does the user specify which surface to view?

Two ways right now . . .

The general mechanism for selecting a surface is via the right-click context menu. It's only implemented for Windows right now because of the small amount of platform-specific GUI code.

The other method of selecting an alternate surface is specific to the limit of knowledge surfaces described in the Pluto discussion: pressing + toggles between normal and limit of knowledge surfaces. The limit of knowledge surface isn't special--it's just a standard name, nothing more. This selection method should work automatically on OS X and Linux.

--Chris

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

Post #6by chris » 09.06.2003, 07:14

The alternate surfaces look much better with a bump map:

Image

And here's the modified code:

Code: Select all

AltSurface "topography" "Sol/Mars"
{
    Texture "mars-mola-2k.jpg"
    BumpMap "marsbump.*"
    BumpHeight 2.5
}

AltSurface "gravity" "Sol/Mars"
{
    Texture "mars-grav-2k.jpg"
    BumpMap "marsbump.*"
    BumpHeight 2.5
}

AltSurface "passive radiometry" "Sol/Mars"
{
    Texture "radmerge-2k.jpg"
    BumpMap "marsbump.*"
    BumpHeight 2.5
}

AltSurface "mantle thickness" "Sol/Mars"
{
    Texture "mars-moho-2k.jpg"
    BumpMap "marsbump.*"
    BumpHeight 2.5
}


--Chris

Christophe
Developer
Posts: 944
Joined: 18.07.2002
With us: 22 years 4 months
Location: Lyon (France)

Post #7by Christophe » 09.06.2003, 08:58

That looks great. I think what's needed now is a 'feed input to all views' option.
Christophe

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

Post #8by chris » 09.06.2003, 19:05

Christophe wrote:That looks great. I think what's needed now is a 'feed input to all views' option.


This would be useful . . . It seems that the way to do it might be to track camera changes for the active view, then apply them to all the other views. I think this would be easier and cleaner than broadcasting input to all views.

--Chris

PhillipT
Posts: 8
Joined: 04.06.2003
With us: 21 years 5 months
Location: France

perhaps a dumb question...

Post #9by PhillipT » 12.06.2003, 21:32

Chris,

would be possible to add a similar feature for storing multiple cloudmaps?

Phillip

wcomer
Posts: 179
Joined: 19.06.2003
With us: 21 years 5 months
Location: New York City

Post #10by wcomer » 19.06.2003, 00:55

Chris,

I've been lurking for months now, and I wanted to say that this latest pre-release is a tremendous improvement. The AltSurface feature greatly reduces the level of effort for comparing the superb textures from the artist in celestia's dedicated fan base. As an example, I've finally seen all of the Don Edwards terraformed mars sequence. I'm pleased to see that the AltSurface handles not only textures and bumpmaps but the haze and specular features as well. I hope that sometime in the next few releases you will be able to allow for complete specificity of all the Atmosphere commands.

Here is my Terraformed Mars AltSurface .ssc for Don Edwards textures.


Code: Select all

AltSurface "IM Terraformed Mars 1" "Sol/Mars"
{
      Texture "TM01.dds"
   BumpMap "marsbump.*"
   HazeColor [ 1 1 1 ]
   HazeDensity 0.45
}

AltSurface "IM Terraformed Mars 2" "Sol/Mars"
{
      Texture "TM02.dds"
   BumpMap "marsbump.*"
   Color   [ 1 0.75 0.7 ]
   HazeColor [ 1 1 1 ]
   HazeDensity 0.45
   Albedo 0.150
}

AltSurface "IM Terraformed Mars 3" "Sol/Mars"
{
      Texture "TM03.dds"
   BumpMap "marsbump.*"
   BumpHeight 2.5
   Color [ 0.85 0.85 1.0 ]
   SpecularColor [ 0.5 0.5 0.55 ]
   SpecularPower 25.0
   HazeColor [ 1 1 1 ]
   HazeDensity 0.3
   Albedo            0.30
}

AltSurface "IM Terraformed Mars 4" "Sol/Mars"
{
      Texture "TM04.dds"
   BumpMap "marsbump.*"
   BumpHeight 2.5
   Color [ 0.85 0.85 1.0 ]
   SpecularColor [ 0.5 0.5 0.55 ]
   SpecularPower 25.0
   HazeColor [ 1 1 1 ]
   HazeDensity 0.3
   Albedo            0.30
}

AltSurface "IM Terraformed Mars 5" "Sol/Mars"
{
      Texture "TM05.dds"
   BumpMap "marsbump.*"
   BumpHeight 2.5
   Color [ 0.85 0.85 1.0 ]
   SpecularColor [ 0.5 0.5 0.55 ]
   SpecularPower 25.0
   HazeColor [ 1 1 1 ]
   HazeDensity 0.3
   Albedo            0.30
}

AltSurface "IM Terraformed Mars 6" "Sol/Mars"
{
      Texture "TM06.dds"
   BumpMap "marsbump.*"
   BumpHeight 2.5
   Color [ 0.85 0.85 1.0 ]
   SpecularColor [ 0.5 0.5 0.55 ]
   SpecularPower 25.0
   HazeColor [ 1 1 1 ]
   HazeDensity 0.3
   Albedo            0.30
}

AltSurface "IM Terraformed Mars 7" "Sol/Mars"
{
      Texture "TM07.dds"
   BumpMap "marsbump.*"
   BumpHeight 2.5
   Color [ 0.85 0.85 1.0 ]
   SpecularColor [ 0.5 0.5 0.55 ]
   SpecularPower 25.0
   HazeColor [ 1 1 1 ]
   HazeDensity 0.3
   Albedo            0.30
}


I don't know if Don still has those textures hosted, but for those who have them, altsurface .ssc's seems to look for textures in all the usual places (i.e. the new hierarchical system works fine.)

Also, Albedo, Color and BumpHeight don't seem to have any effect as yet, but I put them in in hopes of the next pre-release :D

cheers,
Walton Comer

ElPelado
Posts: 862
Joined: 07.04.2003
With us: 21 years 7 months
Location: Born in Argentina
Contact:

Post #11by ElPelado » 19.06.2003, 09:47

chris, can you explain how to use AltTextures? you said that you will explain, but you haven't yet.
---------X---------
EL XENTENARIO
1905-2005

My page:
http://www.urielpelado.com.ar
My Gallery:
http://www.celestiaproject.net/gallery/view_al ... y-Universe

wcomer
Posts: 179
Joined: 19.06.2003
With us: 21 years 5 months
Location: New York City

Post #12by wcomer » 19.06.2003, 16:38

El Pelado,

Best to see from example:

Create a new .ssc titled, "mars_as_earth.ssc", in your extras folder.

copy and paste this code,

Code: Select all

AltSurface "Mars as Earth" "Sol/Mars"
{
   Texture "earth.*"
   NightTexture "earthnight.jpg"
   SpecularColor [ 0.5 0.5 0.55 ]
   SpecularPower 25.0
   HazeColor [ 1 1 1 ]
   HazeDensity 0.3
}


If you right-click Mars within Celestia, you should now see an alternative surfaces selection. Select "Mars as Earth".

cheers,
Walton Comer

Darkmiss
Posts: 1059
Joined: 20.08.2002
With us: 22 years 2 months
Location: London, England

Post #13by Darkmiss » 19.06.2003, 16:51

Oh this is great stuff
Now i can use both Don's Imaginary Pluto, and Toofri's Limit of knowlage Pluto, and change at a click of a mouse. 8)

Up till now, I had them in two directorys, then used shift-r to change between them.
CPU- Intel Pentium Core 2 Quad ,2.40GHz
RAM- 2Gb 1066MHz DDR2
Motherboard- Gigabyte P35 DQ6
Video Card- Nvidia GeForce 8800 GTS + 640Mb
Hard Drives- 2 SATA Raptor 10000rpm 150GB
OS- Windows Vista Home Premium 32


Return to “Celestia Users”