Synopsis

PDX_MSGT gdx_WriteX3D(long option, int gdxModel, const char *x3dFileName, int lodRange)

Purpose

Map GDX model to X3D

Description

The specified GDX model will be traversed and each supported GDX entity will be mapped to the corresponding X3D entity. Currently only GDX tessellated data is supported for geometry. Assembly and LOD (alternate shape representation) data are also supported.

Input

option

Options (not used)

gdxModel

GDX model to map to X3D

x3dFileName

Name of X3D file to create

lodRange

Camera-to-object distance transitions for each LOD

Return

GDX_NOERR or error