WoW Model Viewer
Your premiere tool for viewing, equipping and animating World of Warcraft models.
Loading...
Searching...
No Matches
WoWModel Class Reference

Core WoW .m2 model: geometry, animation, textures, and character data. More...

#include <WoWModel.h>

Inheritance diagram for WoWModel:
[legend]
Collaboration diagram for WoWModel:
[legend]

Public Types

typedef std::vector< glm::vec4 > particleColorSet
 
typedef int GeosetNum
 
- Public Types inherited from Container< WoWItem >
typedef std::unordered_set< WoWItem * >::iterator iterator
 

Public Member Functions

uint nbLights () const
 
 WoWModel (GameFile *file, bool forceAnim=false)
 
 ~WoWModel ()
 
void reset ()
 
void update (int dt)
 
void drawBones ()
 
void drawBoundingVolume ()
 
void drawParticles ()
 
void draw ()
 
void updateEmitters (float dt)
 
void setLOD (int index)
 
void setupAtt (int id)
 
void setupAtt2 (int id)
 
WoWItemgetItem (CharSlots slot)
 
int getItemId (CharSlots slot)
 
bool isWearingARobe ()
 
void updateTextureList (GameFile *tex, int special)
 
void displayHeader (ModelHeader &a_header)
 
bool canSetTextureFromFile (int texnum)
 
std::map< int, std::wstring > getAnimsMap ()
 
void save (pugi::xml_node &parentNode)
 
void load (const std::string &filepath)
 
void showGeoset (uint geosetindex, bool value)
 
void hideAllGeosets ()
 
bool isGeosetDisplayed (uint geosetindex)
 
void setGeosetGroupDisplay (CharGeosets group, int val)
 
void setCreatureGeosetData (std::set< GeosetNum > cgd)
 
WoWModelmergeModel (std::string name, int type=1, bool noRefresh=false)
 
WoWModelmergeModel (uint fileID, int type=1, bool noRefresh=false)
 
WoWModelmergeModel (WoWModel *model, int type=1, bool noRefresh=false)
 
void unmergeModel (std::string name)
 
void unmergeModel (uint fileID)
 
void unmergeModel (WoWModel *model)
 
WoWModelgetMergedModel (uint fileID)
 
void refresh ()
 
std::string getNameForTex (uint16 tex)
 
GLuint getGLTexture (uint16 tex) const
 
void dumpTextureStatus ()
 
- Public Member Functions inherited from ManagedItem
 ManagedItem (std::string n)
 
virtual ~ManagedItem ()
 
void addref ()
 
bool delref ()
 
void setItemName (std::string name)
 
const std::string & itemName () const
 
int refCount ()
 
- Public Member Functions inherited from Displayable
virtual ~Displayable ()
 
- Public Member Functions inherited from Model
 Model ()=default
 
virtual ~Model ()=0
 
- Public Member Functions inherited from Container< WoWItem >
 Container ()
 
virtual ~Container ()
 
virtual bool addChild (WoWItem *child)
 
virtual bool removeChild (WoWItem *child)
 
void removeAllChildren ()
 
virtual void onChildAdded (WoWItem *)
 
virtual void onChildRemoved (WoWItem *)
 
int removeAllChildrenOfType ()
 
unsigned int nbChildren () const
 
bool findChildComponent (Component *child, bool recursive=false)
 
ComponentgetChild (unsigned int index)
 
const ComponentgetChild (unsigned int index) const
 
iterator begin ()
 
iterator end ()
 
- Public Member Functions inherited from Component
 Component ()
 
virtual ~Component ()
 
virtual bool addChild (Component *)
 Add a child component to this node.
 
virtual bool removeChild (Component *)
 Remove a child component from this node.
 
void setParentComponent (Component *)
 Set the parent of this component.
 
virtual void onParentSet (Component *)
 Called after the parent has been set; override for custom logic.
 
const Componentparent () const
 Get the parent component (const).
 
Componentparent ()
 Get the parent component.
 
template<class DataType >
const DataType * firstParentOfType ()
 Walk up the parent chain and return the first ancestor of the given type.
 
void ref ()
 Increment the reference counter.
 
void unref ()
 Decrement the reference counter; deletes this when it reaches zero.
 
void setName (const std::string &name)
 
std::string name () const
 
virtual void onNameChanged ()
 
void print (int l_depth=0)
 
virtual void doPrint ()
 
void copy (const Component &component, bool)
 

Static Public Member Functions

static std::string getCGGroupName (CharGeosets cg)
 

Public Attributes

GameFilegamefile
 
std::vector< uintreplacableParticleColorIDs
 
bool replaceParticleColors
 
int mergedModelType
 
std::vector< particleColorSetparticleColorReplacements
 
std::vector< ModelVertexorigVertices
 
glm::vec3 * normals
 
glm::vec2 * texCoords
 
glm::vec3 * vertices
 
std::vector< uint32indices
 
std::vector< ModelCameracam
 
std::string modelname
 
std::string lodname
 
std::vector< ModelRenderPass * > passes
 
std::vector< ModelGeosetHD * > geosets
 
bool showBones
 
bool showBounds
 
bool showWireframe
 
bool showParticles
 
bool showModel
 
bool showTexture
 
float alpha_
 
float scale_
 
glm::vec3 pos_
 
glm::vec3 rot_
 
bool ok
 
bool ind
 
bool hasCamera
 
bool hasParticles
 
bool isWMO
 
bool isMount
 
bool animated
 
float rad
 
float trans
 
std::vector< ModelAnimationanims
 
std::vector< int16animLookups
 
AnimManageranimManager
 
std::vector< Bonebones
 
size_t currentAnim
 
bool animcalc
 
size_t anim
 
size_t animtime
 
CharTexture tex
 
std::vector< ModelAttachmentatts
 
int16 attLookup [ATT_MAX]
 
int16 keyBoneLookup [BONE_MAX]
 
ModelType modelType
 
CharModelDetails charModelDetails
 
CharDetails cd
 
RaceInfos infos
 
TabardDetails td
 
ModelHeader header
 
std::set< GeosetNumcreatureGeosetData
 
uint creatureGeosetDataID
 
bool bSheathe
 
bool mirrored_
 
- Public Attributes inherited from Displayable
Attachmentattachment
 

Static Public Attributes

static const size_t ATT_MAX = 60
 

Private Member Functions

void drawModel ()
 
void initCommon ()
 
bool isAnimated ()
 
void initAnimated ()
 
void initStatic ()
 
void initRaceInfos ()
 
void animate (ssize_t anim)
 
void calcBones (ssize_t anim, size_t time)
 
void lightsOn (GLuint lbase)
 
void lightsOff (GLuint lbase)
 
void refreshMerging ()
 
void restoreRawGeosets ()
 
std::vector< AFIDreadAFIDSFromFile (GameFile *f)
 
void readAnimsFromFile (GameFile *f, std::vector< AFID > &afids, modelAnimData &data, uint32 nAnimations, uint32 ofsAnimation, uint32 nAnimationLookup, uint32 ofsAnimationLookup)
 
std::vector< TXIDreadTXIDSFromFile (GameFile *f)
 

Static Private Member Functions

static bool sortPasses (ModelRenderPass *mrp1, ModelRenderPass *mrp2)
 

Private Attributes

GLuint vbuf
 
GLuint nbuf
 
GLuint tbuf
 
size_t vbufsize
 
GLuint dlist
 
bool forceAnim
 
std::vector< GLuint > textures
 
std::vector< int > specialTextures
 
std::vector< GLuint > replaceTextures
 
std::vector< uint16boundTris
 
std::vector< glm::vec3 > bounds
 
std::set< WoWModel * > mergedModels
 
std::vector< ModelVertexrawVertices
 
std::vector< uint32rawIndices
 
std::vector< ModelRenderPass * > rawPasses
 
std::vector< ModelGeosetHD * > rawGeosets
 
std::vector< uint32skinFileIDs
 
std::vector< uint32globalSequences
 
std::vector< ParticleSystemparticleSystems
 
std::vector< RibbonEmitterribbons
 
std::vector< TextureAnimtexAnims
 
std::vector< ModelColorcolors
 
std::vector< ModelTransparencytransparency
 
std::vector< ModelLightlights
 
std::vector< ModelEventevents
 
bool animGeometry
 
bool animBones
 

Friends

class ModelRenderPass
 
std::ostream & operator<< (std::ostream &out, const WoWModel &m)
 

Detailed Description

Core WoW .m2 model: geometry, animation, textures, and character data.

Loaded from a CASCFile, this class owns vertex buffers, bones, animations, render passes, particle emitters, character details, and equipment items.

Definition at line 49 of file WoWModel.h.

Member Typedef Documentation

◆ GeosetNum

typedef int WoWModel::GeosetNum

Definition at line 134 of file WoWModel.h.

◆ particleColorSet

typedef std::vector<glm::vec4> WoWModel::particleColorSet

Definition at line 126 of file WoWModel.h.

Constructor & Destructor Documentation

◆ WoWModel()

WoWModel::WoWModel ( GameFile file,
bool  forceAnim = false 
)

Definition at line 117 of file WoWModel.cpp.

Here is the call graph for this function:

◆ ~WoWModel()

WoWModel::~WoWModel ( )

Definition at line 185 of file WoWModel.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ animate()

void WoWModel::animate ( ssize_t  anim)
private

Definition at line 1612 of file WoWModel.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ calcBones()

void WoWModel::calcBones ( ssize_t  anim,
size_t  time 
)
private

Definition at line 1427 of file WoWModel.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ canSetTextureFromFile()

bool WoWModel::canSetTextureFromFile ( int  texnum)

Definition at line 3846 of file WoWModel.cpp.

◆ displayHeader()

void WoWModel::displayHeader ( ModelHeader a_header)

Definition at line 249 of file WoWModel.cpp.

Here is the caller graph for this function:

◆ draw()

void WoWModel::draw ( )
inlinevirtual

Reimplemented from Displayable.

Definition at line 1818 of file WoWModel.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ drawBones()

void WoWModel::drawBones ( )

Definition at line 1893 of file WoWModel.cpp.

Here is the caller graph for this function:

◆ drawBoundingVolume()

void WoWModel::drawBoundingVolume ( )

Definition at line 1927 of file WoWModel.cpp.

Here is the caller graph for this function:

◆ drawModel()

void WoWModel::drawModel ( )
inlineprivate

Definition at line 1702 of file WoWModel.cpp.

Here is the caller graph for this function:

◆ drawParticles()

void WoWModel::drawParticles ( )

Definition at line 1943 of file WoWModel.cpp.

Here is the caller graph for this function:

◆ dumpTextureStatus()

void WoWModel::dumpTextureStatus ( )

Definition at line 38 of file WoWModel.cpp.

Here is the call graph for this function:

◆ getAnimsMap()

std::map< int, std::wstring > WoWModel::getAnimsMap ( )

Definition at line 2039 of file WoWModel.cpp.

Here is the caller graph for this function:

◆ getCGGroupName()

std::string WoWModel::getCGGroupName ( CharGeosets  cg)
static

Definition at line 3856 of file WoWModel.cpp.

Here is the caller graph for this function:

◆ getGLTexture()

GLuint WoWModel::getGLTexture ( uint16  tex) const

Definition at line 4416 of file WoWModel.cpp.

Here is the caller graph for this function:

◆ getItem()

WoWItem * WoWModel::getItem ( CharSlots  slot)

Definition at line 1985 of file WoWModel.cpp.

Here is the caller graph for this function:

◆ getItemId()

int WoWModel::getItemId ( CharSlots  slot)

Definition at line 1996 of file WoWModel.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getMergedModel()

WoWModel * WoWModel::getMergedModel ( uint  fileID)

Definition at line 4041 of file WoWModel.cpp.

◆ getNameForTex()

std::string WoWModel::getNameForTex ( uint16  tex)

Definition at line 4408 of file WoWModel.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ hideAllGeosets()

void WoWModel::hideAllGeosets ( )

Definition at line 4452 of file WoWModel.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ initAnimated()

void WoWModel::initAnimated ( )
private

Definition at line 965 of file WoWModel.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ initCommon()

void WoWModel::initCommon ( )
private

Definition at line 411 of file WoWModel.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ initRaceInfos()

void WoWModel::initRaceInfos ( )
private

Definition at line 842 of file WoWModel.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ initStatic()

void WoWModel::initStatic ( )
private

Definition at line 825 of file WoWModel.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ isAnimated()

bool WoWModel::isAnimated ( )
private

Definition at line 323 of file WoWModel.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ isGeosetDisplayed()

bool WoWModel::isGeosetDisplayed ( uint  geosetindex)

Definition at line 3919 of file WoWModel.cpp.

Here is the caller graph for this function:

◆ isWearingARobe()

bool WoWModel::isWearingARobe ( )

Definition at line 2006 of file WoWModel.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ lightsOff()

void WoWModel::lightsOff ( GLuint  lbase)
private

Definition at line 1872 of file WoWModel.cpp.

◆ lightsOn()

void WoWModel::lightsOn ( GLuint  lbase)
private

Definition at line 1864 of file WoWModel.cpp.

◆ load()

void WoWModel::load ( const std::string &  filepath)

Definition at line 3841 of file WoWModel.cpp.

Here is the call graph for this function:

◆ mergeModel() [1/3]

WoWModel * WoWModel::mergeModel ( std::string  name,
int  type = 1,
bool  noRefresh = false 
)

Definition at line 3988 of file WoWModel.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ mergeModel() [2/3]

WoWModel * WoWModel::mergeModel ( uint  fileID,
int  type = 1,
bool  noRefresh = false 
)

Definition at line 4011 of file WoWModel.cpp.

Here is the call graph for this function:

◆ mergeModel() [3/3]

WoWModel * WoWModel::mergeModel ( WoWModel model,
int  type = 1,
bool  noRefresh = false 
)

Definition at line 4031 of file WoWModel.cpp.

Here is the call graph for this function:

◆ nbLights()

uint WoWModel::nbLights ( ) const
inline

Definition at line 119 of file WoWModel.h.

◆ readAFIDSFromFile()

std::vector< AFID > WoWModel::readAFIDSFromFile ( GameFile f)
private

Definition at line 885 of file WoWModel.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ readAnimsFromFile()

void WoWModel::readAnimsFromFile ( GameFile f,
std::vector< AFID > &  afids,
modelAnimData data,
uint32  nAnimations,
uint32  ofsAnimation,
uint32  nAnimationLookup,
uint32  ofsAnimationLookup 
)
private

Definition at line 903 of file WoWModel.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ readTXIDSFromFile()

std::vector< TXID > WoWModel::readTXIDSFromFile ( GameFile f)
private

Definition at line 869 of file WoWModel.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ refresh()

void WoWModel::refresh ( )

Definition at line 4266 of file WoWModel.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ refreshMerging()

void WoWModel::refreshMerging ( )
private

Definition at line 4051 of file WoWModel.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ reset()

void WoWModel::reset ( )
inlinevirtual

Reimplemented from Displayable.

Definition at line 187 of file WoWModel.h.

◆ restoreRawGeosets()

void WoWModel::restoreRawGeosets ( )
private

Definition at line 4427 of file WoWModel.cpp.

Here is the caller graph for this function:

◆ save()

void WoWModel::save ( pugi::xml_node &  parentNode)

Definition at line 3834 of file WoWModel.cpp.

Here is the call graph for this function:

◆ setCreatureGeosetData()

void WoWModel::setCreatureGeosetData ( std::set< GeosetNum cgd)

Definition at line 3950 of file WoWModel.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setGeosetGroupDisplay()

void WoWModel::setGeosetGroupDisplay ( CharGeosets  group,
int  val 
)

Definition at line 3929 of file WoWModel.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setLOD()

void WoWModel::setLOD ( int  index)

Definition at line 1238 of file WoWModel.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setupAtt()

void WoWModel::setupAtt ( int  id)
virtual

Reimplemented from Displayable.

Definition at line 1911 of file WoWModel.cpp.

◆ setupAtt2()

void WoWModel::setupAtt2 ( int  id)
virtual

Reimplemented from Displayable.

Definition at line 1919 of file WoWModel.cpp.

◆ showGeoset()

void WoWModel::showGeoset ( uint  geosetindex,
bool  value 
)

Definition at line 3913 of file WoWModel.cpp.

Here is the caller graph for this function:

◆ sortPasses()

bool WoWModel::sortPasses ( ModelRenderPass mrp1,
ModelRenderPass mrp2 
)
staticprivate

Definition at line 1418 of file WoWModel.cpp.

Here is the caller graph for this function:

◆ unmergeModel() [1/3]

void WoWModel::unmergeModel ( std::string  name)

Definition at line 4228 of file WoWModel.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ unmergeModel() [2/3]

void WoWModel::unmergeModel ( uint  fileID)

Definition at line 4244 of file WoWModel.cpp.

Here is the call graph for this function:

◆ unmergeModel() [3/3]

void WoWModel::unmergeModel ( WoWModel model)

Definition at line 4259 of file WoWModel.cpp.

Here is the call graph for this function:

◆ update()

void WoWModel::update ( int  dt)
virtual

Reimplemented from Displayable.

Definition at line 2017 of file WoWModel.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateEmitters()

void WoWModel::updateEmitters ( float  dt)

Definition at line 1879 of file WoWModel.cpp.

Here is the caller graph for this function:

◆ updateTextureList()

void WoWModel::updateTextureList ( GameFile tex,
int  special 
)

Definition at line 2024 of file WoWModel.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ ModelRenderPass

Definition at line 223 of file WoWModel.h.

◆ operator<<

std::ostream & operator<< ( std::ostream &  out,
const WoWModel m 
)
friend

Definition at line 4458 of file WoWModel.cpp.

Member Data Documentation

◆ alpha_

float WoWModel::alpha_

Definition at line 159 of file WoWModel.h.

◆ anim

size_t WoWModel::anim

Definition at line 185 of file WoWModel.h.

◆ animated

bool WoWModel::animated

Definition at line 172 of file WoWModel.h.

◆ animBones

bool WoWModel::animBones
private

Definition at line 104 of file WoWModel.h.

◆ animcalc

bool WoWModel::animcalc

Definition at line 184 of file WoWModel.h.

◆ animGeometry

bool WoWModel::animGeometry
private

Definition at line 104 of file WoWModel.h.

◆ animLookups

std::vector<int16> WoWModel::animLookups

Definition at line 179 of file WoWModel.h.

◆ animManager

AnimManager* WoWModel::animManager

Definition at line 180 of file WoWModel.h.

◆ anims

std::vector<ModelAnimation> WoWModel::anims

Definition at line 178 of file WoWModel.h.

◆ animtime

size_t WoWModel::animtime

Definition at line 185 of file WoWModel.h.

◆ ATT_MAX

const size_t WoWModel::ATT_MAX = 60
static

Definition at line 208 of file WoWModel.h.

◆ attLookup

int16 WoWModel::attLookup[ATT_MAX]

Definition at line 209 of file WoWModel.h.

◆ atts

std::vector<ModelAttachment> WoWModel::atts

Definition at line 207 of file WoWModel.h.

◆ bones

std::vector<Bone> WoWModel::bones

Definition at line 181 of file WoWModel.h.

◆ bounds

std::vector<glm::vec3> WoWModel::bounds
private

Definition at line 80 of file WoWModel.h.

◆ boundTris

std::vector<uint16> WoWModel::boundTris
private

Definition at line 79 of file WoWModel.h.

◆ bSheathe

bool WoWModel::bSheathe

Definition at line 220 of file WoWModel.h.

◆ cam

std::vector<ModelCamera> WoWModel::cam

Definition at line 144 of file WoWModel.h.

◆ cd

CharDetails WoWModel::cd

Definition at line 214 of file WoWModel.h.

◆ charModelDetails

CharModelDetails WoWModel::charModelDetails

Definition at line 213 of file WoWModel.h.

◆ colors

std::vector<ModelColor> WoWModel::colors
private

Definition at line 99 of file WoWModel.h.

◆ creatureGeosetData

std::set<GeosetNum> WoWModel::creatureGeosetData

Definition at line 218 of file WoWModel.h.

◆ creatureGeosetDataID

uint WoWModel::creatureGeosetDataID

Definition at line 219 of file WoWModel.h.

◆ currentAnim

size_t WoWModel::currentAnim

Definition at line 183 of file WoWModel.h.

◆ dlist

GLuint WoWModel::dlist
private

Definition at line 56 of file WoWModel.h.

◆ events

std::vector<ModelEvent> WoWModel::events
private

Definition at line 102 of file WoWModel.h.

◆ forceAnim

bool WoWModel::forceAnim
private

Definition at line 57 of file WoWModel.h.

◆ gamefile

GameFile* WoWModel::gamefile

Definition at line 112 of file WoWModel.h.

◆ geosets

std::vector<ModelGeosetHD*> WoWModel::geosets

Definition at line 149 of file WoWModel.h.

◆ globalSequences

std::vector<uint32> WoWModel::globalSequences
private

Definition at line 95 of file WoWModel.h.

◆ hasCamera

bool WoWModel::hasCamera

Definition at line 168 of file WoWModel.h.

◆ hasParticles

bool WoWModel::hasParticles

Definition at line 169 of file WoWModel.h.

◆ header

ModelHeader WoWModel::header

Definition at line 217 of file WoWModel.h.

◆ ind

bool WoWModel::ind

Definition at line 167 of file WoWModel.h.

◆ indices

std::vector<uint32> WoWModel::indices

Definition at line 139 of file WoWModel.h.

◆ infos

RaceInfos WoWModel::infos

Definition at line 215 of file WoWModel.h.

◆ isMount

bool WoWModel::isMount

Definition at line 171 of file WoWModel.h.

◆ isWMO

bool WoWModel::isWMO

Definition at line 170 of file WoWModel.h.

◆ keyBoneLookup

int16 WoWModel::keyBoneLookup[BONE_MAX]

Definition at line 210 of file WoWModel.h.

◆ lights

std::vector<ModelLight> WoWModel::lights
private

Definition at line 101 of file WoWModel.h.

◆ lodname

std::string WoWModel::lodname

Definition at line 146 of file WoWModel.h.

◆ mergedModels

std::set<WoWModel*> WoWModel::mergedModels
private

Definition at line 83 of file WoWModel.h.

◆ mergedModelType

int WoWModel::mergedModelType

Definition at line 117 of file WoWModel.h.

◆ mirrored_

bool WoWModel::mirrored_

Definition at line 221 of file WoWModel.h.

◆ modelname

std::string WoWModel::modelname

Definition at line 145 of file WoWModel.h.

◆ modelType

ModelType WoWModel::modelType

Definition at line 212 of file WoWModel.h.

◆ nbuf

GLuint WoWModel::nbuf
private

Definition at line 52 of file WoWModel.h.

◆ normals

glm::vec3* WoWModel::normals

Definition at line 136 of file WoWModel.h.

◆ ok

bool WoWModel::ok

Definition at line 166 of file WoWModel.h.

◆ origVertices

std::vector<ModelVertex> WoWModel::origVertices

Definition at line 132 of file WoWModel.h.

◆ particleColorReplacements

std::vector<particleColorSet> WoWModel::particleColorReplacements

Definition at line 130 of file WoWModel.h.

◆ particleSystems

std::vector<ParticleSystem> WoWModel::particleSystems
private

Definition at line 96 of file WoWModel.h.

◆ passes

std::vector<ModelRenderPass*> WoWModel::passes

Definition at line 148 of file WoWModel.h.

◆ pos_

glm::vec3 WoWModel::pos_

Definition at line 163 of file WoWModel.h.

◆ rad

float WoWModel::rad

Definition at line 175 of file WoWModel.h.

◆ rawGeosets

std::vector<ModelGeosetHD*> WoWModel::rawGeosets
private

Definition at line 89 of file WoWModel.h.

◆ rawIndices

std::vector<uint32> WoWModel::rawIndices
private

Definition at line 87 of file WoWModel.h.

◆ rawPasses

std::vector<ModelRenderPass*> WoWModel::rawPasses
private

Definition at line 88 of file WoWModel.h.

◆ rawVertices

std::vector<ModelVertex> WoWModel::rawVertices
private

Definition at line 86 of file WoWModel.h.

◆ replacableParticleColorIDs

std::vector<uint> WoWModel::replacableParticleColorIDs

Definition at line 114 of file WoWModel.h.

◆ replaceParticleColors

bool WoWModel::replaceParticleColors

Definition at line 115 of file WoWModel.h.

◆ replaceTextures

std::vector<GLuint> WoWModel::replaceTextures
private

Definition at line 64 of file WoWModel.h.

◆ ribbons

std::vector<RibbonEmitter> WoWModel::ribbons
private

Definition at line 97 of file WoWModel.h.

◆ rot_

glm::vec3 WoWModel::rot_

Definition at line 164 of file WoWModel.h.

◆ scale_

float WoWModel::scale_

Definition at line 160 of file WoWModel.h.

◆ showBones

bool WoWModel::showBones

Definition at line 153 of file WoWModel.h.

◆ showBounds

bool WoWModel::showBounds

Definition at line 154 of file WoWModel.h.

◆ showModel

bool WoWModel::showModel

Definition at line 157 of file WoWModel.h.

◆ showParticles

bool WoWModel::showParticles

Definition at line 156 of file WoWModel.h.

◆ showTexture

bool WoWModel::showTexture

Definition at line 158 of file WoWModel.h.

◆ showWireframe

bool WoWModel::showWireframe

Definition at line 155 of file WoWModel.h.

◆ skinFileIDs

std::vector<uint32> WoWModel::skinFileIDs
private

Definition at line 90 of file WoWModel.h.

◆ specialTextures

std::vector<int> WoWModel::specialTextures
private

Definition at line 63 of file WoWModel.h.

◆ tbuf

GLuint WoWModel::tbuf
private

Definition at line 52 of file WoWModel.h.

◆ td

TabardDetails WoWModel::td

Definition at line 216 of file WoWModel.h.

◆ tex

CharTexture WoWModel::tex

Definition at line 194 of file WoWModel.h.

◆ texAnims

std::vector<TextureAnim> WoWModel::texAnims
private

Definition at line 98 of file WoWModel.h.

◆ texCoords

glm::vec2* WoWModel::texCoords

Definition at line 137 of file WoWModel.h.

◆ textures

std::vector<GLuint> WoWModel::textures
private

Definition at line 62 of file WoWModel.h.

◆ trans

float WoWModel::trans

Definition at line 176 of file WoWModel.h.

◆ transparency

std::vector<ModelTransparency> WoWModel::transparency
private

Definition at line 100 of file WoWModel.h.

◆ vbuf

GLuint WoWModel::vbuf
private

Definition at line 52 of file WoWModel.h.

◆ vbufsize

size_t WoWModel::vbufsize
private

Definition at line 53 of file WoWModel.h.

◆ vertices

glm::vec3* WoWModel::vertices

Definition at line 138 of file WoWModel.h.


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