We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

v3d.module.js:1 ReferenceError: LineBasicMaterial is not defined

Home Forums Programming v3d.module.js:1 ReferenceError: LineBasicMaterial is not defined

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #77856
    atomiccfc
    Participant

    Hello,
    When I try to load my glb model I got an error v3d.module.js:1 ReferenceError: LineBasicMaterial is not defined.

    My js code:

    import * as v3d from './node_modules/verge3d/build/v3d.module.js';
    
    const myApp = new v3d.App('v3d-container');
    
    const url = 'CAAM_0_ARC.glb';
    
    myApp.loadScene(url, function() {
        console.log('Is Loaded', myApp.scene);
    
        myApp.scene.background = new v3d.Color(0x000000);
        myApp.enableControls();
        myApp.run();
    });
    • This topic was modified 2 hours, 59 minutes ago by atomiccfc.
    • This topic was modified 2 hours, 47 minutes ago by atomiccfc.
    • This topic was modified 2 hours, 37 minutes ago by atomiccfc.
    • This topic was modified 2 hours, 27 minutes ago by atomiccfc.
Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.