Advertisement Jump to content

Archived

This topic is now archived and is closed to further replies.

ogracian

Do I need to implement this in DX8?

This topic is 6293 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello I am writing a very basic 3D engine using DirectX 8, and I want to add Hidden surface removal, using the 3D backface removal algorithm, but my question is do I need to implement this in DirectX 8?, I ask this because Dx8 has a render state (D3DRS_CULLMODE, D3DCULL_CW) wich seems to do the same thing? By other Hand if I implement this with my own code, how can I use to remove the "invisible" polygons from my vertex buffer? Thanks in advance! Oscar

Share this post


Link to post
Share on other sites
Advertisement
No you didn''t need to implement your own backface culling algorithm. It is taken care by DX8.
What you need is higher level culling mechanism such as view frustum culling, octree, BSP, etc.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!