public class SoUniformGridProjectionClipping extends SoUniformGridClipping
SoUniformGridClipping
. It defines its clipping texture by the depth map of the given sceneGraph
in the given axis
orientation.
Notes:
sceneGraph
on top of the clipped volume might result in z-fighting artefacts due to depth precision. In order to avoid this issue it is necessary to use a SoPolygonOffset
node before the geometry to render.
sceneGraph
should not contain any draggers or manipulators because they will become part of the clipping texture and might lead to unwanted results. As a workaround, you can put draggers outside of sceneGraph
, put an SoTransform
inside your sceneGraph
and connect it to your dragger.
sceneGraph
contains holes, you should set the minFilter
and magFilter
fields to NEAREST to avoid interpolation issues between holes and the true surface.
SoUniformGridClipping.undefinedValue
is set to the default depth (i.e. 1).
See SoUniformGridClipping
for detailed behavior and limitations.
UniformGridProjectionClipping {
sceneGraph | NULL |
axis | Y |
extent | -1,0,-1 1,1,1 |
filename | "" |
image | 0 0 0 |
wrapS | CLAMP_TO_EDGE |
wrapT | CLAMP_TO_EDGE |
model | MODULATE |
enableCompressedTexture | false |
blendColor | 0 0 0 |
enableBorder | false |
borderColor | 0 0 0 0 |
maxAnisotropy | 1.0 |
minFilter | AUTO |
magFilter | AUTO |
loadingMode | AUTO |
useAutoMipmap | false |
internalFormat | AUTO_INTERNAL_FORMAT |
thickness | 0 |
clipBelow | false |
clipAbove | true |
See also:
SoUniformGridClipping
, SoVolumeClippingGroup
, SoPolygonOffset
SoUniformGridClipping.AxisType
SoTexture2.Loadings
SoTexture.FileTypes, SoTexture.Filters, SoTexture.HW_Features, SoTexture.InternalFormats, SoTexture.Models, SoTexture.WrapType
Inventor.ConstructorCommand
Modifier and Type | Field and Description |
---|---|
SoSFNode |
sceneGraph
Scene graph containing shapes to project on the orthogonal plane defined by
axis field to generate the SoUniformGridClipping height map texture. |
axis, clipAbove, clipBelow, extent, size, thickness, undefinedValue, X, Y, Z
AUTO, filename, image, loadingMode, MANUAL, renderToTextureProperty, wrapT
ADD, ALPHA_FLOAT16, ALPHA_FLOAT32, ALPHA_FORMAT, ALPHA12, ALPHA16, ALPHA4, ALPHA8, AUTO_INTERNAL_FORMAT, BLEND, blendColor, BMP, borderColor, CLAMP, CLAMP_TO_BORDER, CLAMP_TO_EDGE, COMBINE, COMPRESSED_ALPHA, COMPRESSED_INTENSITY, COMPRESSED_LUMINANCE, COMPRESSED_LUMINANCE_ALPHA, COMPRESSED_LUMINANCE_ALPHA_LATC2, COMPRESSED_LUMINANCE_LATC1, COMPRESSED_RED_GREEN_RGTC2, COMPRESSED_RED_RGTC1, COMPRESSED_RGB, COMPRESSED_RGBA, COMPRESSED_SIGNED_LUMINANCE_ALPHA_LATC2, COMPRESSED_SIGNED_LUMINANCE_LATC1, COMPRESSED_SIGNED_RED_GREEN_RGTC2, COMPRESSED_SIGNED_RED_RGTC1, DDS, DECAL, DEPTH_COMPONENT16, DEPTH_COMPONENT24, DEPTH24_STENCIL8, enableBorder, enableCompressedTexture, GIF, HDRI, HW_AUTOMIPMAP, HW_BORDER_CLAMP, HW_COMPRESSION_LATC, HW_COMPRESSION_RGTC, HW_COMPRESSION_S3TC, HW_DEPTHFORMAT, HW_EDGE_CLAMP, HW_FLOATFORMAT, HW_LAST, HW_MIRRORED_REPEAT, HW_NPOT, INTENSITY_FLOAT16, INTENSITY_FLOAT32, INTENSITY_FORMAT, INTENSITY12, INTENSITY16, INTENSITY4, INTENSITY8, internalFormat, JPEG, JPEG2000, LINEAR, LINEAR_MIPMAP_LINEAR, LINEAR_MIPMAP_NEAREST, LUMINANCE_ALPHA, LUMINANCE_ALPHA_FLOAT16, LUMINANCE_ALPHA_FLOAT32, LUMINANCE_FLOAT16, LUMINANCE_FLOAT32, LUMINANCE_FORMAT, LUMINANCE12, LUMINANCE12_ALPHA12, LUMINANCE12_ALPHA4, LUMINANCE16, LUMINANCE16_ALPHA16, LUMINANCE4, LUMINANCE4_ALPHA4, LUMINANCE6_ALPHA2, LUMINANCE8, LUMINANCE8_ALPHA8, magFilter, maxAnisotropy, minFilter, MIRRORED_REPEAT, model, MODULATE, NEAREST, NEAREST_MIPMAP_LINEAR, NEAREST_MIPMAP_NEAREST, NUM_FILETYPES, PGX, PNG, PNM, R3_G3_B2, RAS, REPEAT, REPLACE, RGB, RGB_FLOAT16, RGB_FLOAT32, RGB_FORMAT, RGB10, RGB10_ALPHA2, RGB12, RGB16, RGB4, RGB5, RGB5_ALPHA1, RGB8, RGBA_FLOAT16, RGBA_FLOAT32, RGBA_FORMAT, RGBA12, RGBA16, RGBA2, RGBA4, RGBA8, SGI, TIFF, UNKNOWN, useAutoMipmap, wrapS
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
SoUniformGridProjectionClipping()
Constructor.
|
getMaxNumberOfUniformGrids, getMaxNumberOfUniformGrids, isSupported, isSupported
loadTexture
getBitmapFileType, isSupported, setBitmapFileType
affectsState, callback, copy, copy, distribute, doAction, getAlternateRep, getBoundingBox, getByName, getMatrix, getPrimitiveCount, getRenderUnitID, GLRender, GLRenderBelowPath, GLRenderInPath, GLRenderOffPath, grabEventsCleanup, grabEventsSetup, handleEvent, isBoundingBoxIgnoring, isOverride, pick, rayPick, search, setOverride, touch, write
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaults
dispose, getEXTERNPROTO, getName, getPROTO, isDisposable, isSynchronizable, setName, setSynchronizable
getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
public final SoSFNode sceneGraph
axis
field to generate the SoUniformGridClipping
height map texture.Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com