Follow

RT Nik Lever
Tip 7:
If a loaded model is not visible it may be a scale problem. Get its minimum and maximum axis-aligned position using the Box3 class.
const bounds = new THREE.Box3();
bounds.setFromObject(object);
Line 56 in CodePen example.
codepen.io/nik-lever/pen/RwMra

:sys_twitter: twitter.com/NikLever/status/15

· · Twitter · 0 · 0 · 0
Sign in to participate in the conversation
小森林

每个人都有属于自己的一片森林,也许我们从来不曾走过,但它一直在那里,总会在那里。迷失的人迷失了,相逢的人会再相逢。愿这里,成为属于你的小森林。