Commit Graph

150 Commits

Author SHA1 Message Date
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
Anakin 86c0559fdc Merge branch 'master' of git.rwth-aachen.de:carstenf/OpenGL 2017-01-17 17:36:35 +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 91b3f25dbb fixed wireframe bug 2017-01-16 16:41:52 +01:00
Anakin 47c73ed881 added custom info window,
set min size to mainwindow
2017-01-16 15:41:37 +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 b8f8a5c2ad fixed the problem 2017-01-15 12:33:57 +01:00
Anakin 6ead5d7bc6 working on changing the texture names to materials,
problems with call by value/reference
2017-01-15 12:26:15 +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 e41b831047 new release version
Features:
- WinXP support
2017-01-09 10:34:24 +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 c94a9c3462 new release version,
Features:
- status messages while import,
- fixed triangulation,
- rle and 24 bit image support (normally qt should support 24 bit, too),
- rotation can be limit to the directions,
- added fileinfo,
- performance,
Bugs:
- nothing known
2017-01-08 12:27:37 +01:00
Anakin 3be5793ffc limit pitch to [-90,90] 2017-01-08 12:21:56 +01:00
Anakin f5ee8a973d Using QString now,
fileinfo works now
2017-01-07 15:59:16 +01:00
Anakin 8c2ca44f20 added limited rotation,
2 directions do not work
2017-01-07 12:46:06 +01:00
Anakin e963b7538e fixed texture problem 2017-01-05 16:18:01 +01:00
Anakin b58b7c47e5 some buttons added 2017-01-05 16:04:51 +01:00
Anakin 44e36b8b0d trying to fix the 2xEmit bug,
write directly mirrored to the image,
2017-01-05 14:46:01 +01:00
Anakin 1d5d20cfb8 trying to fix the crash 2017-01-05 13:44:53 +01:00
Anakin 0bbc0da324 rle and 24bit support,
need to write direct into image for performance
2017-01-05 11:31:36 +01:00
Anakin 552f86bf2d fix quad poly bug 2017-01-05 09:39:18 +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 a221ed4957 new release version,
Features:
-changed library,
-new interaction,
-new software icon,
-rotation bug fixed,
-cloth bug fixed,
Bugs:
-rle compressed tga not working.
-old assets are not displayed correctly,
2017-01-03 14:35:09 +01:00
Anakin c28a12cd8f finally fixed rotation bug,
some performance,
2017-01-03 14:18:46 +01:00
Anakin 0fefc6168b add drag and drop support 2017-01-03 11:47:27 +01:00
Anakin ae84c55559 changed default opened file 2017-01-02 17:10:22 +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 fc7941a890 fixed rotation problem 2017-01-02 16:43:38 +01:00
Anakin 24d26cfdfa removed unused things from FileInterface 2017-01-02 15:07:39 +01:00
Anakin 876c689a1d cleanup code 2017-01-02 14:14:27 +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 0735ef996d cosmetic to MainWindow,
drop does not work for widget,
fixed offset problem,
add esc key
2016-12-31 16:18:35 +01:00
Anakin dca6e61c4b parent matrix works,
texture works,
next fix multimodel problem
2016-12-31 14:40:05 +01:00
Anakin 3758a2601c cleanup data after file is no longer needed 2016-12-31 13:11:14 +01:00
Anakin 9a5d09b80c fixed crash 2016-12-31 13:04:03 +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 c96d05decb fixed the triangle problem :D
next:
add texture import,
test multiedged mesh,
add open button,
add drag n' drop
2016-12-30 15:39:31 +01:00
Anakin d63d5276a1 Merge branch 'master' of git.rwth-aachen.de:carstenf/OpenGL 2016-12-30 15:07:29 +01:00