Commit Graph

23 Commits

Author SHA1 Message Date
Anakin 7e87b14fe1 made all path relative now 2017-04-30 15:05:21 +02:00
Anakin 49585945c3 fixed too high specular,
updated preview.jpg
2017-02-06 16:53:27 +01:00
Anakin 06d403d546 support normal map now,
support "glow" now,
update preview.jpg
2017-02-06 14:53:05 +01:00
Anakin 541a975624 added preview imange,
passed data to shader,
need to process data in shader
2017-02-05 20:10:05 +01:00
Anakin 30f1a1e627 passing poylNormal, tangent, bitangent to shader 2017-02-05 16:57:12 +01:00
Anakin fe374cb8f6 made fshader.glsl compatible with older versions 2017-01-26 18:25:24 +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 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 5191a46f72 Added light calculation to fragment shader 2017-01-17 11:32:06 +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 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