Sign in to follow this  
bewter

Culling front facing polys behind front most

Recommended Posts

Hi all, topic says it all. I need to cull front facing polygons behind front most polygons. I'm assuming theres a sort thats need on the polygons so that I don't draw them or draw over them. I'm also curious how front most objects are drawn also, as I'm assuming I will be dealing with this issue too. Cheers

Share this post


Link to post
Share on other sites
visible surface determination is a big subject, there is a lot of potential ways to do this, you could use a bsp and beam tree approach, pre-calculate a pvs for a certain area you are in, portals, draw a bsp front-to-back and have a z-buffer type mask for each pixel that has been drawn, the list goes on, usally with todays hardware its more about culling a large section of polygons rather than every single one and it doesnt matter so much if you have some overdraw.

Quakes VSD
Portals

edit:

if you just want to draw the correct polygon in front of the other for the right effect the best ways are to eith use a bsp-tree or a z-buffer

[Edited by - staticVoid2 on September 17, 2008 2:03:24 AM]

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this