Class: RefinementTexture

X3DOM
Component: Texturing

.nodeTypes. RefinementTexture

HTML Encoding and Default Values

<RefinementTexture autoRefinement='true' background='x3dom.nodeTypes.X3DBackgroundNode' crossOrigin='""' depthMap='false' dimensions='[128,128,4]' excludeNodes='x3dom.nodeTypes.X3DNode' eyeToScreenDistance='0.041' fog='x3dom.nodeTypes.X3DFogNode' format=''jpg'' interpupillaryDistance='0.064' iterations='7' lensCenter='0.05329' maxLevel='this._vf.iterations' metadata='X3DMetadataObject' oculusRiftVersion='1' origChannelCount='0' repeatS='true' repeatT='true' scale='true' scene='x3dom.nodeTypes.X3DNode' showNormals='false' stamp0='"gpuii/stamps/0.gif"' stamp1='"gpuii/stamps/1.gif"' stereoMode=''NONE'' textureProperties='x3dom.nodeTypes.TextureProperties' update=''NONE'' url='[]' viewpoint='x3dom.nodeTypes.X3DViewpointNode' vScreenSize='0.07074' ></RefinementTexture>

Inheritance


Constructor

RefinementTexture(ctx)

Constructor for RefinementTexture

Parameters:
Name Type Argument Default Description
ctx Object <optional>
null context object, containing initial settings like namespace

Fields

These are the X3D / X3DOM fields of this node. Values should usually be received / set as strings via DOM functions (i.e., using setAttribute("myFieldName", "myFieldValue") and getAttribute("myFieldName")).
Name Type Default Value Range Inheritance Standard Description
autoRefinement SFBool true Defines whether texture refinement should be managed by another component.
background SFNode X3DBackgroundNode RenderedTexture Sets a background texture.
crossOrigin SFString "" X3DTextureNode Cross Origin Mode
depthMap SFBool false RenderedTexture Determines if textures shall be treated as depth map. If it is TRUE, then the generated texture will also contain the depth buffer.
dimensions MFInt32 [128,128,4] [0, inf] RenderedTexture Sets the width, height, color components (and number of MRTs).
excludeNodes MFNode X3DNode RenderedTexture Defines a list of sibling nodes that should be ignored.
eyeToScreenDistance SFFloat 041 RenderedTexture Sets the eye to screen distance in m for stereo rendering.
fog SFNode X3DFogNode RenderedTexture Sets a fog node.
format SFString 'jpg' Specifies the image format of the dataset.
interpupillaryDistance SFFloat 064 RenderedTexture Sets the eye distance for stereo rendering.
iterations SFInt32 7 Maximum level that should be loaded (if GSM is smaller than on DSL6000)
lensCenter SFVec3f 05329 RenderedTexture Sets the lens Position on Screen.
maxLevel SFInt32 iterations Maximum level that should be loaded (if GSM is smaller than on DSL6000)
metadata SFNode X3DMetadataObject X3DNode Field to add metadata information
oculusRiftVersion SFFloat 1 RenderedTexture Very experimental field to change between DK1 and DK2.
origChannelCount SFInt32 0 [0, inf] X3DTextureNode Specifies the channel count of the texture. 0 means the system should figure out the count automatically.
repeatS SFBool true X3DTextureNode Specifies whether the texture is repeated in s direction.
repeatT SFBool true X3DTextureNode Specifies whether the texture is repeated in t direction.
scale SFBool true X3DTextureNode Specifies whether the texture is scaled to the next highest power of two. (Needed, when texture repeat is enabled and texture size is non power of two)
scene SFNode X3DNode RenderedTexture Sets a separate, potentially independent, subscene. If unset, the same scene is used.
showNormals SFBool false RenderedTexture Specifies whether normals are shown.
stamp0 SFString gif" Specifies the first stamp texture.
stamp1 SFString gif" Specifies the second stamp texture.
stereoMode SFString 'NONE' ["NONE","LEFT_EYE","RIGHT_EYE"] RenderedTexture Sets render information for stereo rendering.
textureProperties SFNode TextureProperties X3DTextureNode Sets a TextureProperty node.
update SFString 'NONE' ["NONE", "NEXT_FRAME_ONLY", "ALWAYS"] RenderedTexture Specifies when the texture is updated.
url MFString [] X3DTextureNode Sets the url to a resource.
viewpoint SFNode X3DViewpointNode RenderedTexture Specifies the viewpoint that is used to render the texture content.
vScreenSize SFFloat 07074 RenderedTexture Sets the vertical screen size in m for stereo rendering.