Jump to content
  • Advertisement

Archived

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

brohan

Help Regarding tuts

This topic is 5276 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

hi i am new to programming and i have been havig problem learning directx somehow i understood ttill the tutorial 3 at andypike but at tutorial 4 i am tottaly confused can anyone help me with this it will be very kind of you if you help me in a easier way since i dont want logging data just how to load two or more cube on the screen

Share this post


Link to post
Share on other sites
Advertisement
What part don''t you understand? Depth buffers?

A depth buffer is what determines if vertices are drawn infront, behind, or in the middle of other vertices when they are rendered. IIRC, it consists of floats that tell the current depth of the pixel. If a vertex has a lower value than the current pixel (it''s closer) it overdraws it. If it has a higher value (it''s behind) it isn''t drawn. For a better explanation, look up "Depth Buffers" in the SDK docs.


Dustin Franklin
Mircrosoft DirectX MVP

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!