c

faces.render.prt.transfersimulation

UniversalPrtSimulator

case class UniversalPrtSimulator(mesh: TriangleMesh3D, occlusion: OcclusionInformation, bounces: Int, shBands: Int, bsdf: MeshSurfaceProperty[SHBrdf with CosineTerm], tangentSpace: SurfacePointProperty[DenseMatrix[Double]]) extends TransferSimulatorMultiBounce with Product with Serializable

Light transport simulator for arbitrary BSDFs. This simulator is capable of simulating any opaque, material that can be described by an appropriate BRDF and does not emit light itself.

mesh

The mesh to simulate light transfer for.

occlusion

An instance of OcclusionInformation for the specified mesh.

bounces

The number light bounces the will be taken into account (1 or less for occlusion-only simulation).

shBands

The number of SH bands to use for the simulation.

bsdf

A SH-representation of an arbitrary BSDF that includes the rendering equation's cosine term.

tangentSpace

The tangent / surface space of the provided mesh, which will also be used for rendering.

Linear Supertypes
Serializable, Serializable, Product, Equals, TransferSimulatorMultiBounce, TransferSimulator, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. UniversalPrtSimulator
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. TransferSimulatorMultiBounce
  7. TransferSimulator
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new UniversalPrtSimulator(mesh: TriangleMesh3D, occlusion: OcclusionInformation, bounces: Int, shBands: Int, bsdf: MeshSurfaceProperty[SHBrdf with CosineTerm], tangentSpace: SurfacePointProperty[DenseMatrix[Double]])

    mesh

    The mesh to simulate light transfer for.

    occlusion

    An instance of OcclusionInformation for the specified mesh.

    bounces

    The number light bounces the will be taken into account (1 or less for occlusion-only simulation).

    shBands

    The number of SH bands to use for the simulation.

    bsdf

    A SH-representation of an arbitrary BSDF that includes the rendering equation's cosine term.

    tangentSpace

    The tangent / surface space of the provided mesh, which will also be used for rendering.

Type Members

  1. type TransferMatrices = IndexedSeq[DenseMatrix[Double]]
    Attributes
    protected
    Definition Classes
    TransferSimulator

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. val bounces: Int
  6. val bsdf: MeshSurfaceProperty[SHBrdf with CosineTerm]
  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def emptyMatrix: DenseMatrix[Double]
    Attributes
    protected
    Definition Classes
    TransferSimulator
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def getBRDF(triangleId: TriangleId, bcc: BarycentricCoordinates, sample: Vector[_3D]): DenseVector[Double]

    Returns an SH-projection of the used BRDF at a specific point on the mesh.

    Returns an SH-projection of the used BRDF at a specific point on the mesh.

    Definition Classes
    UniversalPrtSimulatorTransferSimulatorMultiBounce
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. val mesh: TriangleMesh3D
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  18. val occlusion: OcclusionInformation
  19. val samples: IndexedSeq[Vector[_3D]]
    Attributes
    protected
    Definition Classes
    TransferSimulator
  20. val samplesSh: IndexedSeq[DenseVector[Double]]
    Attributes
    protected
    Definition Classes
    TransferSimulator
  21. val shBands: Int
  22. val shBandsIn: Int
    Definition Classes
    TransferSimulator
  23. val shBandsOut: Int
    Definition Classes
    TransferSimulator
  24. lazy val shRotations: IndexedSeq[DenseMatrix[Double]]
    Attributes
    protected
  25. def simulate(): Transfer

    Simulates light transfer and returns the final transfer data.

    Simulates light transfer and returns the final transfer data.

    Definition Classes
    TransferSimulatorMultiBounceTransferSimulator
  26. def simulateAll(): IndexedSeq[Transfer]

    Simulates light transfer and returns the final transfer data together with the transfer data of each individual light bounce.

    Simulates light transfer and returns the final transfer data together with the transfer data of each individual light bounce.

    Definition Classes
    TransferSimulatorMultiBounce
  27. def simulateBounces: IndexedSeq[Transfer]
    Attributes
    protected
    Definition Classes
    TransferSimulatorMultiBounce
  28. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  29. val tangentSpace: SurfacePointProperty[DenseMatrix[Double]]
  30. val triangulation: TriangleList
    Attributes
    protected
    Definition Classes
    TransferSimulator
  31. val vertexCount: Int
    Attributes
    protected
    Definition Classes
    TransferSimulator
  32. val volumePerSample: Double
    Attributes
    protected
    Definition Classes
    TransferSimulator
  33. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from TransferSimulator

Inherited from AnyRef

Inherited from Any

Ungrouped