Jump to content
  • Advertisement

Archived

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

Asia

Clearing the screen

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

Usually, before draw a frame you clear the screen, but, if you render all the screen every frame (for example in an FPS indoor level, you draw all polys, draw the sky, ...) is needed to clear the screen? I ask this in general, can be opengl,d3d,ddraw,vesa,mode13 ...

Share this post


Link to post
Share on other sites
Advertisement
Maybe i''m all wrong here, but if you''re doing 3D, you''ll need to clear the depth buffer or else it won''t render correctly

hope that helps !
Matt

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
yes it help! thanks!

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!