org.deegree.rendering.r3d.opengl.rendering.dem.manager
Class TerrainRenderingManager
java.lang.Object
org.deegree.rendering.r3d.opengl.rendering.dem.manager.TerrainRenderingManager
public class TerrainRenderingManager
- extends Object
The TerrainRenderingManager class manages the current fragments, it uses fragment shaders if multiple
texture are requested.
- Version:
- $Revision: $, $Date: $
- Author:
- Rutger Bezema, last edited by: $Author: rbezema $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TerrainRenderingManager
public TerrainRenderingManager(RenderFragmentManager fragmentManager,
double maxPixelError,
double maxProjectedTexelSize,
float[] ambientColor,
float[] diffuseColor,
float[] specularColor,
float shininess)
- Parameters:
fragmentManager - maxPixelError - maxProjectedTexelSize - ambientColor - of the terraindiffuseColor - of the terrainspecularColor - of the terrainshininess - of the terrain.
render
public void render(RenderContext glRenderContext,
boolean disableElevationModel,
Colormap colorMap,
TextureManager[] textureManagers)
- Renders a view-optimized representation of the terrain geometry using the given scale, colormap and/or textures
to the specified GL context.
- Parameters:
glRenderContext - disableElevationModel - colorMap - to rendertextureManagers - to retrieve the textures from.
getCurrentLOD
public Set<RenderMeshFragment> getCurrentLOD()
- Returns:
- the current lod
getFragmentManager
public final RenderFragmentManager getFragmentManager()
- Returns:
- the fragmentManager
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org]]>