coolray.org FAQ Contact Us
CoolRay Banner
CoolRay / Documentation
PreviousUpNext

8. Scene Objects

Metadata

Strategy

abstract class Strategy

extends Object

StrategySimple

class StrategySimple

extends Strategy

StrategyPreview

class StrategyPreview

extends Strategy

propertytypedefaultdescription
startinteger8
endinteger1

StrategyAntialiasUniform

class StrategyAntialiasUniform

extends Strategy

propertytypedefaultdescription
thresholddouble0.3
strengthinteger3

XYZPigment

class XYZPigment

extends Pigment

propertytypedefaultdescription
patternPattern
colormapColorMap

Pigment

abstract class Pigment

extends Object

SolidColorPigment

class SolidColorPigment

extends Pigment

propertytypedefaultdescription
colorcolor<rgbt <1, 1, 1, 0>

MultiLayerPigment

class MultiLayerPigment

extends Pigment

propertytypedefaultdescription
_layersPigment
filterdouble1

ColorMapFont

class ColorMapFont

extends ColorMap

propertytypedefaultdescription
fontstring
textstring
color1color
color2color

ColorMap

abstract class ColorMap

extends Object

SimpleColorMap

class SimpleColorMap

extends ColorMap

propertytypedefaultdescription
color1color<rgbt <0, 0, 0, 0>
color2color<rgbt <1, 1, 1, 0>

ColorMapListEntry

class ColorMapListEntry

extends Object

propertytypedefaultdescription
valuedouble0
colorcolor<rgbt <1, 1, 1, 0>

ColorMapList

class ColorMapList

extends ColorMap

propertytypedefaultdescription
_entryColorMapListEntry

ColorMapBitmap

class ColorMapBitmap

extends ColorMap

propertytypedefaultdescription
imagestring
backgroundcolorcolor<rgb <1, 1, 1>

ColorMap2DFunction

class ColorMap2DFunction

extends ColorMap

propertytypedefaultdescription
functionFunction2D
backgroundcolor<rgbt <0, 0, 0, 0>

Function2D

class Function2D

extends Object

propertytypedefaultdescription
colormapColorMap

Function2DMandelbrot

class Function2DMandelbrot

extends Function2D

propertytypedefaultdescription
colormapColorMapinherited
rmindouble-2
imindouble-1.3
rmaxdouble1
imaxdouble1.3
iterationinteger32

Function2DJulia

class Function2DJulia

extends Function2D

propertytypedefaultdescription
colormapColorMapinherited
rmindouble-2
imindouble-2
rmaxdouble2
imaxdouble2
iterationinteger32
rbasedouble-0.1
ibasedouble0.8

Pattern

abstract class Pattern

extends Object

propertytypedefaultdescription
transformTransformation

CheckerPattern

class CheckerPattern

extends Pattern

propertytypedefaultdescription
transformTransformationinherited
sizedouble1

GradientPattern

class GradientPattern

extends Pattern

propertytypedefaultdescription
transformTransformationinherited
directionvector<1, 0, 0>
noisedouble0
turbulencedouble0
lambdadouble2.5
octavesdouble10
omegadouble0.5

OnionPattern

class OnionPattern

extends Pattern

propertytypedefaultdescription
transformTransformationinherited
noisedouble0
turbulencedouble0
lambdadouble2.5
octavesdouble10
omegadouble0.5

WoodPattern

class WoodPattern

extends Pattern

propertytypedefaultdescription
transformTransformationinherited
noisedouble0.2
turbulencedouble0
lambdadouble2.5
octavesdouble10
omegadouble0.5
xturbulencedouble0
yturbulencedouble0
zperturbationdouble0.9
zfrequencydouble2
zoffsetdouble0
znoisedouble0.7

BozoPattern

class BozoPattern

extends Pattern

propertytypedefaultdescription
transformTransformationinherited
noisedouble0.2
turbulencedouble0
frequencydouble1

MarblePattern

class MarblePattern

extends Pattern

propertytypedefaultdescription
transformTransformationinherited
noisedouble0.2
turbulencedouble0
frequencydouble1

DentPattern

class DentPattern

extends Pattern

propertytypedefaultdescription
transformTransformationinherited
noisedouble0.2
turbulencedouble0
frequencydouble1

CylindricPattern

class CylindricPattern

extends Pattern

propertytypedefaultdescription
transformTransformationinherited

RadialPattern

class RadialPattern

extends Pattern

propertytypedefaultdescription
transformTransformationinherited

PlanarPattern

class PlanarPattern

extends Pattern

propertytypedefaultdescription
transformTransformationinherited
tilebooleantrue

Normal

abstract class Normal

extends Object

propertytypedefaultdescription
transformTransformation

PatternNormal

class PatternNormal

extends Normal

propertytypedefaultdescription
transformTransformationinherited
patternPattern
sizedouble1

BumpmapNormal

class BumpmapNormal

extends Normal

propertytypedefaultdescription
transformTransformationinherited
bumpmapBumpmap
sizedouble1

Bumpmap

abstract class Bumpmap

extends Object

ColorMapBumpmap

class ColorMapBumpmap

extends Bumpmap

propertytypedefaultdescription
patternPattern
colormapColorMap

Texture

abstract class Texture

extends Object

propertytypedefaultdescription
transformTransformation
normalNormal

SimpleTexture

class SimpleTexture

extends Texture

propertytypedefaultdescription
transformTransformationinherited
normalNormalinherited
pigmentPigment
finishFinish

Finish

class Finish

extends Object

propertytypedefaultdescription
ambientdouble0.1
diffusedouble0.6
speculardouble0.4
specular_sizedouble0.25
reflectiondouble0
refractiondouble0
metallicdouble0
iordouble1

UnionBounded

class UnionBounded

extends Primitive

propertytypedefaultdescription
transformTransformationinherited
textureTextureinherited
produce_causticsbooleanfalseinherited
point1vector<0, 0, 0>
point2vector<1, 1, 1>
_objectsPrimitive

Triangle

class Triangle

extends Primitive

propertytypedefaultdescription
transformTransformationinherited
textureTextureinherited
produce_causticsbooleanfalseinherited
point1vector<0, 0, 0>
point2vector<1, 0, 0>
point3vector<1, 1, 0>

Torus

class Torus

extends Primitive

propertytypedefaultdescription
transformTransformationinherited
textureTextureinherited
produce_causticsbooleanfalseinherited
centervector<0, 0, 0>
radiusAdouble1
radiusBdouble0.25

Terrain

class Terrain

extends Primitive

propertytypedefaultdescription
transformTransformationinherited
textureTextureinherited
produce_causticsbooleanfalseinherited
resolutioninteger100
heightHeightFunction

HeightFunction

abstract class HeightFunction

extends Primitive

propertytypedefaultdescription
transformTransformationinherited
textureTextureinherited
produce_causticsbooleaninherited

TestFunction

class TestFunction

extends HeightFunction

propertytypedefaultdescription
transformTransformationinherited
textureTextureinherited
produce_causticsbooleaninherited
funcinteger134658752

HybridMultifractal

class HybridMultifractal

extends HeightFunction

propertytypedefaultdescription
transformTransformationinherited
textureTextureinherited
produce_causticsbooleaninherited
hdouble0.25
lacunaritydouble0
octavesdouble7.56464
offsetdouble0.7
scalevector<1, 1, 1>

SpotLight

class SpotLight

extends PointLight

propertytypedefaultdescription
transformTransformationinherited
colorcolor<rgbt <1, 1, 1, 0>inherited
fade_powerdouble0inherited
fade_distancedouble1e+10inherited
locationvector<0, 0, 0>inherited
points_tovector<0, 0, 0>
radiusdouble2
falloffdouble3

Sphere

class Sphere

extends Primitive

propertytypedefaultdescription
transformTransformationinherited
textureTextureinherited
produce_causticsbooleanfalseinherited
centervector<0, 0, 0>
radiusdouble1

Primitive

abstract class Primitive

extends Object3D

propertytypedefaultdescription
transformTransformationinherited
textureTexture
produce_causticsboolean

PointLight

class PointLight

extends Light

propertytypedefaultdescription
transformTransformationinherited
colorcolor<rgbt <1, 1, 1, 0>inherited
fade_powerdouble0inherited
fade_distancedouble1e+10inherited
locationvector<0, 0, 0>

Plane

class Plane

extends Primitive

propertytypedefaultdescription
transformTransformationinherited
textureTextureinherited
produce_causticsbooleanfalseinherited
normalvector<0, 1, 0>
distancedouble0

PerspectiveCamera

class PerspectiveCamera

extends Camera

propertytypedefaultdescription
transformTransformationinherited
exposureExposureinherited
locationvector<0, 0, 0>
look_atvector<0, 0, 0>
upvector<0, 1, 0>
angledouble45
aspect_ratiodouble1

ParallelCamera

class ParallelCamera

extends Camera

propertytypedefaultdescription
transformTransformationinherited
exposureExposureinherited
locationvector<0, 0, 0>
look_atvector<0, 0, 0>
upvector<0, 1, 0>
view_widthdouble1
aspect_ratiodouble1

Light

abstract class Light

extends Object3D

propertytypedefaultdescription
transformTransformationinherited
colorcolor
fade_powerdouble
fade_distancedouble

LathePoint

class LathePoint

extends Object

propertytypedefaultdescription
ppoint

Lathe

class Lathe

extends Primitive

propertytypedefaultdescription
transformTransformationinherited
textureTextureinherited
produce_causticsbooleanfalseinherited
_pointsLathePoint

FastUnion

class FastUnion

extends CSG

propertytypedefaultdescription
transformTransformationinherited
textureTextureinherited
produce_causticsbooleanfalseinherited
_objectsPrimitiveinherited
bounded_byBoundingShapeinherited
objectsCollectioninherited
_sharp_subdivisionbooleantrue
_subdivision_threshold_1integer5
_subdivision_threshold_2integer3

Exposure

abstract class Exposure

extends Object

ExposureClipped

class ExposureClipped

extends Exposure

ExposureRealistic

class ExposureRealistic

extends Exposure

propertytypedefaultdescription
exposuredouble1

Cylinder

class Cylinder

extends Primitive

propertytypedefaultdescription
transformTransformationinherited
textureTextureinherited
produce_causticsbooleanfalseinherited
center1vector<0, 0, 0>
center2vector<0, 1, 0>
radiusdouble1

CSG

abstract class CSG

extends Primitive

propertytypedefaultdescription
transformTransformationinherited
textureTextureinherited
produce_causticsbooleaninherited
_objectsPrimitive
bounded_byBoundingShape
objectsCollection

Union

class Union

extends CSG

propertytypedefaultdescription
transformTransformationinherited
textureTextureinherited
produce_causticsbooleanfalseinherited
_objectsPrimitiveinherited
bounded_byBoundingShapeinherited
objectsCollectioninherited

Merge

class Merge

extends CSG

propertytypedefaultdescription
transformTransformationinherited
textureTextureinherited
produce_causticsbooleanfalseinherited
_objectsPrimitiveinherited
bounded_byBoundingShapeinherited
objectsCollectioninherited

Intersect

class Intersect

extends CSG

propertytypedefaultdescription
transformTransformationinherited
textureTextureinherited
produce_causticsbooleanfalseinherited
_objectsPrimitiveinherited
bounded_byBoundingShapeinherited
objectsCollectioninherited

Difference

class Difference

extends CSG

propertytypedefaultdescription
transformTransformationinherited
textureTextureinherited
produce_causticsbooleanfalseinherited
_objectsPrimitiveinherited
bounded_byBoundingShapeinherited
objectsCollectioninherited

Cone

class Cone

extends Primitive

propertytypedefaultdescription
transformTransformationinherited
textureTextureinherited
produce_causticsbooleanfalseinherited
center1vector<0, 0, 0>
radius1double1
center2vector<0, 1, 0>
radius2double0

Camera

abstract class Camera

extends Object3D

propertytypedefaultdescription
transformTransformationinherited
exposureExposure

Box

class Box

extends Primitive

propertytypedefaultdescription
transformTransformationinherited
textureTextureinherited
produce_causticsbooleanfalseinherited
point1vector<0, 0, 0>
point2vector<1, 1, 1>

BoundingShape

abstract class BoundingShape

extends Object3D

propertytypedefaultdescription
transformTransformationinherited

BoundingBox

class BoundingBox

extends BoundingShape

propertytypedefaultdescription
transformTransformationinherited
point1vector<0, 0, 0>
point2vector<0, 0, 0>

World

class World

extends Object

propertytypedefaultdescription
_objectsPrimitive
_lightsLight
background_colorcolor<rgb <0, 0, 0>
ambient_lightcolor<rgbt <1, 1, 1, 0>

Transformation

abstract class Transformation

extends Object

TransformationList

class TransformationList

extends Transformation

propertytypedefaultdescription
_transformsTransformation

Translate

class Translate

extends Transformation

propertytypedefaultdescription
translatevector<0, 0, 0>

Scale

class Scale

extends Transformation

propertytypedefaultdescription
scalevector<1, 1, 1>

Rotate

class Rotate

extends Transformation

propertytypedefaultdescription
rotatevector<0, 0, 0>

Matrix

class Matrix

extends Transformation

propertytypedefaultdescription
avector<1, -0, 0>
bvector<-0, 1, -0>
cvector<0, -0, 1>

Scene

class Scene

extends Object

propertytypedefaultdescription
worldWorld
strategyStrategy
_camerasCamera
adc_bailoutdouble0.0039
max_trace_levelinteger10
automatic_boundingbooleantrue
bounding_thresholdinteger5
causticsbooleanfalse

Object3D

abstract class Object3D

extends Object

propertytypedefaultdescription
transformTransformation

Object

abstract class Object

Collection

class Collection

extends Object

propertytypedefaultdescription
countinteger0

PreviousUpNext
You are visitor No.

counter

Copyright (c) 2001 Stefan Michel, All Rights Reserved.
Last modified: