uinosoft / t3d-model-viewer

A Model Viewer based on t3d.js and t3d-effect-composer.
BSD 3-Clause "New" or "Revised" License
6 stars 3 forks source link

Is there a way to display the scene hierarchy inside the viewer? #3

Open EXT-OWL opened 5 months ago

EXT-OWL commented 5 months ago

I'm pretty sure this is going to be straight-forward but I'm having a hard time implementing this - drop a model and along with the provided options add a box to display the scene hierarchy. Is this is a function that the t3d library has?

EXT-OWL commented 5 months ago

Nevermind - I found the code in the viewer that displays it. Its printGraph, correct?

shawn0326 commented 5 months ago

Yes, I simply used console.group to output the tree structure on the console

EXT-OWL commented 5 months ago

thanks @shawn0326 .

How would I go about making a scene hierarchy which displays the nodes that I can toggle on and off?