The Renderer takes a Sampler, Camera and Scene and can render an image based on this information.
It iterates over each pixel of the image, generates samples and primary rays and performs intersection tests with the scene. It also acts as integrator to collect the radiance information.
Constructors
Properties
- ambientLight → Vector4
-
The ambient light available in the scene.
read-only - camera → Camera
-
Camera used to generate primary rays.
read / write - hashCode → int
-
Get a hash code for this object.…
read-only, inherited - runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited - sampler → Sampler
-
Sampler used to generate samples.
read / write - scene → Scene
-
Scene to be rendered.
read / write - xRes → int
-
Resolution of the camera and final image.
read / write - yRes → int
-
Resolution of the camera and final image.
read / write
Operators
-
operator ==(
other) → bool -
The equality operator.…
inherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.…
inherited -
render(
) → OutputMatrix -
Renders the Scene and returns an OutputMatrix containing the pixels of the final image.
-
toString(
) → String -
Returns a string representation of this object.
inherited