Unit a3dge.World3D
Uses Functions and Procedures Variables
Description
A world.
It manages objects through an octree.
An octree starts as a huge cube that contains the world, then we split this cube in eight smaller cubes and each one in eight more and again... Each cube is a node. Each object object is in the smallest node that can contain it completly (an object can't be in more than one cube). If a node isn't visible then no-one of the child nodes is visible. An object will not colide with another object wich isn't in the same branch (both child or parent).
Overview
Classes, Interfaces, Objects and Records
Types
Constants
Description
Types
TNotifyObject3DEvent = procedure (aObject: TObject3D) of Object; |
Used to notify events to objects.
|
Constants
DefaultWorldSize = 1000; |
Default world size.
|
DefaultOctreeDepth = 4; |
Default octree depth.
|
DefaultAmbientLight: TColorDescription = (0.2, 0.2, 0.3, 1.0); |
Default ambient light.
|
MaxTransparentObjects = 250; |
Number of transparent object it will render per frame.
|
Generated by PasDoc 0.15.0. Generated on 2025-07-31 11:41:01.
|