L3DT documentation
Large 3D terrain generator

L3DT release v15.11SE

Standard Edition released on the 6th of November, 2015 (see announcement)

Major changes

Sapphire

  • Fixed misalignment of HF tool and mouse cursor.
  • New HF tool window:
    • Changed radius→width for Bulldozer, Leveller, and LevelAt
    • Added tools / settings tabs, with settings list control.
    • Added radius edit in tool window.
    • Update window brush radius when using scroll wheel (including inline edit)
    • Fix focus/foreground/etc to get correct click behaviour.
    • Range validation, and edit box colouring
  • Support modification of tool strength (see request, and here too.)
  • Added brute force rendering for 3×3 patch of terrain surrounding cursor when in heightifeld editing mode.
  • Added pgup/pgdn key mappings for zoom (see request).
  • Fixed sticky movement keys problem (see bug report.)
  • Changed window instance from static to dynamic (new/delete), to prevent errors when destructor is called after API pulldown.
  • When re-opening window, resume at previous camera position, unless map is different height/width/scale (see request.)
  • Fixed support for large heightfields (see bug report.)
    • Implemented dynamic loading / freeing of patches to support larger maps (see blog post.)
    • Moved locks to CsHeightfieldTile class.
  • Fixed bug in 'LevelAt' tool (see bug report.)
  • Added ability to set walking, flying speeds, and turbo boost (see request).
  • Used CzPointList for storing camera paths and teleport points.
  • Added rendering of camera paths and teleport points.
  • Disabled texture rendering when TX tile size is not divisible by TX res ratio (i.e. tex tile doesn't contain integral number of heightfield pixels.) This change ensures there is no texture streaking.

System resource management

  • Modified mosaic caching to use memory less aggressively (target = 50, threshold = 60), to avoid memory allocation problems due to fragmentation.
  • Yield one core in calc manager when app is inactive.
    • Added checkbox option to thread settings dlg.

L3DTio_TorqueTER

  • Add support for detail textures.
  • Automatically resize texture DDSs to nearest power of two.
  • Add support for multiple terrain blocks.
    • Repack DDS's to remove texture seams (note texture wrapping bug in T3D is still present, apparently).
    • Document (here).
  • Add support for tiled TER files.
  • Fix 'CzVar::Delete' error in exporter.
  • Spawn on land if centre of map is under water.
    • Change materials.cs exporter to always modify existing materials.cs file, and only ask to update changed materials.
  • Change T3D material manager to include 'reset' and 'reset all' buttons, which when pressed restore settings directly from L3DT materials, not via alpha map list (this is so that we can change the detail map in an L3DT material and have it reflected in T3D materials without having to re-gen alphas.)
  • Added explicit splat settings to materials (and material editor), to more easily support export to T3D or other engines.

Edge blending

  • Created atEdgeBlender plugin.
  • Add zeofunc for custom blending.
  • Implemented WrapX, WrapY, and WrapXY menu options.
  • Implemented tile blending menu option.
  • Added linear regression mode to correct mismatches in tile vertical scaling (includes edge blending too).
  • Created box wrapping script (see request, see script).
  • Implemented asymptotic weighting of blend function.
  • Write tutorial.
  • Added support for single-axis tiling.

Selected area heightfield previews

  • Added 'selected area' support to DesignInflate16/32/64/128 menu options, if area is selected in DM (see request).
  • Add nice 'generate area' menu option for HF.

Mask-based AM modification

  • Created plugin to apply a land type to the attributes map, masked by a mask map in the project or by an external PNG image file. Thresholding is settable (1→100%). Support area selection for partial overlay.
  • Added ability to auto-calculate land type with defined climate.

Algorithms

  • Added 'Merge heightmaps' blending modes and mask controls (see thread, see docs.)
  • Removed requirement for AM and WM from mask generator (see request).
  • Added 'Operations→Heightfield→DesignInflate→DesignInflate64 step by step' option.
  • Added 'Heightfield.ConvertToU16' filter and 'calc.HF.ConvToU16' functions.
  • Added 'General.Branch' filter to ZeoGraph

Other changes

User interface

  • Modified progress display to not be topmost.
  • Modified atImportMap to support design map.
  • Modified atImportMap to peek at mosaic type to get name, type, &c.
  • Modified 'export selected area' option to use export wizard abnd 'nice' coordinate selection dialog box.
  • Export wizard was changed from threaded to inline.
  • Modified 'Import custom map layer' option to peek map name & type when loading mosaic maps.
  • Modified 'Operations→Heightfield→Resize heightfield' menu option to (optionally) re-calculate the horizontal scale to maintain the same physical map area (see forum post).
  • Modified atScriptEditor to allow non-modal script editing, which is now used for new/edit script menu options in L3DT. Also prevents z-fighting with function browser.
  • Modified HF size wizard to not use UpdateData function.
  • Added 'Image drape' to toolbar.
  • Added map long names to image drape window.
  • Moved 'Extensions→atCalc_AM_Image' menu option to 'Operations→Attributes map→Convert to RGB image'.
  • Move 'Extensions→atLightMapSequence' menu option to 'Operations→Light map→Generate sequence'.

atMeshDecimator

  • Implemented optimised tile edges (see blog post, request.)
    • Optimise vertex normals across tile edges.
  • Added 'Resize images to nearest power-of-two' option.

File I/O

  • Add greyscale range export options to bitmap export (see request, also here.)
  • Added material name to alpha map XML export (see request.)
  • Added G16 file format support for 8-bit images for Unreal alpha map support.

Zeolite &c

  • Updated to API v13.3
  • Added 'zeoUnloadAPI' to plugin API, called after shutdown to unload all function handles.
  • Added 'CzMaterial' wrapper class & functions.
  • Added map.Init2, map.GetAllocMode, map.GetTileSize, map.GetTileCountX, map.GetTileCountY, map.GetFormat, format.GetExt (via ZeoWrap).

Bug fixes

  • Fixed coordinate mapping and optimised CMapWrap::ZeroMap.
  • Modified L3DTio_FI to load 32-bit heightfield PNGs as RGBA (see bug report.)
  • Fixed tile cache problem when generating 19-layer alpha maps on 41k x 41k pixel map (see bug report.)
  • Fixed deadlock problem when running multi-core calculations (e.g., large light map, seems to occur when compactor is in state 0.)
  • Fixed bug in L3DT, Sapphire and atAttribBrush, which crashed when sub-unity fractional TX_in_HF values were used (see bug report). Fixed in L3DT 12.12 build 0 (with new Sapphire & atAttribBrush. Uses new params for calc.TX.GenTile function).
  • Fixed bug in texture generator that produced undefined output colour when a land type had no assigned material (see bug report.)
  • Fixed 16 bit PNG tile export (see this thread.)
  • Made attributes map brush (and attributes map calc) mark alpha map settings as dirty after edits so that alpha map list can be re-calculated (see this thread.)
    • Added 'Operations→Alpha maps→Clear alpha maps' menu option to delete maps and settings.
  • Fix enable state of 'Operations→Design map→Generate from HF' (see this thread.)
  • Fix file extension doubling-up in climate editor (See bug report, and here.)
  • Fixed loss of water body list (see this thread.)
  • Fixed water body loading error (see this post.)
  • Fixed automatic refreshing of main window after Sapphire closes (see bug report).
  • Fixed crash in function browser when re-opening window.
  • Fixed cropping bug in DM→HF subsampling in SE (see bug report.)
  • Fixed atMergeMap plugin to support virtual mosaic maps (see bug report.)
  • Fixed offset in inflation algorithm that caused features in the HF to be shifted 1/2 a DM pixel to the southwest.
  • Fixed flickering redraw in main window when viewing single map (odd conditions required to trigger this one.)
  • Fixed CurvFilter and GradFilter to work with irregular sized maps (bug was introduced in v11.11)
  • Fixed lake flooding for small maps, which was looking for subsampled HF mipmaps that did not exist (now generates subsampled map if required mipmap not found).
  • Fixed 'mask.LoadMask' filter, which had syntax error in script.
  • Fixed app (and about box) to get copyright date from compiler build date.
  • Fixed app to get version number from EXE file info.
  • Fixed saving of water body list. Was saving with null file name. Is redundant anyhow, as WBL is saved in project, but kept for backwards compatibility.
  • Modified XML writer to replace non-print characters (<0x20) with '?'. Non-print chars were sometimes in Author field of climate XML files, which then became unreadable.
  • Fixed plugin error messages with zvar_Delete (was due to SetVarRef clearing parent handle of CVar)
  • Fixed fault with coordinate range validation in edit record of L3DTio_Backup.
  • Fixed various bugs in ZeoGraph
  • Fixed crashing bug in Save project.
  • Fixed crashing bug in Sapphire when viewing controls PDF.

Documentation

 
l3dt/history/v15.11.txt · Last modified: 2017/08/31 05:50 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki