update plan and notes
This commit is contained in:
54
Plan.org
54
Plan.org
@@ -647,11 +647,55 @@ Viewer:
|
||||
- Optional disk cache of tiles and plates, keyed by a hash of the
|
||||
settings.
|
||||
- Go-to-coordinates, PNG export of the current view.
|
||||
- Later: gravel-beach layer; exact ore deposits
|
||||
(=GenDeposits.GeneratePartial= and the disc generators). That would
|
||||
place real ore blocks, make the pick readings exact, and read
|
||||
silver, gold and peridot. Checking it needs the save's chunk
|
||||
blocks decoded.
|
||||
- Later: gravel-beach layer; deposits, see below.
|
||||
|
||||
** Next: deposits (planned, after the Sex fixes)
|
||||
Placing the deposits themselves, not just the pick's reading of them.
|
||||
Soil deposits come first: they sit at the surface, so they don't need
|
||||
the 3D rock column, and the steps up to the disc are the first half of
|
||||
exact ore deposits anyway.
|
||||
|
||||
*Soil deposits.* Clay (red, blue, fire), peat, and terra preta
|
||||
(=soil-compost=) from =deposits/soil/*.json=. All use
|
||||
=disc-followsurfacebelow= at depth 0, with a climate gate and
|
||||
=maxYRoughness= 1. They have no ore map, so the pick never reads them;
|
||||
showing them means placing them.
|
||||
1. *Where each deposit starts.* =GenDeposits.GeneratePartial= runs one
|
||||
=chunkRand=, positioned at the chunk, through every top-level deposit
|
||||
in load order. Per deposit it takes one =NextInt(100)= for the
|
||||
fractional try. Per try it takes two =NextInt(32)= for the position
|
||||
and one =NextInt(10000000)= for the deposit's own seed. A deposit's
|
||||
try count depends only on its ore map, which matches the save
|
||||
already. The deposit's own work runs on =depositRand=, and a failed
|
||||
climate check returns before using =chunkRand=. So every deposit's
|
||||
centre and seed per chunk replays without generating any ore. Child
|
||||
deposits come after the main loop and don't disturb it.
|
||||
2. *Climate gate* (=GenDeposits.GenDeposit=). Uses rain and temperature
|
||||
from the climate map at the centre, adjusted for the =RainHeightMap=
|
||||
height, and the relative Y against =minY=/=maxY=. The climate map
|
||||
and the terrain height are ported. =RainHeightMap= at this pass
|
||||
should be the terrain or the water surface; check that.
|
||||
3. *Disc shape.* =DiscGenerator.GenDeposit=: radius, the shape
|
||||
distortion noise, =maxYRoughness=, and thickness. The ore deposits
|
||||
need the same port.
|
||||
4. *Topsoil.* =inblock= is =soil-{fertility}-{cover}=, low or medium
|
||||
fertility with cover none to normal; fire clay wants bauxite sand or
|
||||
gravel. Fertility and grass cover come from =GenBlockLayers= and
|
||||
=blocklayers.json=, which are not ported. Without them, patches show
|
||||
where the game puts them on sand, gravel or rich soil.
|
||||
- *Checking.* The save stores surface blocks only in chunk blobs, which
|
||||
aren't decoded yet. Until they are, walk to a few patches in game.
|
||||
|
||||
*Exact ore deposits.* The same replay, then the disc, sea-level,
|
||||
anywhere and child generators placing into the strata column. That
|
||||
places real ore blocks and makes the pick readings exact: the pick's
|
||||
column holds the ore of its own chunk's deposits. It also reads silver
|
||||
and gold (children of quartz) and peridot (a child of olivine), whose
|
||||
host is their parent's ore. Checking needs the chunk blocks decoded.
|
||||
|
||||
*Meanwhile, cheap:* the gold and silver ore maps already match the
|
||||
save. They could go in the Minerals list as "ore map only", marked as
|
||||
not a pick reading.
|
||||
|
||||
* Risks
|
||||
- *Bit-exactness* of the noise and the Rivers trigonometry. The
|
||||
|
||||
Reference in New Issue
Block a user