Skip to content

Latest commit

 

History

History
20 lines (19 loc) · 514 Bytes

README.md

File metadata and controls

20 lines (19 loc) · 514 Bytes

Threejs-GDML-loader

This is the GDML file loader for the new version of three.js.
Based on the work of tpmccauley.

Installation

pnpm i threejs-gdml-loader

Usage

import {GDMLLoader} from "threejs-gdml-loader"

gdmlLoader = new GDMLLoader();
gdmlLoader.load("path-to-asset", (object)=>{
    scene.add(object);
});

Demo

Demo

Tips

This version is still under development. Only simple geometry import has been tested so far.