NEW addon : The volcanoes of the World

Post requests, images, descriptions and reports about work in progress here.
Avatar
Topic author
Cham M
Posts: 4324
Joined: 14.01.2004
Age: 60
With us: 20 years 8 months
Location: Montreal

NEW addon : The volcanoes of the World

Post #1by Cham » 18.07.2008, 19:35

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).
"Well! I've often seen a cat without a grin", thought Alice; "but a grin without a cat! It's the most curious thing I ever saw in all my life!"

BobHegwood
Posts: 1803
Joined: 12.10.2007
With us: 16 years 11 months

Re: NEW addon : The volcanoes of the World

Post #2by BobHegwood » 18.07.2008, 19:57

When do you sleep my friend? :wink:
Brain-Dead Geezer Bob is now using...
Windows Vista Home Premium, 64-bit on a
Gateway Pentium Dual-Core CPU E5200, 2.5GHz
7 GB RAM, 500 GB hard disk, Nvidia GeForce 7100
Nvidia nForce 630i, 1680x1050 screen, Latest SVN

ajtribick
Developer
Posts: 1855
Joined: 11.08.2003
With us: 21 years 1 month

Re: NEW addon : The volcanoes of the World

Post #3by ajtribick » 18.07.2008, 20:03

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

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

Re: NEW addon : The volcanoes of the World

Post #4by chris » 18.07.2008, 21:40

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

Avatar
Topic author
Cham M
Posts: 4324
Joined: 14.01.2004
Age: 60
With us: 20 years 8 months
Location: Montreal

Re: NEW addon : The volcanoes of the World

Post #5by Cham » 18.07.2008, 23:44

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).
"Well! I've often seen a cat without a grin", thought Alice; "but a grin without a cat! It's the most curious thing I ever saw in all my life!"

Avatar
Topic author
Cham M
Posts: 4324
Joined: 14.01.2004
Age: 60
With us: 20 years 8 months
Location: Montreal

Re: NEW addon : The volcanoes of the World

Post #6by Cham » 19.07.2008, 02:48

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.
"Well! I've often seen a cat without a grin", thought Alice; "but a grin without a cat! It's the most curious thing I ever saw in all my life!"

BobHegwood
Posts: 1803
Joined: 12.10.2007
With us: 16 years 11 months

Re: NEW addon : The volcanoes of the World

Post #7by BobHegwood » 19.07.2008, 04:52

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
Last edited by BobHegwood on 15.08.2008, 03:23, edited 1 time in total.
Brain-Dead Geezer Bob is now using...
Windows Vista Home Premium, 64-bit on a
Gateway Pentium Dual-Core CPU E5200, 2.5GHz
7 GB RAM, 500 GB hard disk, Nvidia GeForce 7100
Nvidia nForce 630i, 1680x1050 screen, Latest SVN

Avatar
Topic author
Cham M
Posts: 4324
Joined: 14.01.2004
Age: 60
With us: 20 years 8 months
Location: Montreal

Re: NEW addon : The volcanoes of the World

Post #8by Cham » 19.07.2008, 13:33

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. :)
"Well! I've often seen a cat without a grin", thought Alice; "but a grin without a cat! It's the most curious thing I ever saw in all my life!"

BobHegwood
Posts: 1803
Joined: 12.10.2007
With us: 16 years 11 months

Re: NEW addon : The volcanoes of the World

Post #9by BobHegwood » 19.07.2008, 14:06

Ask, and ye shall receive... :wink:
Image
Image
Image
Click on each image for very high-resolution views.

Thanks, Bob
Brain-Dead Geezer Bob is now using...
Windows Vista Home Premium, 64-bit on a
Gateway Pentium Dual-Core CPU E5200, 2.5GHz
7 GB RAM, 500 GB hard disk, Nvidia GeForce 7100
Nvidia nForce 630i, 1680x1050 screen, Latest SVN

Avatar
Topic author
Cham M
Posts: 4324
Joined: 14.01.2004
Age: 60
With us: 20 years 8 months
Location: Montreal

Re: NEW addon : The volcanoes of the World

Post #10by Cham » 19.07.2008, 14:12

Pretty impressive, Bob 8O . Thanks !
"Well! I've often seen a cat without a grin", thought Alice; "but a grin without a cat! It's the most curious thing I ever saw in all my life!"

BobHegwood
Posts: 1803
Joined: 12.10.2007
With us: 16 years 11 months

Re: NEW addon : The volcanoes of the World

Post #11by BobHegwood » 19.07.2008, 14:14

Cham wrote:Pretty impressive, Bob 8O . Thanks !
No, as always... Thank YOU! :wink:
Brain-Dead Geezer Bob is now using...
Windows Vista Home Premium, 64-bit on a
Gateway Pentium Dual-Core CPU E5200, 2.5GHz
7 GB RAM, 500 GB hard disk, Nvidia GeForce 7100
Nvidia nForce 630i, 1680x1050 screen, Latest SVN

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

Re: NEW addon : The volcanoes of the World

Post #12by Chuft-Captain » 21.07.2008, 07:09

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
"Is a planetary surface the right place for an expanding technological civilization?"
-- Gerard K. O'Neill (1969)

CATALOG SYNTAX HIGHLIGHTING TOOLS LAGRANGE POINTS

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

Re: NEW addon : The volcanoes of the World

Post #13by chris » 21.07.2008, 16:23

I'd suggest using topographic prominence rather than altitude as the value from which to derive the importance of the volcanoes.

--Chris

duds26
Posts: 328
Joined: 05.02.2007
Age: 34
With us: 17 years 7 months
Location: Europe

Re: NEW addon : The volcanoes of the World

Post #14by duds26 » 25.07.2008, 14:58

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)

BillC
Posts: 19
Joined: 09.07.2003
With us: 21 years 2 months
Location: Woonsocket RI

Re: NEW addon : The volcanoes of the World

Post #15by BillC » 13.08.2008, 22:45

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.
BillC

Avatar
Topic author
Cham M
Posts: 4324
Joined: 14.01.2004
Age: 60
With us: 20 years 8 months
Location: Montreal

Re: NEW addon : The volcanoes of the World

Post #16by Cham » 13.08.2008, 23:23

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:
"Well! I've often seen a cat without a grin", thought Alice; "but a grin without a cat! It's the most curious thing I ever saw in all my life!"

BillC
Posts: 19
Joined: 09.07.2003
With us: 21 years 2 months
Location: Woonsocket RI

Re: NEW addon : The volcanoes of the World

Post #17by BillC » 14.08.2008, 13:41

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
BillC

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 6 months
Location: Hamburg, Germany

Re: NEW addon : The volcanoes of the World

Post #18by t00fri » 14.08.2008, 14:19

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
Image

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 6 months
Location: Hamburg, Germany

Re: NEW addon : The volcanoes of the World

Post #19by t00fri » 14.08.2008, 14:23

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
Image

ElChristou
Developer
Posts: 3776
Joined: 04.02.2005
With us: 19 years 7 months

Re: NEW addon : The volcanoes of the World

Post #20by ElChristou » 14.08.2008, 14:24

Not a bad idea!
Image


Return to “Add-on development”