3DCoat
3D-COAT 4.9.xx
3DCoat is the one application that has all the tools you need to take your 3D idea from a block of digital clay all the way to a production ready, fully textured organic or hard surface model.
|
For facture. More...
#include <TexturedVertex.h>
Public Member Functions | |
bool | map_vertex (const Vector3D &Pos, const Vector3D &N, OneFacture *F, bool anyway) |
Map point in correspondence to the current facture settings. More... | |
bool | MapVertex (const Vector3D &Pos, const Vector3D &N, const Matrix4D &LocalToWorldM, OneFacture *F, float &ColorWeight, float &FactureWeight) |
Assign cubemap mapping. More... | |
bool | Directional (const Vector3D &Pos, const Vector3D &Pos0, const Vector3D &N, const Vector3D &Dir, float startU, OneFacture *F) |
Assign directional mapping. More... | |
cVec2 | Extrapolate (const nBasis &b, const Vector3D &Pos, const Vector3D &Pos0) |
In correspondence with Mapping field. More... | |
Public Attributes | |
WORD | TexID |
Reference to texture ID. native. More... | |
byte | Mapping |
Type of mapping. More... | |
For facture.
Inherited by LayeredTexturedVertex.
bool TexturedVertex::Directional | ( | const Vector3D & | Pos, |
const Vector3D & | Pos0, | ||
const Vector3D & | N, | ||
const Vector3D & | Dir, | ||
float | startU, | ||
OneFacture * | F | ||
) |
Assign directional mapping.
References Mapping.
In correspondence with Mapping field.
bool TexturedVertex::map_vertex | ( | const Vector3D & | Pos, |
const Vector3D & | N, | ||
OneFacture * | F, | ||
bool | anyway | ||
) |
Map point in correspondence to the current facture settings.
Use when drawing.
Pos | Position. |
N | Normal. |
F | Reference to facture. |
bool TexturedVertex::MapVertex | ( | const Vector3D & | Pos, |
const Vector3D & | N, | ||
const Matrix4D & | LocalToWorldM, | ||
OneFacture * | F, | ||
float & | ColorWeight, | ||
float & | FactureWeight | ||
) |
Assign cubemap mapping.
References OneFacture::fDefaultMapping, and Mapping.
Referenced by OneFacture::ApplyToChangedCells().
byte TexturedVertex::Mapping |
WORD TexturedVertex::TexID |
Reference to texture ID. native.
Referenced by OneFacture::ApplyToChangedCells().