Skip to content

OBJLoader @giro3d/piero-plugin-obj ​

Add support for OBJ datasets.

This module is part of an external package

To use it, you must install @giro3d/piero-plugin-obj.

Usage with createPieroApp ​

js
import { OBJLoader } from '@giro3d/piero-plugin-obj';

createPieroApp({
    ...
    modules: [
        OBJLoader
        ...
    ]
})

Usage ​

This module provides the obj dataset type, configured as such:

json
{
    "type": "obj",
    "url": "http://example.com/path/to/dataset.obj",
    ...
}

See OBJDataset for all available options.