fixed cloth problem
This commit is contained in:
parent
46c4a166c4
commit
4078347023
|
@ -530,7 +530,7 @@ void Object::analyseClthChunks(Modl * dataDestination, std::list<ChunkHeader*>&
|
||||||
std::vector<uint32_t> tempPoly;
|
std::vector<uint32_t> tempPoly;
|
||||||
|
|
||||||
// for every triangle..
|
// for every triangle..
|
||||||
for (unsigned int i = 0; i < tempSize; i += 3)
|
for (unsigned int i = 0; i < tempSize * 3; i += 3)
|
||||||
{
|
{
|
||||||
tempPoly.clear();
|
tempPoly.clear();
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@ int main(int argc, char** argv)
|
||||||
scene = OpenGLController::getInstance();
|
scene = OpenGLController::getInstance();
|
||||||
|
|
||||||
#ifdef _DEBUG
|
#ifdef _DEBUG
|
||||||
scene->loadMsh("..\\Release\\Msh\\quadPoly.msh");
|
scene->loadMsh("..\\Release\\Msh\\triClothMan.msh");
|
||||||
#endif // DEBUG
|
#endif // DEBUG
|
||||||
|
|
||||||
do {
|
do {
|
||||||
|
|
|
@ -13,6 +13,7 @@ Feel free to use my code the way you like. But remember i used some public libra
|
||||||
licence, too.
|
licence, too.
|
||||||
|
|
||||||
### To Do
|
### To Do
|
||||||
|
- rotation problem
|
||||||
- cloth not working correctly
|
- cloth not working correctly
|
||||||
- optional display bones, shadow, collision,...
|
- optional display bones, shadow, collision,...
|
||||||
- integrate into a software:
|
- integrate into a software:
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue