Titania X3D Editor

Bring Colours to Your Life.

Titania v4.3.3

Bring Colours to Your Life.

X3D Reference

Building elevation grids

Motivation

  • Building terrains is very common
    • Hills, valleys, mountains
    • Other tricky uses...
  • You can build a terrain using an IndexedFaceSet node
  • You can build terrains more efficiently using an ElevationGrid node

Syntax: ElevationGrid

An ElevationGrid geometry node creates terrains:

  • xDimension and zDimension - grid size
  • xSpacing and zSpacing - row and column distances

XML Encoding

Classic Encoding

An ElevationGrid geometry node creates terrains:

  • height - elevations at grid points

XML Encoding

Classic Encoding

An ElevationGrid geometry node creates terrains

  • solid - shape is solid
  • ccw - faces are counter-clockwise

XML Encoding

Classic Encoding

A sample elevation grid

XML Encoding

Classic Encoding

Summary

  • An ElevationGrid node efficiently creates a terrain
  • Grid size is specified in the xDimension and zDimension fields
  • Grid spacing is specified in the xSpacing and zSpacing field
  • Elevations at each grid point are specified in the height field

Cookies and other Technologies

By clicking »Accept« or continuing to use the site, you agree to the use of CREATE3000 and third-party cookies and other similar technologies to enhance your browsing experience, analyze and measure your engagement with our content, and provide more relevant ads on CREATE3000 websites and others. Learn more about cookies. You can withdraw your consent at any time.