Commit Graph

27 Commits

Author SHA1 Message Date
Anakin 4f52510ff9 texture is now correctly detected and used,
there seams to be a problem with the UV. They are not correctly
2016-10-22 15:35:06 +02:00
Anakin be97fa8e6f fixed crash problem 2016-10-22 14:05:46 +02:00
Anakin c0a84c7513 get all materials,
save the texture name for every modl,
program crashes at glfwPollEvents(); fix???
2016-10-22 13:49:45 +02:00
Anakin 03553616e7 now the tool finds the msh2 chunk even if it is not the 2nd behind HEDR,
hence restructured code,
2016-10-21 19:24:30 +02:00
Anakin 211b406c3d dynamical decide whether to use the given texture or solid red 2016-10-21 18:56:34 +02:00
Anakin c3d73895c7 read msh in,
handle non UVed msh,
next test UVed msh + dynamical switch between UVed/not UVed
2016-10-17 17:49:44 +02:00
Anakin e583c361ec fasten code,
fixed vertex crash,
still crashes while getting UV data,
vertex are not displayed correctly
2016-10-16 16:50:20 +02:00
Anakin 9700638548 integrated mesh import class into OpenGL,
Problem with STRP, indices are not logical
2016-10-16 12:33:25 +02:00
Anakin b2f174d15f clean up code:
removed useless variables,
moved code into new functions
2016-10-12 15:55:36 +02:00
Anakin 548150f33e evaluate most of MODL chunk,
missing GEOM chunk,
2016-10-11 13:41:24 +02:00
Anakin 59446f088f now all MODL chunks from MSH2 are saved,
searching only subchunks and not all behind,
finding corrupted size information and trying to continue
2016-10-10 12:34:01 +02:00
Anakin 4f1ff65f71 first try to get all MODL and their sub chunks, 2016-10-09 16:44:35 +02:00
Anakin 443675aeaa save name, size and position of every chunk under MSH2 2016-09-13 19:48:27 +02:00
Anakin 05b6e4f9ed started msh read in 2016-09-12 16:49:05 +02:00
Anakin 663bb62098 added stable test release,
modified dummy uv
2016-09-08 19:00:56 +02:00
Anakin 8955fc91ea OpenGLController: moved some code around
shader: throw errors
2016-09-08 17:41:26 +02:00
Anakin d97a917a5e rle files are now supported 2016-09-08 15:55:12 +02:00
Anakin 11a8de82d4 fixed interaction bug 2016-09-08 11:36:57 +02:00
Anakin ee73c16e1f implemented destructor,
bug: callback does not modify the right oglcontroller
2016-09-08 11:30:00 +02:00
Anakin f57614fd2a added old working project 2016-09-07 17:17:17 +02:00
Anakin 07bf3f9394 fix display bug,
bugs: cannot move cube anymore
2016-09-07 17:12:27 +02:00
Anakin 57472da352 put everything into one class,
Bug: still nothing displayed
2016-09-07 16:07:56 +02:00
Anakin f824f4eb4c implement singleton pattern 2016-09-07 12:46:34 +02:00
Anakin e7d7bec608 README.md added 2016-09-06 15:43:29 +02:00
Anakin 2e4bdf6c89 Merge https://github.com/GT-Anakin/MshViewer 2016-09-06 15:34:59 +02:00
GT-Anakin bcdc0f8be5 Initial commit 2016-09-06 15:24:36 +02:00
Anakin 847b3cdee8 managed old tutorial implementation with classes.
Bugs: nothing is displayed
2016-09-06 15:15:29 +02:00