Re: Procedural landscape generating algorithm.



mike3 wrote:

I was trying to figure out a method to solve the following problem.
I wanted to build a program, like a game (although not with any
objective), where you could explore a whole virtual "galaxy" of
planets and stars in a star ship. But the thing is that I want it so

The problem with _star systems_ though is, of course, running out of
math
precision. Vertices will lose resolution due to the huge displacement
terms.
Although at double-precision we can go to 4 x 10^15 m before error
becomes
larger than 1m, the furthest planets in a star system may be at like
10^13 m
or beyond. This is enough to start getting (somewhat) visible
quantization
artifacts. Which would mean the star-system data would likely have to
be stored
via some arbitrary-precision format (quad-precision would be plenty, I
think,

I think 64-bit floats will be plenty. In a galaxy 100000 light years
(10^18)km across, with an origin in the centre say, you can specify a
star's position to 10 or 100km resolution. That's not bad, given that
a star might be millions of km across.

Then you store positions within each star-system relative to the
centre of the star, already giving you resolution better than 1m. And
then perhaps relative to the centre of each planet (now you can
specify things to the nearest micron).

When you work out the maths, the result only needs to be accurate to
the nearest pixel (or sub-pixel) on your screen.

Your star-data may also have to be procedurely generated as well as
the planets, as there might be 10^11 stars in your galaxy (although
being your own galaxy, you can choose a rather sparse one compared
with ours).

This way you might as well put a few extra galaxies floating around,
while you're about it.

You might want to look at Celestia, if you haven't already done so,
for a couple more ideas.

--
Bartc
.



Relevant Pages

  • Re: Planetary taxonomy: A diplomatic solution
    ... as "extra-solar planets" are no longer planets! ... your statement (may we could clarify this binary star ... Actually IAU Resolution 5A restricts its domain to ... classifying objects in our own solar system; ...
    (sci.astro)
  • Daily Report #4118
    ... sequence mass of ~0.2 solar mass with S/N>= 10. ... The resultant cleaned cluster CMDs will ... Further Resolving the Puzzle of Hybrid Star X-rays ... Measuring the Mass Dependence of Early-Type Galaxy Structure ...
    (sci.astro.hubble)
  • Daily #4035
    ... The Unique Star Cluster System of M85 ... cluster systems is a testament to the rich variation in galaxy ... ACS Observations of the Galaxies in A Giant Ly-alpha Nebula at z~2.7 ...
    (sci.astro.hubble)
  • Pizza Gram
    ... Is Earth the only place that delivers Pizza? ... to confirm that one is not alone when eating pizza at a Star Party! ... fp is the fraction of those stars with planets (thought to be ...
    (sci.astro.amateur)
  • Astronomers Discover Dusty Remains of Two Terrestrial Planets
    ... Two terrestrial planets orbiting a mature sun-like star some 300 ... light-years from Earth recently suffered a violent collision, ... astronomers at UCLA, Tennessee State University and the California ...
    (sci.space.news)