0

I've noticed considerable Q&A on this topic within this group, but it is all rather dated - sometimes over 10 years ago. Given the need/demand for doing this, wondering/hoping if some recent three.js code might exist to make it easier. The situation is something like this:

  • Read in a possibly large/complex VRML model using the provided loader
  • Determine how much of its hierarchy and details have been retained in the three.js scene graph
  • Systematically traverse in a depth-first fashion starting at the SG root node
  • Determine the type and properties of each node visited
  • Determine the hierarchical position of each of these nodes
oldman
  • 21
  • 3
  • You can traverse `children` array in the scene object and write your own logic for dfs and hierarchy. I'm not sure there's a method readily available in ThreeJS to achieve this – lifetimeLearner007 Oct 14 '22 at 03:14

0 Answers0