three-geo icon indicating copy to clipboard operation
three-geo copied to clipboard

Invalid in node

Open fengtianxi001 opened this issue 3 years ago • 1 comments

I already set useNodePixels: truein the constructor,but the children of the object is empty.The same code is available in browsers.

My approach is to add global.require = require;const THREE = require("three") to the head of the file and add module.exports = ThreeGeo at the end of the file.

I would like to ask if my usage is wrong. I look forward to your reply

fengtianxi001 avatar May 06 '21 15:05 fengtianxi001

Could you post a minimal script example that can reproduce the problem?

j-devel avatar May 08 '21 01:05 j-devel