javascript - OrhographicCamera fails to render the whole scene -
i trying render scene using three.js , webgl in isomorphic way. came across articles mention orthographiccamera
achieve this. added , noticed weird results. part of scene black , seems if not being painted.
see jsbin: http://jsbin.com/vefohapido/3/edit?js,output
when change camera perspective one, whole ground visible.
thank help.
the position of camera close origo (the center point of scene) , line parts on frustum near plane. try this:
camera.position.x = 300; camera.position.y = 400; camera.position.z = 300;
Comments
Post a Comment