Recently in my Three JS project, I decided to incorporate JSON files obtained from clara.io for some cool objects. Upon successfully loading them using THREE.ObjectLoader
, the objects rendered perfectly on the scene.
However, when attempting to present the wireframe of these objects utilizing THREE.WireframeHelper
, an unexpected error arose:
Uncaught TypeError: Cannot read property 'array' of undefined
Evidently, it seems that the object's geometry is missing or undefined.
So this raises a question: Are custom shapes loaded through this method always devoid of geometries? If not, how can I acquire an object with its geometry preserved?