org.osm2world.core.target.jogl
public class JOGLRenderingParameters extends Object
Modifier and Type | Class and Description |
---|---|
static class |
JOGLRenderingParameters.Winding |
Constructor and Description |
---|
JOGLRenderingParameters() |
JOGLRenderingParameters(JOGLRenderingParameters.Winding frontFace,
boolean wireframe,
boolean useZBuffer) |
JOGLRenderingParameters(JOGLRenderingParameters.Winding frontFace,
boolean wireframe,
boolean useZBuffer,
boolean drawBoundingBox,
boolean useShadowVolumes,
boolean useShadowMaps,
int shadowMapWidth,
int shadowMapHeight,
int shadowMapCameraFrustumPadding,
boolean useSSAO,
int SSAOkernelSize,
float SSAOradius,
boolean overwriteProjectionClippingPlanes) |
public JOGLRenderingParameters(JOGLRenderingParameters.Winding frontFace, boolean wireframe, boolean useZBuffer, boolean drawBoundingBox, boolean useShadowVolumes, boolean useShadowMaps, int shadowMapWidth, int shadowMapHeight, int shadowMapCameraFrustumPadding, boolean useSSAO, int SSAOkernelSize, float SSAOradius, boolean overwriteProjectionClippingPlanes)
frontFace
- winding of the front face for backface culling; null disables
backface cullingwireframe
- renders just a wireframe instead of filled surfacesuseZBuffer
- enables the z buffer, should usually be truedrawBoundingBox
- draw the bounding box used when rendering to determine all
relevant primitivesuseShadowVolumes
- renders only shadows casted by non-transparent objects with
shadow volumesuseShadowMaps
- renders the shadows of all objects with a shadow map, but only
the back faces (from light source view) cast a shadow. if
shadow volumes are activated too, the shadow map is only used
for non opaque objects.shadowMapWidth
- resolution of the shadow mapshadowMapHeight
- resolution of the shadow mapshadowMapCameraFrustumPadding
- padding in meter for the camera frustum to use for the shadow
map camera. Increase here if objects outside the current
camera view frustum, that should throw a shadow won't do so.useSSAO
- use screen space ambient occlusionSSAOkernelSize
- size of the sampling kernel (number of samples)SSAOradius
- sampling radius in meteroverwriteProjectionClippingPlanes
- optimize the clipping planes of the camera: reduce them to
match the world bounding boxpublic JOGLRenderingParameters(JOGLRenderingParameters.Winding frontFace, boolean wireframe, boolean useZBuffer)
frontFace
- winding of the front face for backface culling;
null disables backface cullingwireframe
- renders just a wireframe instead of filled surfacesuseZBuffer
- enables the z buffer, should usually be truepublic JOGLRenderingParameters()