This is the GDML
file loader for the new version of three.js
.
Based on the work of tpmccauley.
pnpm i threejs-gdml-loader
import {GDMLLoader} from "threejs-gdml-loader"
gdmlLoader = new GDMLLoader();
gdmlLoader.load("path-to-asset", (object)=>{
scene.add(object);
});
This version is still under development. Only simple geometry import has been tested so far.