mrdoob/three.js — Issue #797: LOD and visibility of multiple objects (using proxy Object3D)
Author: Pitel
Created: 2011-11-26 09:06:51+00:00
State: open

I'm trying to have multiple object as `LOD`'s level. I figured out it's not possible directly (calling multiple `addLevel(object, 1000)`), so I used proxy `Object3D`, add the meshes to it, and then add the proxy to `LOD`. So far so good.

But it doesn't work. `LOD` is setting the `visible` of the proxy boject, but it doesn't propagated to it's childs.

My propositiion is to use `SceneUtils.showHierarchy()` in LOD instead of simple setting `visible` parameter of single object.