Commit Graph

82 Commits

Author SHA1 Message Date
Maxim Stewart c2f7118ed6 Implemented recursive scan for mesh files on selection of dir path. Setup name instead of full path in list. 2017-06-18 06:17:40 -05:00
Anakin 33fafb29a8 removed unused or useless stuff,
renamed some functions for better description,
repaired the SettingsManager usage,
ToDo:
Dropdown list is not updated, it needs a restart,
display names for the directories instead of the path,
2017-06-17 15:42:43 +02:00
Maxim Stewart 6141263f45 Edited open() function to be more descriptive. Set to openFileActual 2017-06-17 05:18:21 -05:00
Maxim Stewart e59dd980bd Temp update to show unexpected segfault error 2017-06-16 03:16:30 -05:00
Maxim Stewart bddc7ea852 Getting dir list to the drop down field 2017-05-31 03:10:34 -05:00
Maxim Stewart 0372a4ad8c Setting up removing and adding stuff to the settings window dirlistview 2017-05-31 03:09:32 -05:00
Maxim Stewart e768ae9af8 Setup dirList access from settings through getter and setters 2017-05-30 21:38:51 -05:00
Maxim Stewart b089fcdaf6 Added settings for getting drop down filled and set list to hide folders.
Need to make a dirList setter plus get settings window to keep dirList for editing.
2017-05-30 21:37:17 -05:00
Maxim Stewart cdda1922fa Fixed accidental overload of function. 2017-05-30 07:49:54 -05:00
Maxim Stewart 7a41f2d9bf Added QFileSystemModel for the fileListView or aka treeView
Added QString filters to be used with QFileSystemModel
Added setAsset method as part of getAssetLibrary for reusability
2017-05-30 07:38:19 -05:00
Maxim Stewart b2efa83e17 Added check for qkList in meshviewer.config
Added QString listOfDirs
Added gettter method to get listOfDirs
Edited MainWindow.ui to prepare for list of file plus dir drop down
2017-05-30 07:12:50 -05:00
Anakin 7e87b14fe1 made all path relative now 2017-04-30 15:05:21 +02:00
Anakin fa75e17d58 most settings are saved and restored 2017-02-08 14:29:22 +01:00
Anakin 30f1a1e627 passing poylNormal, tangent, bitangent to shader 2017-02-05 16:57:12 +01:00
Anakin cdf19911f6 calculate polygon normal, tangent, and bitangent,
next step, use them for calculation
2017-02-05 16:39:37 +01:00
Anakin 4c40d140a9 cloth now has specular 2017-02-05 15:25:59 +01:00
Anakin 2d335474bf fixed camera control,
removed test exe
2017-02-05 12:34:24 +01:00
Anakin 94a2fa59ec added MoveCamera but isn't working well
updated about text,
2017-02-04 15:48:10 +01:00
Anakin 648b805daf forget to save file 2017-02-03 15:55:04 +01:00
Anakin 92245be302 finished OrbitCamera 2017-02-03 15:54:45 +01:00
Anakin 333eca25eb use class for camera handling,
orbit does not work. Need to figure out why
2017-02-02 18:01:08 +01:00
Anakin 8346e5916d changed everything from std to qt 2017-02-02 14:44:48 +01:00
Anakin 5372838420 further performance improvement 2017-02-02 11:14:16 +01:00
Anakin a14229aa71 further improvement on tga import 2017-02-01 17:53:42 +01:00
Anakin 1c5631a5e0 improve image load performance,
can be improved more, but scanline has wrong results
2017-02-01 17:41:29 +01:00
Anakin 37e9b86daa fixed bug that sometimes alpha channel was not read in,
code improvement = performance,
2017-01-30 16:54:35 +01:00
Anakin 4342260e6d improved performance using my own tga load function always instead of QImage
improved Profiler
2017-01-30 16:00:14 +01:00
Anakin d1c68e8ba6 added Profiler to analyses the time used by code lines 2017-01-30 12:01:45 +01:00
Anakin 9c16aa32f1 headlight,
bug fixes,
code improvement,
2017-01-30 11:31:37 +01:00
Anakin fbb51563c9 fixed backface culling bug,
todo: connect headligh
2017-01-30 00:02:32 +01:00
Anakin 538453c1db added headlight option to settings,
added cullface option to settings,
zoom speed now adjust at settings,
bugs:
cullface does not work anymore,
todo:
connect headlight
2017-01-29 23:47:14 +01:00
Anakin 7b739ab892 use OutputDevice to set fileinfo,
use new connect function,
2017-01-29 15:19:20 +01:00
Anakin 98302664ca add OuputDevice as singleton to manage output to statusbar, 2017-01-29 11:35:43 +01:00
Anakin 96b7d6f736 text in FileInfoWindow can be marked and copied,
code cleaning
2017-01-28 16:54:36 +01:00
Anakin fb49d8685a switch from QLineEdit to QSpinBox,
init SettingsWindow with default values from OglViewerWidget,
removed old qt project
2017-01-26 18:17:54 +01:00
Anakin 30d41f7d85 connected settings window with software 2017-01-24 17:09:51 +01:00
C-Fu 16c9d35580 Removed slots, I use lambda now 2017-01-24 11:48:45 +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 0a9103fdc5 differ vertexNormal and triangleNormal 2017-01-23 13:49:29 +01:00
Anakin 10718f2269 load tx1d texture 2017-01-23 12:29:10 +01:00
Anakin b2df84eb4c read tx1d tx2d tx3d texture names and print to info window 2017-01-23 12:17:26 +01:00
Anakin cdd6ace701 save rendertype,
evaluate rednertype specular,
changed info window always on top
2017-01-22 15:41:08 +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 5ea90723b4 changed intensity of background 2017-01-20 16:54:27 +01:00
Anakin af94ecd541 change background when the light is on 2017-01-20 16:39:17 +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
C-Fu eb0592373f added attributes to materials 2017-01-20 10:49:43 +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