#include <pointgr.h>
Inherited by SegmentGroupClass.
|
| | PointGroupClass (void) |
| |
| virtual | ~PointGroupClass (void) |
| |
| PointGroupClass & | operator= (const PointGroupClass &that) |
| |
| void | Set_Arrays (ShareBufferClass< Vector3 > *locs, ShareBufferClass< Vector4 > *diffuse=NULL, ShareBufferClass< unsigned int > *apt=NULL, ShareBufferClass< float > *sizes=NULL, ShareBufferClass< unsigned char > *orientations=NULL, ShareBufferClass< unsigned char > *frames=NULL, int active_point_count=-1, float vpxmin=0.0f, float vpymin=0.0f, float vpxmax=0.0f, float vpymax=0.0f) |
| |
| void | Set_Point_Size (float size) |
| |
| float | Get_Point_Size (void) |
| |
| void | Set_Point_Color (Vector3 color) |
| |
| Vector3 | Get_Point_Color (void) |
| |
| void | Set_Point_Alpha (float alpha) |
| |
| float | Get_Point_Alpha (void) |
| |
| void | Set_Point_Orientation (unsigned char orientation) |
| |
| unsigned char | Get_Point_Orientation (void) |
| |
| void | Set_Point_Frame (unsigned char frame) |
| |
| unsigned char | Get_Point_Frame (void) |
| |
| void | Set_Point_Mode (PointModeEnum mode) |
| |
| PointModeEnum | Get_Point_Mode (void) |
| |
| void | Set_Flag (FlagsType flag, bool onoff) |
| |
| int | Get_Flag (FlagsType flag) |
| |
| void | Set_Texture (TextureClass *texture) |
| |
| TextureClass * | Get_Texture (void) |
| |
| TextureClass * | Peek_Texture (void) |
| |
| void | Set_Shader (ShaderClass shader) |
| |
| ShaderClass | Get_Shader (void) |
| |
| void | Set_Billboard (bool shouldBillboard) |
| |
| bool | Get_Billboard (void) |
| |
| unsigned char | Get_Frame_Row_Column_Count_Log2 (void) |
| |
| void | Set_Frame_Row_Column_Count_Log2 (unsigned char frccl2) |
| |
| int | Get_Polygon_Count (void) |
| |
| void | Render (RenderInfoClass &rinfo) |
| |
| void | RenderVolumeParticle (RenderInfoClass &rinfo, unsigned int depth) |
| |
|
| void | Update_Arrays (Vector3 *point_loc, Vector4 *point_diffuse, float *point_size, unsigned char *point_orientation, unsigned char *point_frame, int active_points, int total_points, int &vnum, int &pnum) |
| |
Definition at line 66 of file pointgr.h.
◆ FlagsType
◆ PointModeEnum
| Enumerator |
|---|
| TRIS | |
| QUADS | |
| SCREENSPACE | |
Definition at line 70 of file pointgr.h.
◆ PointGroupClass()
| PointGroupClass::PointGroupClass |
( |
void | | ) |
|
◆ ~PointGroupClass()
| PointGroupClass::~PointGroupClass |
( |
void | | ) |
|
|
virtual |
◆ _Init()
| void PointGroupClass::_Init |
( |
void | | ) |
|
|
static |
- Todo
- lorenzen sez: unwrap loop and use pointer arithmetic (if this gets called a lot)
- Todo
- lorenzen sez: umwrap and use pointers
- Todo
- lorenzen sez: pointer arithmetic like "++ib=vert+1"
- Todo
- lorenzen sez: pointers!
Definition at line 1438 of file pointgr.cpp.
◆ _Shutdown()
| void PointGroupClass::_Shutdown |
( |
void | | ) |
|
|
static |
◆ Get_Billboard()
| bool PointGroupClass::Get_Billboard |
( |
void | | ) |
|
◆ Get_Flag()
| int PointGroupClass::Get_Flag |
( |
FlagsType | flag | ) |
|
◆ Get_Frame_Row_Column_Count_Log2()
| unsigned char PointGroupClass::Get_Frame_Row_Column_Count_Log2 |
( |
void | | ) |
|
◆ Get_Point_Alpha()
| float PointGroupClass::Get_Point_Alpha |
( |
void | | ) |
|
◆ Get_Point_Color()
| Vector3 PointGroupClass::Get_Point_Color |
( |
void | | ) |
|
◆ Get_Point_Frame()
| unsigned char PointGroupClass::Get_Point_Frame |
( |
void | | ) |
|
◆ Get_Point_Mode()
◆ Get_Point_Orientation()
| unsigned char PointGroupClass::Get_Point_Orientation |
( |
void | | ) |
|
◆ Get_Point_Size()
| float PointGroupClass::Get_Point_Size |
( |
void | | ) |
|
◆ Get_Polygon_Count()
| int PointGroupClass::Get_Polygon_Count |
( |
void | | ) |
|
◆ Get_Shader()
◆ Get_Texture()
◆ operator=()
◆ Peek_Texture()
◆ Render()
- Todo
- lorenzen asks: is particle culling in the shader perhaps faster than in DoParticles? Fix winding and find out...
- Todo
- lorenzen sez: precompute pointers to indexed array elements, below
- Todo
- lorenzen sez: use pointer arithmetic here and a fast while loop
lorenzen fixed
- Todo
- lorenzen sez: if tri-based particles are not supported, elim this test
- Todo
- lorenzen sez: use pointer arithmetic throughout this block
- Todo
- Todo
- lorenzen sez: delare thes locals outside this loop
- Todo
- Todo
- lorenzen sez: use a fast while loop
Definition at line 775 of file pointgr.cpp.
◆ RenderVolumeParticle()
| void PointGroupClass::RenderVolumeParticle |
( |
RenderInfoClass & | rinfo, |
|
|
unsigned int | depth ) |
- Todo
- lorenzen sez: precompute pointers to indexed array elements, below
- Todo
- lorenzen sez: use pointer arithmetic here and a fast while loop
lorenzen fixed
- Todo
- lorenzen sez: if tri-based particles are not supported, elim this test
- Todo
- lorenzen sez: use pointer arithmetic throughout this block
- Todo
- Todo
- lorenzen sez: delare thes locals outside this loop
- Todo
- Todo
- lorenzen sez: use a fast while loop
- Todo
- lorenzen sez: precompute these params, above
Definition at line 1643 of file pointgr.cpp.
◆ Set_Arrays()
| void PointGroupClass::Set_Arrays |
( |
ShareBufferClass< Vector3 > * | locs, |
|
|
ShareBufferClass< Vector4 > * | diffuse = NULL, |
|
|
ShareBufferClass< unsigned int > * | apt = NULL, |
|
|
ShareBufferClass< float > * | sizes = NULL, |
|
|
ShareBufferClass< unsigned char > * | orientations = NULL, |
|
|
ShareBufferClass< unsigned char > * | frames = NULL, |
|
|
int | active_point_count = -1, |
|
|
float | vpxmin = 0.0f, |
|
|
float | vpymin = 0.0f, |
|
|
float | vpxmax = 0.0f, |
|
|
float | vpymax = 0.0f ) |
◆ Set_Billboard()
| void PointGroupClass::Set_Billboard |
( |
bool | shouldBillboard | ) |
|
◆ Set_Flag()
◆ Set_Frame_Row_Column_Count_Log2()
| void PointGroupClass::Set_Frame_Row_Column_Count_Log2 |
( |
unsigned char | frccl2 | ) |
|
◆ Set_Point_Alpha()
| void PointGroupClass::Set_Point_Alpha |
( |
float | alpha | ) |
|
◆ Set_Point_Color()
| void PointGroupClass::Set_Point_Color |
( |
Vector3 | color | ) |
|
◆ Set_Point_Frame()
| void PointGroupClass::Set_Point_Frame |
( |
unsigned char | frame | ) |
|
◆ Set_Point_Mode()
◆ Set_Point_Orientation()
| void PointGroupClass::Set_Point_Orientation |
( |
unsigned char | orientation | ) |
|
◆ Set_Point_Size()
| void PointGroupClass::Set_Point_Size |
( |
float | size | ) |
|
◆ Set_Shader()
◆ Set_Texture()
◆ Update_Arrays()
| void PointGroupClass::Update_Arrays |
( |
Vector3 * | point_loc, |
|
|
Vector4 * | point_diffuse, |
|
|
float * | point_size, |
|
|
unsigned char * | point_orientation, |
|
|
unsigned char * | point_frame, |
|
|
int | active_points, |
|
|
int | total_points, |
|
|
int & | vnum, |
|
|
int & | pnum ) |
|
protected |
- Todo
- lorenzen sez: precompute params below
- Todo
- lorenzen sez: this switch statement may be done more compactly another way... look into it
- Todo
- lorenzen sez: use pointer arithmetic below
- Todo
- lorenzen sez: use pointer arithmetic below
- Todo
- lorenzen sez: use a quicker, unwrapped loop, and pointer arithmetic
- Todo
- Todo
- lorenzen sez: this is a leaf function, dang it
Definition at line 1015 of file pointgr.cpp.
◆ APT
◆ Billboard
| bool PointGroupClass::Billboard |
|
protected |
◆ DefaultPointAlpha
| float PointGroupClass::DefaultPointAlpha |
|
protected |
◆ DefaultPointColor
| Vector3 PointGroupClass::DefaultPointColor |
|
protected |
◆ DefaultPointFrame
| unsigned char PointGroupClass::DefaultPointFrame |
|
protected |
◆ DefaultPointOrientation
| unsigned char PointGroupClass::DefaultPointOrientation |
|
protected |
◆ DefaultPointSize
| float PointGroupClass::DefaultPointSize |
|
protected |
◆ Flags
| unsigned int PointGroupClass::Flags |
|
protected |
◆ FrameRowColumnCountLog2
| unsigned char PointGroupClass::FrameRowColumnCountLog2 |
|
protected |
◆ PointCount
| int PointGroupClass::PointCount |
|
protected |
◆ PointDiffuse
◆ PointFrame
◆ PointLoc
◆ PointMode
◆ PointOrientation
◆ PointSize
◆ Shader
◆ Texture
◆ VPXMax
| float PointGroupClass::VPXMax |
|
protected |
◆ VPXMin
| float PointGroupClass::VPXMin |
|
protected |
◆ VPYMax
| float PointGroupClass::VPYMax |
|
protected |
◆ VPYMin
| float PointGroupClass::VPYMin |
|
protected |
The documentation for this class was generated from the following files: