• Advertisement

Archived

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

Clearing the screen

This topic is 5037 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
No, you don''t need to clear the screen if you are going to fill it anyway, you would just be wasting time.

Share this post


Link to post
Share on other sites
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