object GlossyTechnique extends ParametricPrtTechnique[GlossyParameters, Unit]
A parametric PRT technique for rendering geometry with glossy materials.
This technique is not physically correct.
The technique is based on the classes GlossySimulator and GlossyShader.
- Alphabetic
- By Inheritance
- GlossyTechnique
- ParametricPrtTechnique
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- case class GlossyParametricShader (parameters: GlossyParameters, transfer: GreyOrRGB[Transfer]) extends ParametricPrtShader with Product with Serializable
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
getDefaultParameters(mesh: TriangleMesh3D): GlossyParameters
Returns the default parameters for this technique with respect to the mesh to render.
Returns the default parameters for this technique with respect to the mesh to render.
- Definition Classes
- GlossyTechnique → ParametricPrtTechnique
-
def
getParametricShader(parameters: GlossyParameters, transfer: GreyOrRGB[Transfer], data: Unit): GlossyParametricShader
- Definition Classes
- GlossyTechnique → ParametricPrtTechnique
-
final
def
getRenderer(parameters: GlossyParameters): ParametricPrtImageRender
Returns a ParametricPrtImageRenderer for the set of PRT parameters.
Returns a ParametricPrtImageRenderer for the set of PRT parameters. Transfer, auxiliary data and occlusion information will be computed when this method is called.
- Definition Classes
- ParametricPrtTechnique
-
final
def
getRenderer(parameters: GlossyParameters, transfer: GreyOrRGB[Transfer]): ParametricPrtImageRender
Returns a ParametricPrtImageRenderer for the specified transfer and the set of PRT parameters.
Returns a ParametricPrtImageRenderer for the specified transfer and the set of PRT parameters. If necessary, auxiliary data will be computed when this method is called.
- Definition Classes
- ParametricPrtTechnique
-
final
def
getRenderer(parameters: GlossyParameters, transfer: GreyOrRGB[Transfer], data: Unit): ParametricPrtImageRender
Returns a ParametricPrtImageRenderer for the specified transfer and auxiliary data as well as the set of PRT parameters.
Returns a ParametricPrtImageRenderer for the specified transfer and auxiliary data as well as the set of PRT parameters.
- Definition Classes
- ParametricPrtTechnique
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
name: String
The name of the implemented PRT rendering technique.
The name of the implemented PRT rendering technique.
- Definition Classes
- ParametricPrtTechnique
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
precomputeAuxiliaryData(settings: GlossyParameters): Unit
Precomputes the auxiliary data for the specified set of parameters.
Precomputes the auxiliary data for the specified set of parameters.
- Definition Classes
- GlossyTechnique → ParametricPrtTechnique
-
def
precomputeOcclusion(parameters: GlossyParameters): OcclusionInformation
Computes occlusion information by raycasting against a given mesh and using a specified set of raycast directions, both of which are defined in the provided parameters.
Computes occlusion information by raycasting against a given mesh and using a specified set of raycast directions, both of which are defined in the provided parameters.
C.f. OcclusionInformation.forMesh()
- parameters
The parameters specifying the mesh and the raycast directions.
- returns
An instance of OcclusionInformation.
- Definition Classes
- ParametricPrtTechnique
-
def
simulateTransfer(settings: GlossyParameters, occlusion: OcclusionInformation, precomputedData: Unit): GreyOrRGB[Transfer]
Simulates light transport for a mesh with respect to the specified parameters and provided occlusion and auxiliary data.
Simulates light transport for a mesh with respect to the specified parameters and provided occlusion and auxiliary data.
- occlusion
The occlusion information for the mesh specified via the parameters.
- returns
Simulated light transfer (monochromatic or RGB, based on parameters).
- Definition Classes
- GlossyTechnique → ParametricPrtTechnique
-
final
def
simulateTransfer(parameters: GlossyParameters, data: Unit): GreyOrRGB[Transfer]
Simulates light transport with respect to the given parameters and precomputed auxiliary data.
Simulates light transport with respect to the given parameters and precomputed auxiliary data. Occlusion information will be computed on demand, that is, it will not be cached.
- Definition Classes
- ParametricPrtTechnique
-
final
def
simulateTransfer(parameters: GlossyParameters): GreyOrRGB[Transfer]
Simulates light transport with respect to the given parameters.
Simulates light transport with respect to the given parameters. Occlusion information will be computed on demand, that is, it will not be cached. This also applies to the optional, precomputable, auxiliary data.
- Definition Classes
- ParametricPrtTechnique
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
withDecorator[T <: TechniqueDecorator[GlossyParameters, Unit]](wrapper: (GlossyTechnique.this.type) ⇒ T): T
Wraps this technique in a TechniqueDecorator that adds advanced functionality that can be used in combination with any particular PRT technique.
Wraps this technique in a TechniqueDecorator that adds advanced functionality that can be used in combination with any particular PRT technique. (e.g. PersistentCaching)
- wrapper
A function that wraps this instance into a TechniqueDecorator. E.g. PersistentCaching(_)
- returns
A TechniqueDecorator of type T that is based on this instance of ParametricPrtTechnique.
- Definition Classes
- ParametricPrtTechnique