Patrice,
I know it's usually annoying to wait and overtake, so here's an early beginning of our sync process. I'll be adding more features marked with
TODO in the code, menus, and text below in the next few days:
Mods dated "MLL 10-18-2018:"
0. Fixed clearing old geometry data on model reload
1. Fixed mipmapping on texture reload
2. Fixed material initialization for models with missing MAT files
3. Fixed model and mesh rotation stop/resume/reset angles
4. Fixed deletion of shader programs
5. Fixed and refactored frenglish func names to common style
6. Refactored PROPM structure into PROPM and RHANDL structures
7. Refactored main and sub menus to allow new functionalities
8. Isolated shaders and render procs into separate project files
9. Removed lots of obsolete Mobj_xxx code
10. Added:
- scene grid
- TODO: inertial mouse
- TODO: axis aligned bounding boxes
- TODO: viewport tooltip to report material names under cursor
- TODO: model Z rotation on Alt+LMB drag
- flat shaders to support glShadeModel(GL_SMOOTH | GL_FLAT) (except normal map shader for now)
- shader for discrete texture and geo inspection in design modeI'm slow because I'm fixing
everything that I find buggy or unhandy until it works and looks flawlessly by my standards. It involves a hellofalot of time and experimentation.
But many fixes and features are already working and ready for your criticism.
Some provisions are already included in the code for the coming features too.
Please copy the files from the zip below into their respective project folders (same project paths considering the zip as the solution root) and let them overwrite the old files. Don't forget to add the two new files (
renderers.h and
shaders.h) to the project.
Do not attempt a usual merger as there are far too many differences. Just copy, recompile, and enjoy. And criticize if needed.