[Improve file explorer & implement Assimp with lighting/material support]
- Reworked file explorer UI for clearer hierarchy and usability
- Actually wired up Assimp properly for model loading
- Added basic lighting support
- Added independent material support per mesh
(oh my gosh this took 4 days to actually get working, let alone not crashing 😭)
This commit is contained in:
@@ -61,6 +61,7 @@ private:
|
||||
char importModelName[128] = ""; // For Assimp models
|
||||
|
||||
char fileBrowserSearch[256] = "";
|
||||
float fileBrowserIconScale = 1.0f; // 0.5 to 2.0 range
|
||||
|
||||
// Private methods
|
||||
SceneObject* getSelectedObject();
|
||||
@@ -106,6 +107,8 @@ private:
|
||||
void duplicateSelected();
|
||||
void deleteSelected();
|
||||
void setParent(int childId, int parentId);
|
||||
void loadMaterialFromFile(SceneObject& obj);
|
||||
void saveMaterialToFile(const SceneObject& obj);
|
||||
|
||||
// Console/logging
|
||||
void addConsoleMessage(const std::string& message, ConsoleMessageType type);
|
||||
|
||||
Reference in New Issue
Block a user