Packages

o

faces.render.prt.utils

NormalMaps

object NormalMaps

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

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. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def normalMapFromHeightMap(heightMapTex: TextureMappedProperty[Double]): TextureMappedProperty[Vector[_3D]]

    Calculate the normals of the surface defined by a height map.

    Calculate the normals of the surface defined by a height map. Uses gradient of height field to calculate the normals: n = cross(Gu, Gv)

    Use: If you have created a detailed height map that you want to use to create detailed shading of your mesh - without increasing mesh resolutionPerAxis.

  14. def normalMapOnSurface(surface: MeshSurfaceProperty[Point[_3D]], surfaceNormals: MeshSurfaceProperty[Vector[_3D]], normalMapNormals: TextureMappedProperty[Vector[_3D]]): TextureMappedProperty[Vector[_3D]]

    ~ NormalMap to Surface ~ Map textureMapped normals onto the object surface.

    ~ NormalMap to Surface ~ Map textureMapped normals onto the object surface. Transform texture map uv space to tangent space on a surface point.

    Needs the surface with its normals for example vertex normals and a normal map texture.

    Use: map a detailed normal map to the surface of a mesh that has only vertex normals

  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 tangentsBitangentsPerTriangle(textureMapping: MeshSurfaceProperty[Point[_2D]], surface: MeshSurfaceProperty[Point[_3D]], triangulation: TriangleList): (SurfacePointProperty[Vector[_3D]], SurfacePointProperty[Vector[_3D]])

    Tangent and bitangent on every triangle, thus by virtue of barycentric interpolation on every point on the surface.

    Tangent and bitangent on every triangle, thus by virtue of barycentric interpolation on every point on the surface. The tangent points towards the u texture coordinate; the bitangent in v direction.

    Used for: transforming a normals (normalmap) from uv-space to object space. Reference: http://ogldev.atspace.co.uk/www/tutorial26/tutorial26.html

  19. def toString(): String
    Definition Classes
    AnyRef → Any
  20. def transformNormalsToTangentSpace(normalMap: MeshSurfaceProperty[Vector[_3D]], normalProperty: MeshSurfaceProperty[Vector[_3D]], tangentProperty: SurfacePointProperty[Vector[_3D]], bitangentProperty: SurfacePointProperty[Vector[_3D]]): MeshSurfaceProperty[Vector[_3D]]

    Transform normalMap normals to coordinate system spanned by the tangent (v) and bitangent (u) vectors.

    Transform normalMap normals to coordinate system spanned by the tangent (v) and bitangent (u) vectors. Tangents point in v respectively u direction on the surface. For every point on the surface there is a tangent and a bitangent.

  21. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped