Converts an OSG scene object to a binary file in the batched 3D model (B3DM) format.
Syntax
bytea ST_AsB3DM(scene sceneObject);Parameters
| Parameter | Description |
|---|---|
sceneObject | The scene object to convert. Must be of type osg. |
Usage notes
The FeatureTable in the output B3DM file has a length of 0.
Only scene objects of type
osgare supported.
Examples
SELECT ST_AsB3DM(ST_sceneFromOSGB('\xa10e916c4545fb1a0...'));Output:
\x6233646d01000000.....