Commit Graph

23 Commits

Author SHA1 Message Date
Anakin
57df0a2e15 use different variables to store the data. The aim is to handle even not triangulated mesh files.
At the moment there is a problem with the UV using the new method
2016-11-20 12:26:23 +01:00
Anakin
8929717c9f handle clustered models 2016-11-13 12:15:33 +01:00
Anakin
b4bd314450 clean up code 2016-11-12 12:05:03 +01:00
Anakin
2524971d19 include all parent modelmatrices 2016-11-12 11:54:44 +01:00
Anakin
2f83d37e12 fixed the problem,
next solve texture name is taken only from the first element,
move some code around
2016-11-08 21:28:24 +01:00
Anakin
b4b2538ea6 fixed problem 2016-11-08 17:06:50 +01:00
Anakin
0fd3a7f9c8 next step: draw each model with it's own texture,
added new example mesh
2016-11-08 10:25:10 +01:00
Anakin
b9903e593b new release build 2016-11-07 17:11:02 +01:00
Anakin
ed66d77b69 still trying to draw instanced 2016-11-07 12:06:55 +01:00
Anakin
bc518f58ee now you can set optional ogl version through the first 2 parameters 2016-11-01 14:16:18 +01:00
Anakin
e509b1e11c display all models from a mesh,
problem, apply different model matrices for each model,
solution give a list of all models to ogl controller, where they are handled,
next steps: find solution for wrong rotation + draw ALL models instead of only the first
2016-10-30 14:22:08 +01:00
Anakin
6d5489a96c texture now is correctly displayed 2016-10-23 15:38:47 +02:00
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
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
548150f33e evaluate most of MODL chunk,
missing GEOM chunk,
2016-10-11 13:41:24 +02:00
Anakin
05b6e4f9ed started msh read in 2016-09-12 16:49:05 +02:00
Anakin
8955fc91ea OpenGLController: moved some code around
shader: throw errors
2016-09-08 17:41:26 +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
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
847b3cdee8 managed old tutorial implementation with classes.
Bugs: nothing is displayed
2016-09-06 15:15:29 +02:00