LightsprintSDK 2021.08.08
|
#include <RRObject.h>
Public Attributes | |
const void * | base |
unsigned | level |
RRReal | distanceMin |
RRReal | distanceMax |
Information about single object, its place in hierarchy of LODs.
Objects with the same base represent the same entity, they are levels of detail (LOD) of the same entity. If they share base but differ in level, they are different LODs of the same entity and they don't shadow and illuminate each other. Only level 0 shadows and illuminates other entities. If they share both base and level, they are the same representation of the same entity, i.e. they shadow and illuminate each other.
const void* rr::RRObject::LodInfo::base |
Objects with the same base represent the same entity, they are levels of detail (LOD) of the same entity.
unsigned rr::RRObject::LodInfo::level |
RRReal rr::RRObject::LodInfo::distanceMin |
Object is rendered only if its distance satisfies distanceMin<=distance<distanceMax.
RRReal rr::RRObject::LodInfo::distanceMax |
Object is rendered only if its distance satisfies distanceMin<=distance<distanceMax.