ExternalGeometry

Error message

Deprecated function: The each() function is deprecated. This message will be suppressed on further calls in book_prev() (line 775 of /home/drbiz/public/tools.realism.com/modules/book/book.module).

Primary tabs

New node that handles external geometry imports from SRC, glTF, and other sources. See Fraunhofer's definition of this node in X3DOM for further information.

ExternalGeometry : ??? {
[in.out]
ccw
SFBool
TRUE
[in,out]
lit
SFBOOL
TRUE
[in,out]
metadata
SFNode
NULL
[X3DMetadataObject]
[in,out]
solid
SFBool
TRUE
[in,out]
url
SFString
""
[in,out]
useGeoCache
SFBool
TRUE



}

The ExternalGeometry node loads in geometry from an external file. No modification to the geometry can be performed from the X3D environment. The external file is specified in the url field. If the value of the field changes, the currently loaded geometry shall be discarded and loading of the new external file shall commence. Support must be provided for SRC or glTF binary formated files. Optional support may be provided for other standard formats including OBJ and FBX.

The geometry is displayed according the ccw, solid, and lit fields. These define the ordering of vertext coordinates of the external geometry with respot to the user-provided or automatically generated normal vectors (ccw); back-face culling (solid), and whether the external geometry is rendered with (TRUE) or without (FALSE) lighting.

The metadata field is the standard parent for node metadata.

Most geospatial primitives use a geo-chache. The useGeoCache field allows the developer to disable the cache for the external geometry.