Home Products Download Order Contacts

comp.graphics.algorithms

Subject: backface culling w/ camera question




Say I have a cube in my 3D scene. The camera is being moved around via
camera matrix transformations. Its possible to "fly" the camera towards and
past the cube so that the cube is then behind the camera.

It seems like backface culling will not totally hide the cube since some of
its faces still "face" the camera even though the camera is not pointing at
it. How can I totally hide things behind the camera? It would seem fairly
obvious I need to know which way the camera is pointing, but Im not sure how
to derive this from the position and rotation information I give my camera,
and then use it to hide faces if theyre not being viewed by the camera.


TIA





Reply


View All Messages in comp.graphics.algorithms

path:


Replies:
Re: backface culling w/ camera question
Re: backface culling w/ camera question
Re: backface culling w/ camera question

Copyright 2006 WatermarkFactory.com. All Rights Reserved.