Packages

case class UniversalPrtParameters extends TechniqueParameters with BounceParameters with Product with Serializable

Parameters for the universal PRT technique allowing the usage of arbitrary BRDFs.

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

Type Members

  1. type TThis = UniversalPrtParameters
    Attributes
    protected
    Definition Classes
    UniversalPrtParametersTechniqueParameters

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 brdf: MeshSurfaceSHBrdfProvider
  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 finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  11. val gouraudShadingEnabled: Boolean
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. def isSingleBounce: Boolean

    Returns true if bounces is 1 or less.

    Returns true if bounces is 1 or less.

    Definition Classes
    BounceParameters
  14. val mesh: TriangleMesh3D
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def noInterreflections(): TThis

    Reflections will be turned off.

    Reflections will be turned off. Only occlusion will be simulated during precomputation.

    Definition Classes
    BounceParameters
  17. final def notify(): Unit
    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  19. val occlusionEnabled: Boolean
  20. val occlusionRaycastSamples: VectorsOnUnitSphere
  21. def setGouraudShadingEnabled(useGouraudShading: Boolean): UniversalPrtParameters

    Enables or disables vertex color interpolation.

    Enables or disables vertex color interpolation. If enabled, the lighting model will be evaluated per vertex rather than per pixel

    Definition Classes
    UniversalPrtParametersTechniqueParameters
  22. def setOcclusionEnabled(occlusionEnabled: Boolean): UniversalPrtParameters

    Enables or disables occlusion simulation.

    Enables or disables occlusion simulation. If disabled, there will be no light effects due to geometry, i.e. occlusion and reflections.

    Definition Classes
    UniversalPrtParametersTechniqueParameters
  23. val shBands: Int
  24. def shadeInObjectSpace: UniversalPrtParameters

    Disables surface space shading.

    Disables surface space shading.

    Transfer data will not be combined with a transformation from object to surface space. Please note that this setting will be overridden if an instance of faces.render.prt.transfersimulation.ObjectToSurfaceSpaceTransfer is explicitly used for rendering.

    For more information on surface space vs object space shading please refer to shadeInSurfaceSpace.

  25. def shadeInSurfaceSpace: UniversalPrtParameters

    Shading will be performed in surface space.

    Shading will be performed in surface space.

    Surface space shading does not require the rotation of the SH expanded BRDF to object space. Instead, the light will be transformed into surface space using the transfer matrices. This process involves faces.render.prt.transfersimulation.ObjectToSurfaceSpaceTransfer.

  26. def summary: ParameterSummary

    Summarizes the technique parameters in a ParameterSummary.

    Summarizes the technique parameters in a ParameterSummary.

    Definition Classes
    UniversalPrtParametersBounceParametersTechniqueParameters
  27. val surfaceSpaceShadingEnabled: Boolean
  28. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  29. val tangentSpace: TangentSpaceProvider
  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. def withArbitraryTangentSpace(smoothTangents: Boolean = true): UniversalPrtParameters

    An arbitrary but reproducible tangent space will be generated for the rendered geometry.

  34. def withBsdf(bsdf: GreyOrRGB[MeshSurfaceProperty[SHBrdf with CosineTerm]]): UniversalPrtParameters

    Use a SH expansion of a BRDF combined with the rendering equation's cosine term.

    Use a SH expansion of a BRDF combined with the rendering equation's cosine term. The BRDF can vary over the surface of the mesh.

    bsdf

    The BRDF to use for rendering.

  35. def withColoredBsdf(color: MeshSurfaceProperty[RGBA], brdf: BRDF[Double], tabulationResolution: Int = ..., tabulationSamples: Int = ...): UniversalPrtParameters

    Use the specified BRDF for rendering which will be combined with the surface color of the mesh.

    Use the specified BRDF for rendering which will be combined with the surface color of the mesh.

    The BRDF will be tabulated using the functionality of TabulatedSHBrdf.

    color

    The mesh's surface color.

    brdf

    The BRDF to use.

    tabulationResolution

    The resolution at which to tabulate the BRDF.

    tabulationSamples

    The number of samples that will be used to to tabulate the BRDF.

  36. def withColoredBsdf(color: MeshSurfaceProperty[RGBA], tabulationResolution: Int, tabulationSamples: Int): UniversalPrtParameters

    Use the default Lambert BRDF for rendering which will be combined with the surface color of the mesh.

    Use the default Lambert BRDF for rendering which will be combined with the surface color of the mesh.

    The BRDF will be tabulated using the functionality of TabulatedSHBrdf.

    color

    The mesh's surface color.

    tabulationResolution

    The resolution at which to tabulate the BRDF.

    tabulationSamples

    The number of samples that will be used to to tabulate the BRDF.

  37. def withColoredBsdf(color: MeshSurfaceProperty[RGBA]): UniversalPrtParameters

    Use the default Lambert BRDF for rendering which will be combined with the surface color of the mesh.

    Use the default Lambert BRDF for rendering which will be combined with the surface color of the mesh.

    The BRDF will be tabulated using the functionality of TabulatedSHBrdf.

    color

    The mesh's surface color.

  38. def withConstantBsdf(bsdf: GreyOrRGB[SHBrdf with CosineTerm]): UniversalPrtParameters

    Use a constant SH expansion of a BRDF combined with the rendering equation's cosine term.

  39. def withConstantBsdf(brdf: GreyOrRGB[BRDF[Double]], tabulationResolution: Int = ..., tabulationSamples: Int = ...): UniversalPrtParameters

    Use a constant BRDF over the surface of the mesh.

    Use a constant BRDF over the surface of the mesh.

    The BRDF will be tabulated using the functionality of TabulatedSHBrdf.

    brdf

    The BRDF to use.

    tabulationResolution

    The resolution at which to tabulate the BRDF.

    tabulationSamples

    The number of samples that will be used to to tabulate the BRDF.

  40. def withDefaultBsdf: UniversalPrtParameters

    Use the default, Lambert BRDF for rendering.

  41. def withDefaults: UniversalPrtParameters
  42. def withGouraudShading: TThis

    Enables vertex color interpolation.

    Enables vertex color interpolation. The lighting model will be evaluated per vertex rather than per pixel. Can be disabled by calling 'withPixelShading'.

    Definition Classes
    TechniqueParameters
  43. def withLightBounces(bounces: Int): UniversalPrtParameters

    Specifies the number of light bounces that will be simulated during precomputation.

    Specifies the number of light bounces that will be simulated during precomputation. Use a value of 1 one or less for occlusion-only simulation.

    Definition Classes
    UniversalPrtParametersBounceParameters
  44. def withOcclusion: TThis

    Enables occlusion simulation (default).

    Enables occlusion simulation (default).

    Definition Classes
    TechniqueParameters
  45. def withOcclusionRaycastSamples(occlusionRaycastSamples: VectorsOnUnitSphere): UniversalPrtParameters

    Specifies the sample directions that will be used for occlusion raycasting.

    Specifies the sample directions that will be used for occlusion raycasting.

    Definition Classes
    UniversalPrtParametersTechniqueParameters
  46. def withOcclusionRaycastSamples(count: Int): TThis
    Definition Classes
    TechniqueParameters
  47. def withPixelShading: TThis

    Disables vertex color interpolation.

    Disables vertex color interpolation. The lighting model will be evaluated per pixel. Can be undone by calling 'withGouraudShading'.

    Definition Classes
    TechniqueParameters
  48. def withShBands(count: Int): UniversalPrtParameters

    Sets the number of SH bands to use for simulation and rendering.

    Sets the number of SH bands to use for simulation and rendering.

    Definition Classes
    UniversalPrtParametersTechniqueParameters
  49. def withTangentSpace(tangentSpace: TangentSpace): UniversalPrtParameters

    Specifies a specific tangent space for the rendered geometry.

  50. def withTangentSpaceFromTexture(textureCoordinates: SurfacePointProperty[Point[_2D]], smoothTangents: Boolean = true): UniversalPrtParameters

    A tangent space will be generated for the rendered mesh based on the specified texture coordinates.

  51. def withoutOcclusion: TThis

    Disables occlusion simulation.

    Disables occlusion simulation. There will be no light effects due to geometry, i.e. occlusion and reflections.

    Definition Classes
    TechniqueParameters

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from BounceParameters

Inherited from TechniqueParameters

Inherited from AnyRef

Inherited from Any

Ungrouped