Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
C-Fu
OpenGL
Commits
40783470
Commit
40783470
authored
Dec 03, 2016
by
Anakin
Browse files
fixed cloth problem
parent
46c4a166
Changes
4
Hide whitespace changes
Inline
Side-by-side
MshViewer/Source/Object.cpp
View file @
40783470
...
...
@@ -530,7 +530,7 @@ void Object::analyseClthChunks(Modl * dataDestination, std::list<ChunkHeader*>&
std
::
vector
<
uint32_t
>
tempPoly
;
// for every triangle..
for
(
unsigned
int
i
=
0
;
i
<
tempSize
;
i
+=
3
)
for
(
unsigned
int
i
=
0
;
i
<
tempSize
*
3
;
i
+=
3
)
{
tempPoly
.
clear
();
...
...
MshViewer/main.cpp
View file @
40783470
...
...
@@ -18,7 +18,7 @@ int main(int argc, char** argv)
scene
=
OpenGLController
::
getInstance
();
#ifdef _DEBUG
scene
->
loadMsh
(
"..
\\
Release
\\
Msh
\\
quadPoly
.msh"
);
scene
->
loadMsh
(
"..
\\
Release
\\
Msh
\\
triClothMan
.msh"
);
#endif // DEBUG
do
{
...
...
README.md
View file @
40783470
...
...
@@ -13,6 +13,7 @@ Feel free to use my code the way you like. But remember i used some public libra
licence, too.
### To Do
-
rotation problem
-
cloth not working correctly
-
optional display bones, shadow, collision,...
-
integrate into a software:
...
...
Release/Msh/triClothMan.msh
0 → 100644
View file @
40783470
File added
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment