Table of contents Chapter index Previous slide Next slide 247
Syntax: ElevationGrid

Controlling shading on coordinate-based geometry
Syntax: ElevationGrid
  • An ElevationGrid geometry node creates terrains
  • normal - list of normals
  • normalPerVertex - control normal binding
  • Always binds one normal to each grid point or square, in order
  • Shape {
    
        appearance Appearance { . . . }
    
        geometry ElevationGrid {
    
            height [ . . . ]
    
            normal Normal { . . . }
    
            normalPerVertex TRUE
    
        }
    
    }