surfacePoint_t Struct Reference

#include <surface.h>

Collaboration diagram for surfacePoint_t:
Collaboration graph
[legend]

List of all members.

Public Attributes

const material_tmaterial
 the surface material
const light_tlight
 light source if surface point is on a light
const object3d_tobject
 object the prim belongs to
void * origin
vector3d_t N
 the shading normal.
vector3d_t Ng
 the geometric normal.
vector3d_t orcoNg
 the untransformed geometric normal.
point3d_t P
 the (world) position.
point3d_t orcoP
bool hasUV
bool hasOrco
bool available
int primNum
GFLOAT U
 the u texture coord.
GFLOAT V
 the v texture coord.
vector3d_t NU
 second vector building orthogonal shading space with N
vector3d_t NV
 third vector building orthogonal shading space with N
vector3d_t dPdU
 u-axis in world space
vector3d_t dPdV
 v-axis in world space
vector3d_t dSdU
 u-axis in shading space (NU, NV, N)
vector3d_t dSdV
 v-axis in shading space (NU, NV, N)
GFLOAT sU
 raw surface parametric coordinate; required to evaluate vmaps
GFLOAT sV
 raw surface parametric coordinate; required to evaluate vmaps

Detailed Description

This holds a sampled surface point's data When a ray intersects an object, a surfacePoint_t is computed. It contains data about normal, position, assigned material and other things.

Definition at line 89 of file surface.h.


Member Data Documentation

Definition at line 107 of file surface.h.

u-axis in world space

Definition at line 114 of file surface.h.

v-axis in world space

Definition at line 115 of file surface.h.

u-axis in shading space (NU, NV, N)

Definition at line 116 of file surface.h.

v-axis in shading space (NU, NV, N)

Definition at line 117 of file surface.h.

Definition at line 106 of file surface.h.

Definition at line 105 of file surface.h.

light source if surface point is on a light

Definition at line 93 of file surface.h.

the surface material

Definition at line 92 of file surface.h.

the shading normal.

Definition at line 99 of file surface.h.

the geometric normal.

Definition at line 100 of file surface.h.

second vector building orthogonal shading space with N

Definition at line 112 of file surface.h.

third vector building orthogonal shading space with N

Definition at line 113 of file surface.h.

object the prim belongs to

Definition at line 94 of file surface.h.

the untransformed geometric normal.

Definition at line 101 of file surface.h.

Definition at line 103 of file surface.h.

Definition at line 96 of file surface.h.

the (world) position.

Definition at line 102 of file surface.h.

Definition at line 108 of file surface.h.

raw surface parametric coordinate; required to evaluate vmaps

Definition at line 118 of file surface.h.

raw surface parametric coordinate; required to evaluate vmaps

Definition at line 119 of file surface.h.

the u texture coord.

Definition at line 110 of file surface.h.

the v texture coord.

Definition at line 111 of file surface.h.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 18 Dec 2009 for YafaRay by  doxygen 1.6.1