edu.utexas.cs.sdao.reyes.render

ProjectedMicropolygonGrid

class ProjectedMicropolygonGrid extends MicropolygonGrid

Linear Supertypes
MicropolygonGrid, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ProjectedMicropolygonGrid
  2. MicropolygonGrid
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ProjectedMicropolygonGrid(width: Int, height: Int, surface: SplitSurface, data: Array[(Vector3, Vector3, Vector2, Color)], proj: Projection)

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def boundingBox: BoundingBox

    The bounding box of the grid.

    The bounding box of the grid.

    returns

    the bounding box

    Definition Classes
    MicropolygonGrid
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  13. def getColor(u: Int, v: Int): Color

    Gets the color of a vertex.

    Gets the color of a vertex. Typically, the color will be Color.BLACK unless the grid has been shaded.

    u

    the U-index of the vertex

    v

    the V-index of the vertex

    returns

    the color at the UV index

    Definition Classes
    MicropolygonGrid
  14. def getNormal(u: Int, v: Int): Vector3

    Gets the world-space normal of a vertex.

    Gets the world-space normal of a vertex.

    u

    the U-index of the vertex

    v

    the V-index of the vertex

    returns

    the normal at the UV index

    Definition Classes
    MicropolygonGrid
  15. def getUV(u: Int, v: Int): Vector2

    Gets the UV coordinate of a vertex.

    Gets the UV coordinate of a vertex.

    u

    the U-index of the vertex

    v

    the V-index of the vertex

    returns

    the UV coordinate at the UV index

    Definition Classes
    MicropolygonGrid
  16. def getVertex(u: Int, v: Int): Vector3

    Gets the world-space coordinate of a vertex.

    Gets the world-space coordinate of a vertex.

    u

    the U-index of the vertex

    v

    the V-index of the vertex

    returns

    the vertex at the UV index

    Definition Classes
    MicropolygonGrid
  17. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  18. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  19. def isSplittable: Option[SplitDirection]

    Determines if the current micropolygon grid can be split and, if so, on which axis.

    Determines if the current micropolygon grid can be split and, if so, on which axis. Before calling this function, the grid must be projected into screen space. If not, then the behavior of this function is indeterminate.

    returns

    None if the grid isn't splittable; Some[SplitDirection] if the grid should be split on the given direction

  20. def isVisible: Boolean

    Determines if the current micropolygon grid is visible.

    Determines if the current micropolygon grid is visible. This will also clip objects between the camera and the near plane.

    returns

    the visibility of the grid

  21. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  24. def pipelineInfo: PipelineInfo

    Helper function to calculate dicing and shading parameters for the original surface for use further down in the pipeline.

    Helper function to calculate dicing and shading parameters for the original surface for use further down in the pipeline.

    returns

    the pipeline info

  25. def project(proj: Projection): ProjectedMicropolygonGrid

    Projects the grid onto the screen.

    Projects the grid onto the screen. Note that, in the projected grid, the vertex will have three components: x and y are the screen coordinates, and z is the z-depth for z-buffer calculations.

    Definition Classes
    MicropolygonGrid
  26. def rasterize(buffer: Texture, zBuffer: ZBuffer): Unit

    Rasterizes the projected micropolygon grid into an image buffer and z-buffer by busting it into individual micropolygons.

    Rasterizes the projected micropolygon grid into an image buffer and z-buffer by busting it into individual micropolygons.

    buffer

    the image buffer to rasterize with

    zBuffer

    the z-buffer to rasterize with

  27. def shade(eyeProjection: Projection, displaceOnly: Boolean = false): MicropolygonGrid

    Performs shading routines on the micropolygon grid and returns a new grid.

    Performs shading routines on the micropolygon grid and returns a new grid. The grid will be displaced and colored. Normals will be recalculated after displacement.

    eyeProjection

    the projection from world coordinates to the eye

    displaceOnly

    whether to only displace the grid without calculating colors

    returns

    a new micropolygon grid

    Definition Classes
    MicropolygonGrid
  28. def split(dir: SplitDirection): Vector[SplitSurface]

    Helper function to perform a split of the original surface.

    Helper function to perform a split of the original surface.

    dir

    the direction to split

    returns

    the split surfaces

  29. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  30. def toString(): String

    Definition Classes
    AnyRef → Any
  31. final def wait(): Unit

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from MicropolygonGrid

Inherited from AnyRef

Inherited from Any

Ungrouped