Commit Graph

19 Commits

Author SHA1 Message Date
Anakin 5c5b9ac2f1 don't copy the model list. It can be very big - using pointer now,
garbage is not from the texture or object changes
2016-11-25 16:14:33 +01:00
Anakin bbe657d030 reset view before loading a new file,
reset view when pressing space
2016-11-12 13:53:49 +01:00
Anakin 9298d88260 cleaning up before loading new stuff,
next step: calculate best first view position
2016-11-12 12:17:46 +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 b4b2538ea6 fixed problem 2016-11-08 17:06:50 +01:00
Anakin e5490b9451 collect all texture data and give it to the shader later,
solid color works,
texture crash
2016-11-08 16:42:05 +01:00
Anakin 42c94f290c instance was not the right thing for me,
now it's working
2016-11-07 17:07:16 +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 9d35634c0c pass data (xyz, uv) with 1 buffer to shader,
bugs:
2 triangles are not painted, one is wrong positioned
2016-11-01 11:51:04 +01:00
Anakin a875820f48 removed unused files,
removed unused functions,
removed unused variables,
reduced dynamic stack memory (there was too much allocated),
moved some code around into better place,
implemented destructor (there is still a std::_face_node left on the stack when the program is done),
2016-10-31 16:19:12 +01:00
Anakin ea07ead94f added new test mesh that is rotated,
translation from model is now applied,
still need to draw all modl from one mesh
2016-10-31 10:46:41 +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 5cec0128cd draw all triangles instead of the first 12,
added todo section to the README.md,
clean up code
2016-10-23 16:01:06 +02:00
Anakin 11a8de82d4 fixed interaction bug 2016-09-08 11:36:57 +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