Class TTrianglesShadowCastersList

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TTrianglesShadowCastersList = class(TTriangle3SingleList)

Description

Triangles array for shadow casting object.

This guarantees that the whole array has first OpaqueCount opaque triangles, then the rest is transparent. The precise definition between "opaque" and "transparent" is done by TShape.Transparent. This is also used by OpenGL rendering to determine which shapes need blending.

This separation into opaque and transparent parts (with OpaqueCount marking the border) is useful for shadow volumes algorithm, that must treat transparent shadow casters a little differently.

Hierarchy

  • TTrianglesShadowCastersList

Overview

Properties

Public property OpaqueCount: Cardinal read FOpaqueCount;

Description

Properties

Public property OpaqueCount: Cardinal read FOpaqueCount;

Numer of opaque triangles on this list. Opaque triangles are guarenteed to be placed before all transparent triangles on this list.


Generated by PasDoc 0.12.1 on 2013-02-04 20:26:51