Commit Graph

30 Commits

Author SHA1 Message Date
Anakin 308d238b2d add settings icon,
set ogl verison to 2.0 to make it compatible with more PCs
2017-01-24 19:39:34 +01:00
Anakin 73ee8a4040 added settings window,
connected all slider, lineEdits, checkboxes,...,
need to connect everything with the OglViewerWidget now
2017-01-23 16:09:06 +01:00
Anakin 91488c55b2 more information for the InfoWindow,
set correct values for cloth material,
enable specular map
2017-01-22 14:37:06 +01:00
Anakin 5f104e46f2 gui changes 2017-01-22 12:25:59 +01:00
Anakin 6fa81a8ccc Some styling 2017-01-21 16:33:03 +01:00
Anakin c4444bcefd fixed background bug,
support directional light,
zoom speed can be adjust via +/-
2017-01-21 15:22:43 +01:00
Anakin 9808cd03c0 save more material information,
hold default material in geometry separated,
load diffuse color if texture cannot be opened,
fixed gamma correction on the texture,
2017-01-20 16:26:58 +01:00
Anakin 28d17b2fdd trying to workaround gamma correction (remove from tga) 2017-01-19 20:15:00 +01:00
Anakin 9fb3ca03bd added specular, ambient light,...
need to fix the texutre gamma correction,
look at the todos
2017-01-19 17:57:50 +01:00
Anakin 4c177f2ddc adjust light functionality,
bugs:
- background cannot be changed during runtime
2017-01-18 17:01:43 +01:00
Anakin a521dfc292 calculate normal matrix once in cpp (performance),
added bool variable to turn light on/off (still needs button),
2017-01-17 20:18:04 +01:00
Anakin f5863752e2 fixed the light problem,
very basic light at the moment, needs a lot of work:
- custom position,
- custom intensities,
- calculate at better positions,
others:
- adjust zoom speed
2017-01-17 18:03:47 +01:00
Anakin 1c962a481f implemented light into cpp,
bug:
everything is dark,
need to calculate the normal matrix once in cpp and not for every pixel
2017-01-17 17:48:54 +01:00
C-Fu 1bcb4d67c1 fixed wrong dimension 2017-01-17 11:37:07 +01:00
C-Fu 152d436dd7 Calculate vertex position in world space in vertex shaded not in fragment 2017-01-17 11:36:23 +01:00
C-Fu 5191a46f72 Added light calculation to fragment shader 2017-01-17 11:32:06 +01:00
C-Fu 9b3ff7f737 adjust vertex shaded to pass information to fragment shaded for light 2017-01-17 11:15:30 +01:00
Anakin 86dfe32145 add wireframe paint option,
write file information on the screen,
bug fixes
2017-01-16 14:24:30 +01:00
Anakin 454ed45fa1 support transparency now 2017-01-15 15:51:12 +01:00
Anakin f469dff656 added transparency support,
need to sort the transparent things to the back
2017-01-14 17:20:50 +01:00
Anakin 930c49e9c7 add screenshot function 2017-01-11 16:28:51 +01:00
Anakin 77ffe7baf4 added icons 2017-01-09 16:34:54 +01:00
Anakin 948578f506 add normal to VertexData 2017-01-08 14:41:53 +01:00
Anakin 5c2f5503fc new release version,
forgot to update the help text
2017-01-08 12:36:08 +01:00
Anakin a2f5324a3c sendMessage via signal plot from file to window,
add severity to messages (black, yellow, red),
add about text,
removed unused texture from resource
2017-01-04 14:35:27 +01:00
Anakin 191c0cbcea scale and move to center,
performance is not very good. Takes very long to load
2017-01-02 17:03:23 +01:00
Anakin fa8808fea8 add exe icon,
signal-slot for openFile,
resetView on openFile,
cleanup when open a new file,
triangulate quad poly now correctly, more not working, bug from previous version,
next:
fix 5,6,.. triangulation,
triClothMan, IC Helmet, still buggy,
2017-01-02 12:21:32 +01:00
Anakin ee8705f9e4 draw all models from vector,
window cosmetic,
next:
texture,
calculate modelmatrix from parent
2016-12-31 12:31:38 +01:00
Anakin 0499982150 move texture to GeometryEngine 2016-12-29 13:37:15 +01:00
Anakin a30f1b125c added Qt Example, next change it to fit my project 2016-12-24 16:03:37 +01:00