Roll & Rock

[ Roll & Rock ] [ Main Menu ]


  


21838


Date: February 26, 2021 at 22:14:51
From: Skywise, [DNS_Address]
Subject: 3D program update


Decided to do a video. Still pictures just don't do
this program justice.

Database is Hauksson relocated quakes for Southern
California 1981-2019. Beautiful how one can see the
fault planes so nicely. Color is by depth, 20km per
cycle. Depth is not exaggerated.

Forgive the lack of editing.

Brian


Responses:
[21846] [21847] [21839] [21840] [21841] [21842] [21843] [21844] [21845]


21846


Date: February 28, 2021 at 12:38:59
From: MikeInIndioCA, [DNS_Address]
Subject: Re: 3D program update


Beautifully done!


Responses:
[21847]


21847


Date: February 28, 2021 at 20:04:12
From: Skywise, [DNS_Address]
Subject: Re: 3D program update


Thank you, Mike.

It's something I've been wanting to do for a long time,
but my programming skills just weren't good enough. And
still much to learn yet.

Brian


Responses:
None


21839


Date: February 27, 2021 at 07:03:07
From: Roger, [DNS_Address]
Subject: Re: 3D program update


Skywise;

That's beautiful!

Takes me back. I wrote something similar some 30 years ago, in DOS basic, but it didn't look anywhere near as good as yours.

I also wrote a program called IMP to plot quakes on a map. Believe it or not, the government sold a number of copies.

Fixed the file problem and my program now works perfectly.

The odd thing is that I had changed the format already because I knew the NEIC format was not suitable. I think the problem was that I failed to save the changed version.

Roger


Responses:
[21840] [21841] [21842] [21843] [21844] [21845]


21840


Date: February 27, 2021 at 08:24:10
From: Skywise, [DNS_Address]
Subject: Re: 3D program update


As you may recall I also made a simple version over 10
years ago. In fact, it's still available on my webpage.
But that program didn't use the graphics card to do the
rendering. All the graphics calculations and drawing
were done by the CPU, and therefore were slow and
simple. Loading more than a few tens of thousands of
quakes really killed performance.

This program uses OpenGL graphics to do the rendering
on the GPU. Much faster. Much prettier. I've already
tested it with the entire catalog of USGS data with
nearly 4 million records, and it still runs smooth.

Admittedly, it may not run as good on other's computers
since I have a high performance laptop. But I can
simulate that by running my laptop on battery which
really throttles the CPU/GPU, and I still get
acceptable performance.

Although I rendered the quake hypocenters as pinpoints,
the program is capable of using other shapes. It's just
that so many quakes rendered with anything other than
points has everything blurring together. And points
render a bit faster. Although not implemented yet, it
will be able to display focal mechanism beachballs.

Just to give an idea of the performance I'm getting,
with 3,975,308 quakes plotted, with or without
antialiasing:

On wall power:
No AA: 222 fps
8x AA: 93 fps

Battery only:
No AA: 19 fps
8x AA: 8 fps

8 fps is horrible for a game, but for this application
it's still usable. The user can interact with the
program and see results 'instantly'.

And when I talk Frames Per Second, yes, that's in the
animation mode the program already has. There's just
nothing animating yet. With that in mind, those numbers
will drop once animation calculations start happening.
But it helps me get a feel for performance as I change
the code.

Brian


Responses:
[21841] [21842] [21843] [21844] [21845]


21841


Date: February 27, 2021 at 08:45:36
From: Roger, [DNS_Address]
Subject: Re: 3D program update


Skywise;

You might consider approaching the USGS with your program. It's something that would be of general interest to quake minded individuals.

Roger


Responses:
[21842] [21843] [21844] [21845]


21842


Date: February 27, 2021 at 09:53:01
From: Skywise, [DNS_Address]
Subject: Re: 3D program update


I'm sure some of them might find it useful. But it's
purely visualization. Pretty pictures. It's not an
analysis tool. Although I've tried to keep that
possibility in mind.

There's just so much that needs to be done yet. For
example, the color by depth thing is hard coded just to
test the rendering engine. There are no user controls
yet.

FYI, I've encountered a new data format. It's a fixed
columnar text format so it's very easy to read. But the
Hauksson data is in something called GrowClust. The
name taken from the software used to do the
relocations. But that brings up another aspect I need
to implement. User editable import/export formats.
Right now all the data formats are hard coded. And
quake data comes in a variety of formats.

Actually, a LOT of things are hard coded right now that
I eventually want the user to have access to. But the
challenge is also to make the user interface easy for
the casual quake aficionado like we have on these
boards yet powerful for those like you and I who might
want to do prediction analysis.

Brian


Responses:
[21843] [21844] [21845]


21843


Date: February 27, 2021 at 10:08:16
From: Roger, [DNS_Address]
Subject: Re: 3D program update


Skywise;

That's a hard job you have ahead of you.

User control is always a can of worms, where things can get screwed up by input errors you hadn't thought of.

Seems to me you have a marketable product with a limited customer base. But it'll be a great tool to play around with.

Roger


Responses:
[21844] [21845]


21844


Date: February 27, 2021 at 20:19:51
From: Skywise, [DNS_Address]
Subject: Re: 3D program update


"Never underestimate the power of human stupidity." - Robert A. Heinlein


"Only two things are infinite, the universe and human stupidity, and I'm not sure about the former." - Albert Einstein



Responses:
[21845]


21845


Date: February 28, 2021 at 11:00:49
From: ryan, [DNS_Address]
Subject: Re: 3D program update


wonder if ol' al paraphrased that from gurdjieff...

"Two things in life are infinite; the stupidity of man and the mercy of God." ― George Gurdjieff


Responses:
None


[ Roll & Rock ] [ Main Menu ]

Generated by: TalkRec 1.17
    Last Updated: 30-Aug-2013 14:32:46, 80837 Bytes
    Author: Brian Steele