three3d/extras/index library

Properties

COMMA num
getter/setter pair
DEGS_TO_RADS double
getter/setter pair
DIGIT_0 num
getter/setter pair
DIGIT_9 num
getter/setter pair
EXTRA_LOD_SIGMA List<double>
getter/setter pair
LOD_MIN int
This class generates a Prefiltered, Mipmapped Radiance Environment Map (PMREM) from a cubeMap environment texture. This allows different levels of blur to be quickly accessed based on material roughness. It is packed into a special CubeUV format that allows us to perform custom interpolation so that we can support nonlinear formats such as RGBE. Unlike a traditional mipmap chain, it only goes down to the LOD_MIN level (above), and then creates extra even more filtered 'mips' at the same LOD_MIN resolution, associated with higher roughness levels. In this way we maintain resolution to smoothly interpolate diffuse lighting while limiting sampling computation.
getter/setter pair
MINUS num
getter/setter pair
PERIOD num
getter/setter pair
px CubicPoly
getter/setter pair
py CubicPoly
getter/setter pair
pz CubicPoly
getter/setter pair
SPACE num
getter/setter pair
tmp Vector3
getter/setter pair

Functions

addContour(dynamic vertices, dynamic contour) → dynamic
removeDupEndPts(dynamic points) → dynamic