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.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
TexturedVertex Struct Reference

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...
 

Detailed Description

For facture.

Inherited by LayeredTexturedVertex.

Member Function Documentation

bool TexturedVertex::Directional ( const Vector3D Pos,
const Vector3D Pos0,
const Vector3D N,
const Vector3D Dir,
float  startU,
OneFacture F 
)

Assign directional mapping.

References Mapping.

cVec2 TexturedVertex::Extrapolate ( const nBasis &  b,
const Vector3D Pos,
const Vector3D Pos0 
)

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.

Parameters
PosPosition.
NNormal.
FReference 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().

Member Data Documentation

byte TexturedVertex::Mapping

Type of mapping.

  • 0 - custom
  • 1-6 - cubemap

Referenced by Directional(), and MapVertex().

WORD TexturedVertex::TexID

Reference to texture ID. native.

Referenced by OneFacture::ApplyToChangedCells().


The documentation for this struct was generated from the following files: