Packages

object GlossyShader

PRT shader for the glossy rendering technique based on rotationally-symmetric BRDFs.

C.f. GlossyTechnique and GlossySimulator.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GlossyShader
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class GlobalLightShader (transfer: GreyOrRGB[Transfer], light: GreyOrRGB[DenseVector[Double]], brdf: GreyOrRGB[MeshSurfaceProperty[DenseVector[Double]]], normals: MeshSurfaceProperty[Vector[_3D]], objectSpaceViewDirections: SurfacePointProperty[Vector[_3D]]) extends GlossyTemplate with Product with Serializable
  2. sealed abstract class GlossyTemplate extends PixelShader[RGBA]
  3. case class LocalLightShader (transfer: GreyOrRGB[Transfer with TransferSingleBounce], localLight: GreyOrRGB[SurfacePointProperty[DenseVector[Double]]], brdf: GreyOrRGB[MeshSurfaceProperty[DenseVector[Double]]], normals: MeshSurfaceProperty[Vector[_3D]], objectSpaceViewDirections: SurfacePointProperty[Vector[_3D]]) extends GlossyTemplate with Product with Serializable

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def apply(transfer: GreyOrRGB[Transfer with TransferSingleBounce], localLight: GreyOrRGB[SurfacePointProperty[DenseVector[Double]]], brdf: GreyOrRGB[MeshSurfaceProperty[DenseVector[Double]]], normals: MeshSurfaceProperty[Vector[_3D]], objectSpaceViewDirections: SurfacePointProperty[Vector[_3D]]): LocalLightShader

    Returns a pixel shader for glossy PRT rendering based on rotationally-symmetric BRDFs under scene illumination that can spatially vary (e.g.

    Returns a pixel shader for glossy PRT rendering based on rotationally-symmetric BRDFs under scene illumination that can spatially vary (e.g. due to point light sources in close proximity).

    transfer

    Precomputed transfer.

    localLight

    A SurfacePointProperty representing SH expansions of incoming light for each vertex of the rendered mesh.

    brdf

    The convolution kernel of a rotationally-symmetric BRDF (c.f. ZH.asConvolution()).

    normals

    A MeshSurfaceProperty representing the normals of the rendered mesh.

    objectSpaceViewDirections

    A SurfacePointProperty representing the directions of view to the vertices of the rendered mesh.

    returns

    An instance of PixelShader[RGBA].

  5. def apply(transfer: GreyOrRGB[Transfer], light: GreyOrRGB[DenseVector[Double]], brdf: GreyOrRGB[MeshSurfaceProperty[DenseVector[Double]]], normals: MeshSurfaceProperty[Vector[_3D]], objectSpaceViewDirections: SurfacePointProperty[Vector[_3D]]): GlobalLightShader

    Returns a pixel shader for glossy PRT rendering based on rotationally-symmetric BRDFs under globally uniform illumination.

    Returns a pixel shader for glossy PRT rendering based on rotationally-symmetric BRDFs under globally uniform illumination.

    transfer

    Precomputed transfer.

    light

    SH expansion of light from an environment map.

    brdf

    The convolution kernel of a rotationally-symmetric BRDF (c.f. ZH.asConvolution()).

    normals

    A MeshSurfaceProperty representing the normals of the rendered mesh.

    objectSpaceViewDirections

    A SurfacePointProperty representing the directions of view to the vertices of the rendered mesh.

    returns

    An instance of PixelShader[RGBA].

  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  17. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  18. def toString(): String
    Definition Classes
    AnyRef → Any
  19. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped