case class PrtRenderParameter(pointLights: IndexedSeq[PointLight] = IndexedSeq.empty, lightIntensityFixEnabled: Boolean = true) extends Product with Serializable
Contains settings and options for prt-based rendering that go beyond those of the regular scalismo.faces.parameters.RenderParameter.
- pointLights
A set of point lights that will be used to illuminate a scene in addition to an environment map, if supported by the used PRT technique.
- lightIntensityFixEnabled
Light intensity will be scaled by Pi if this value is true. For more information please refer to withLightIntensityFix.
- Alphabetic
- By Inheritance
- PrtRenderParameter
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
PrtRenderParameter(pointLights: IndexedSeq[PointLight] = IndexedSeq.empty, lightIntensityFixEnabled: Boolean = true)
- pointLights
A set of point lights that will be used to illuminate a scene in addition to an environment map, if supported by the used PRT technique.
- lightIntensityFixEnabled
Light intensity will be scaled by Pi if this value is true. For more information please refer to withLightIntensityFix.
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
-
def
addPointLight(pointLight: PointLight): PrtRenderParameter
Adds a point light the parameters.
-
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
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val lightIntensityFixEnabled: Boolean
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- val pointLights: IndexedSeq[PointLight]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
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
withLightIntensityFix: PrtRenderParameter
Light intensity will be scaled by a factor of math.Pi.
Light intensity will be scaled by a factor of math.Pi.
Due to a non-standard convolution kernel, standard (i.e. non-prt) scalismo renderings will be significantly brighter than the prt-based renderings. This discrepancy can be fixed by scaling the illumination for the prt renderer by a factor of math.Pi.
-
def
withoutLightIntensityFix: PrtRenderParameter
Standard light intensity will be used.
Standard light intensity will be used.
This is the default behaviour. Please refer to withLightIntensityFix for more information.
- See also