Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
MapMagic World Generator
MapMagic World Generator
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 157
    • Issues 157
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Requirements
    • Requirements
    • List
  • Operations
    • Operations
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Issue Boards
  • Denis Pahunov
  • MapMagic World GeneratorMapMagic World Generator
  • Wiki
    • Objectsgenerators
  • Floor

Last edited by Denis Pahunov Mar 08, 2020
Page history

Floor

Places all of the objects positions at the heightmap level.

When working with Objects or Trees outputs, that have Relative Height feature it might seem that the objects are placed on the ground level by default. However, object nodes have no data about terrain height unless they are output with Objects/Trees output or floored with the Floor. Objects height is zero by default.
Effect1

When the objects are adjusted with the Adjust node, for instance, when raised 10 units - all of the objects height is set to 10, not 10+terrain height.
Effect2

The Floor node make the real object height equal to the current heightmap provided.
Effect3

Use Cases:

Floor generator might be handy if you'd like to place objects with the height that is not related with the terrain. You can input any map as a node heightmap, including the one that won't be output to the final terrain:
UseCase1

Floor node should also be used on converting objects to splines with the Interlink node. Otherwise the resulting spline will be placed at the zero level instead of terrain.
UseCase2

Properties:

  • Relativity: in Absolute mode the final object height is equal to the terrain height at it's position, no matter of the previous object height. In Relative mode the terrain height is appended to object position: for instance, if some Adjust node sets it height to 10, and then Floor with terrain height 20 is applied, the final object height would be 30.
Clone repository
  • Batch
    • Biomes
    • Combined
    • Objects
    • Splines
    • temp
    • temp1
  • BiomesGenerators
    • BiomesSet
    • Description
    • Function
    • Whittaker
  • Brush
    • Resolution
  • Combine
    • Combined
    • temp
    • temp1
  • MM1
    • Creating a custom generator
View All Pages