Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
rtiow
main
Top Level Namespace
AaBb
BVHNode
Camera
Checker
Color
CoverScene
Dielectric
HitRecord
Hittable
HittableList
Lambertian
Material
MaybeRayAndAttenuation
Metal
MovingSphere
Noise
Perlin
Ray
Scene
SolidColor
Sphere
Texture
TwoPerlinSpheres
TwoSpheres
Vec3
Generated using Crystal 1.16.3
2025-12-23 22:04:22 UTC
abstract class
Scene
Scene
Reference
Object
Direct Known Subclasses
CoverScene
TwoPerlinSpheres
TwoSpheres
Defined in:
scene.cr
Constructors
.create
(name : String) : Scene
.new
Class Method Summary
.register
(name : String, klass :
Scene
.
class
)
Instance Method Summary
#aperture
: Float64
#look_at
: Vec3
#look_from
: Vec3
#render_to
(world : HittableList)
#vfov
: Float64
Constructor Detail
def self.
create
(name : String) :
Scene
#
[
View source
]
def self.
new
#
[
View source
]
Class Method Detail
def self.
register
(name : String, klass :
Scene
.
class
)
#
[
View source
]
Instance Method Detail
def
aperture
: Float64
#
[
View source
]
def
look_at
:
Vec3
#
[
View source
]
def
look_from
:
Vec3
#
[
View source
]
abstract def
render_to
(world :
HittableList
)
#
[
View source
]
def
vfov
: Float64
#
[
View source
]