Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个相机 (pos, dir) 我有一个物体 (x,y,z)
如何检测物体何时可以用我的相机看到?
你没有足够的信息。您需要了解相机平截头体。比你计算对象是否在截锥体内。在此处了解更多信息:
http://www.lighthouse3d.com/tutorials/view-frustum-culling/ http://www.songho.ca/opengl/gl_transform.html