News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

OpenGL Depth Function

Started by Farabi, February 13, 2012, 12:38:49 PM

Previous topic - Next topic

Farabi



Anyone know how to set the depth function so it always draw anything below the ground?
Those who had universe knowledges can control the world by a micro processor.
http://www.wix.com/farabio/firstpage

"Etos siperi elegi"

baltoro

In DirectX you would do it by setting the dimensions of a clipping plane.
Maybe, this will help: Viewports and Clipping, DirectX 9
OpenGL undoubtedly has a similar function.
...Maybe, this will help: Clipping, Culling, and Visibility Testing, OpenGL FAQ
Baltoro