VRML Reader

VRML
File Extension WRL, VRML
Supported Versions 1.0 and 2.0
Platforms wy ly my an in
Tessellation t_green Supported
B-Rep c_grey N/A
PMI c_grey N/A

The VRML Reader provides full access to the assembly, view, PMI data stored within a VRML file. A file does not need to have a particular extension to be read correctly by HOOPS Exchange, however, the file extensions of VRML files that you can expect are:

  • .VMRL
  • .WRL

How to Import From VRML

To load a VRML, use A3DAsmModelFileLoadFromFile(). The A3DParamsLoadData structure is used to customize the loading behavior:

A3DAsmModelFile* pModelFile = 0;

A3DRWParamsLoadData sReadParam;
A3D_INITIALIZE_DATA(A3DRWParamsLoadData, sReadParam);
sReadParam.m_sGeneral.m_bReadSolids = true;

// ... set other A3DRWParamsLoadData fields as necessary

A3DAsmModelFileLoadFromFile("path/to/file.vrml", &sReadParam, &pModelFile);

See Simple Load and Export for more about loading model files.

Tessellation

The triangle information along with the RGBA coloring and texture information is parsed and provided via HOOPS Exchange.

B-Rep

This concept is not supported by VRML.

PMI

This concept is not supported by VRML.

Assembly

This concept is not supported by VRML.

Views

This concept is not supported by VRML.