Page 1 of 3

NEW addon : The volcanoes of the World

Posted: 18.07.2008, 19:35
by Cham
I'm about to release a new location file, showing ALL the Earth's volcanoes according to the Smithsonian Institution (1528 volcanic sites). Pretty cool, with an high resolution texture of the Earth without the oceans :
volcanoes.jpg


I just need to tweak the overlapping labels, and check for any errors (none yet).

Re: NEW addon : The volcanoes of the World

Posted: 18.07.2008, 19:57
by BobHegwood
When do you sleep my friend? :wink:

Re: NEW addon : The volcanoes of the World

Posted: 18.07.2008, 20:03
by ajtribick
Tangentially related: perhaps it would be good to have an Earth seafloor texture as an AltSurface in the default distribution?

Re: NEW addon : The volcanoes of the World

Posted: 18.07.2008, 21:40
by chris
Very nice add-on. It looks like you're marking the volcanoes as squares (volcanic center?) instead of triangles (mountains.)

ajtribick wrote:Tangentially related: perhaps it would be good to have an Earth seafloor texture as an AltSurface in the default distribution?

I think that this would be a good idea. It would increase the size of the package, but we can always create a reduced package for people with limited bandwidth. Martin: what's the source of the texture in your screenshot?

--Chris

Re: NEW addon : The volcanoes of the World

Posted: 18.07.2008, 23:44
by Cham
chris wrote:Martin: what's the source of the texture in your screenshot?

It's a 8K DDS called "earth-8k-shelf&seafloor.dds". Really, I don't know where I found it. I have it since a pretty long time now.

By the way Chris, there's no checkboxes in the preferences window to turn ON/OFF the volcanoes ? We need one ! And as I asked you by email some times ago, we need a custom symbol and color to be defined, in an location SSC. We should be able to overwrite the default by adding a symbol/color definition in the SSC, as we already can do it for the markers.

And in your opinion, what would be the best way to define the volcanoes "Size" (to prevent the labels overlapping), having only the volcanoes altitude ?

Also, apparently, there's a bug with the "Mare" checkbox : it's reverted ! (checking IN the box turns OFF the feature labels).

Re: NEW addon : The volcanoes of the World

Posted: 19.07.2008, 02:48
by Cham
Here's a preliminary version of the volcanoes list :
volcanoes.ssc.zip

Preferably, the addon should be used in conjunction with some high resolution texture map.

I'm not sure yet that the labels behavior is the most suitable. I need some opinions about this.

Please, report any errors here.

Re: NEW addon : The volcanoes of the World

Posted: 19.07.2008, 04:52
by BobHegwood
Cham wrote:Here's a preliminary version of the volcanoes list :
volcanoes.ssc.zip

Preferably, the addon should be used in conjunction with some high resolution texture map.

I'm not sure yet that the labels behavior is the most suitable. I need some opinions about this.

Please, report any errors here.
Martin,

Downloaded and tested on my machine with almost perfect results being displayed. I actually prefer the labels in order to locate these features.
I randomly picked some from the SSC file, and then used the ENTER-TYPE NAME-ENTER method in order to go to the locations on the surface of the Earth.
I am also using my 64K VT (courtesy of Dr. Schrempp's tutorial on the Celestia Matters Forum) and the locations are displayed very nicely and - more importantly - in an extremely accurate fashion. :wink:

If need be, I can post some screen shots?
Just FYI...
Thanks, Bob

Re: NEW addon : The volcanoes of the World

Posted: 19.07.2008, 13:33
by Cham
BobHegwood wrote:If need be, I can post some screen shots?

Yes Bob, please post some pictures of the addon with your high res VT texture. :)

Re: NEW addon : The volcanoes of the World

Posted: 19.07.2008, 14:06
by BobHegwood
Ask, and ye shall receive... :wink:
Image
Image
Image
Click on each image for very high-resolution views.

Thanks, Bob

Re: NEW addon : The volcanoes of the World

Posted: 19.07.2008, 14:12
by Cham
Pretty impressive, Bob 8O . Thanks !

Re: NEW addon : The volcanoes of the World

Posted: 19.07.2008, 14:14
by BobHegwood
Cham wrote:Pretty impressive, Bob 8O . Thanks !
No, as always... Thank YOU! :wink:

Re: NEW addon : The volcanoes of the World

Posted: 21.07.2008, 07:09
by Chuft-Captain
Cham wrote:And in your opinion, what would be the best way to define the volcanoes "Size" (to prevent the labels overlapping), having only the volcanoes altitude ?

Some measure of the level of activity, either frequency and/or size of eruptions and/or time of last eruption. (perhaps some formula based on the combination of these measures). ie. More recent larger active volcanoes would be given a larger "size" than dormant or extinct smaller volcanoes.

Pinotabu I think is the "largest" recent volcano. I guess Krakatoa was the largest in kilotons, but less recent than Pinotabu. How much weight you give to each measure I suppose would determine which of these came out as the "largest" (in labeling terms).

IMO this would be more meaningful than altitude.

JM2CW

Re: NEW addon : The volcanoes of the World

Posted: 21.07.2008, 16:23
by chris
I'd suggest using topographic prominence rather than altitude as the value from which to derive the importance of the volcanoes.

--Chris

Re: NEW addon : The volcanoes of the World

Posted: 25.07.2008, 14:58
by duds26
Cham wrote:
chris wrote:Martin: what's the source of the texture in your screenshot?

It's a 8K DDS called "earth-8k-shelf&seafloor.dds". Really, I don't know where I found it. I have it since a pretty long time now.

By the way Chris, there's no checkboxes in the preferences window to turn ON/OFF the volcanoes ? We need one ! And as I asked you by email some times ago, we need a custom symbol and color to be defined, in an location SSC. We should be able to overwrite the default by adding a symbol/color definition in the SSC, as we already can do it for the markers.

And in your opinion, what would be the best way to define the volcanoes "Size" (to prevent the labels overlapping), having only the volcanoes altitude ?

Also, apparently, there's a bug with the "Mare" checkbox : it's reverted ! (checking IN the box turns OFF the feature labels).

Custom symbol/Color is something for on the roadmap, Chris?

Now that there is a surfacefeature, modmakers are going to begin to make more addons on surfaces and want to have a special marker just for their class.
(Support for svg would make it possible for making scalable symbols and still keep the file size down)

Re: NEW addon : The volcanoes of the World

Posted: 13.08.2008, 22:45
by BillC
Over on the Tectonic Plates thread (http://www.shatters.net/viewtopic.php?f=6&t=12669&start=30#p106456) Andrea was asking about a volcanoes list without names which could be used with Cham's tectonic plates add-on. Cham stripped out the names easily enough, but I got to thinking about using the technique he had used for Earth craters, where he supplied a circle CMOD to mark the craters independently from the locations marker (see http://www.shatters.net/viewtopic.php?f=6&t=12561).

So I renamed my volcanoes.ssc file to volcanoes_locs.ssc, and created a new volcanoes.ssc from the old one. Then I altered the entries to be surface features using the circle.cmod mesh, just like the earth_craters.ssc entries. I arbitrarily chose a radius that would show up well without being TOO large (Radius 10.0), and set all circles to be at an altitude of (nearly) zero.

If you're using Vincent's script for toggling the craters, it will also simultaneously toggle the volcanoes. And when you turn on the location labels, which are positioned at the volcano peaks, you can clearly see the altitude against the red circles at the volcano bases.

Using Cham's layers scheme (http://www.shatters.net/viewtopic.php?f=9&t=12702), I set up my start.celx so that toggling the tectonic plates also toggles the surface features (volcanoes and craters). I also experimented with changing the location types so the location labels could be displayed independently - currently I'm using Type "MO" (montes) for the volcanoes, Type "TA" (terrae) for the plates, and Type "AA" (craters) for the craters.

So thanks, Cham, for all the wonderful add-ons! And for giving me an excuse to start learning Lua.

If anyone would like (and with Cham's permission - it's really all his work), I can post the altered volcanoes file for download.

Re: NEW addon : The volcanoes of the World

Posted: 13.08.2008, 23:23
by Cham
BillC wrote:If anyone would like (and with Cham's permission - it's really all his work), I can post the altered volcanoes file for download.

Not only you do have my permission (!), but please, publish all good modifications you can do too, so all users here can benefit from them ! :) There may be a kind of evolutive effect, in the addon section, and this could be a great thing for Celestia. :wink:

Re: NEW addon : The volcanoes of the World

Posted: 14.08.2008, 13:41
by BillC
OK, here goes . . .

I'll rename my volcanoes.ssc to volcano_bases.ssc to avoid confusion. This is the file that defines a circle for each volcano:

volcano_bases.zip


And here are a couple of screenshots (sorry about my low-res Earth - ancient computer!):

Image

Image

And here is the relevant celx code:

Code: Select all

    -- start.celx

    objects_t = {}

    objects_t[1] = {
          "Sol/Earth/Tectonic Plates"
       }

    for n = 1, 2 do
       for k, object in pairs(objects_t[n]) do
          obj = celestia:find(object)
          obj:setvisible(false)
       end
    end

    earth = celestia:find("Sol/Earth")
    earth_children = earth:getchildren()
    surface_feature_visible = false
    for k, child in pairs (earth_children) do
       if child:getinfo().type == "surfacefeature" then
          child:setvisible(false)
       end
    end

    -- Layer 1 ---------------------------------------------------
    function toggleObj1()
      for k, object in pairs(objects_t[1]) do
        obj1 = celestia:find(object)
        obj1:setvisible(not obj1:visible())
      end
      surface_feature_visible = not surface_feature_visible
      for k, child in pairs(earth_children) do
        if child:getinfo().type == "surfacefeature" then
          child:setvisible(not child:visible())
        end
      end
      if surface_feature_visible then
        celestia:print("Earth surface features activated", 1)
      else
        celestia:print("Earth surface features deactivated", 1)
      end
    end

    keyhandlers =
    {
       ["C-1"] = toggleObj1
    }

    function handlekey(k)
        handler = keyhandlers[k.char]
        if (handler ~= nil) then
            handler()
            return true
        else
            return false
        end
    end

    celestia:registereventhandler("key", handlekey)

    -- end

Re: NEW addon : The volcanoes of the World

Posted: 14.08.2008, 14:19
by t00fri
Certainly a neat add-on.

In case the respective data base contains date info about last eruptions of the volcanos (didn't check!), I suggest the displayed volcanos are color-coded depending on the last eruption date.

Either, one only distinguishes a 2 state coloration:

active <--> sleeping state

or one might use a whole color range, say,

between e.g. pale rose and dark red,

if there is detailed date info about last eruptions.

The proposed mods should be quite trivial yet VERY instructive, provided the info is available in the data base.

Fridger

Re: NEW addon : The volcanoes of the World

Posted: 14.08.2008, 14:23
by t00fri
Incidentally, I know there are also VERY detailed maps/data bases about ongoing and past earth quake activities on Earth, notably along the "ring of fire"! Hence, a "quake layer" may be another closely related instructive display... The last quakes could be made flashing, for example, the Richter scale magnitude could also be implemented via a color code ;-)

Fridger

Re: NEW addon : The volcanoes of the World

Posted: 14.08.2008, 14:24
by ElChristou
Not a bad idea!