Opened 18 years ago
Last modified 17 years ago
#200 new defect
Transparency Handling in the Graphics Engine
Reported by: | patrick | Owned by: | nobody |
---|---|---|---|
Priority: | blocker | Milestone: | Old Orxonox tickets orx-v0 |
Component: | GraphicsEngine | Version: | |
Keywords: | Cc: | ||
Referenced By: | References: |
Description
Introduction
Transparency in OpenGL is handled very differentlly from the rest of the drawing process. Transparent (blended) objects need to be drawn manually from back to front in order to be displayed correctly (because the depth buffer is disabled for transparent stuff).
Goal
In order to support transparent objects in Orxonox, the graphics engine needs to be able to identify transparent objects. All transparent objects must then be handled in a seperate list ordered from back to front (relative to the current camera position). If an object itelf has more than one transparent face, the faces need to be ordered from back to front as well. But this is the problem of the objects itself and doesn't need to be looked at in this problem.
Change History (1)
comment:1 Changed 17 years ago by bknecht
- Milestone changed from Features to Old Orxonox tickets
Milestone Features deleted