forked from migon25/EclipseEngine
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Structure remake #1
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
added and tested imgui for the editor implementation.
Implemented a texture loader using DevIL
Changed texture loader to better make use of it in the future.
Just made the texture plane rotate to test if it works.
Just testing Imgui multiviewport. It works fine!
Camera class as a place holder for now. It needs to be a GameObject Component (still in work). camera controls: -WASD to move -SPACE to go up -CTRL to go down -Mouse Right Click to move orientation
Added the panel handler for imgui windows. We can now create the panels. Panels for now: -menu bar (place holder) -basic panel (example/base code for panels) -FPS counter
Placeholder for the console panel to LOG all the information of init and loading mesh/objects/textures...
just a test
cleaned main adding the core of the engine and also implemented a logger to log each process of the engine tat can be stored in a .txt file
.txt file is now cleared after starting the program again.
We can now dock the panels into the viewport.
Development
hierarchy needs to be tested with gameobjects but the seems to be well done and the config parameters not all are functional but the panels are done
Mesh is a component for a Game Object now.
Components: -Material -Transforms NOTE: not functional yet
Made the cube a GameObject
Editor has it's own viewport panel now separated from the game camera. Scene can hold GameObjects fine now also.
Changed location of some files to prepare it for the custom file formats and the serialization.
-Functional gizmo in the viewport panel. -Changed project from C++14 to C++20 for future updates. -Selectable GameObjects inside the hierarchy panel. -Properties panel now displays info of the selected GameObject. -Changed the color of the grid to represent axis more accurately. -Deleted unnecessary lines in viewport and game panels.
-UI is monochrome style now. -Added tinyfiledialogs (need to integrate it into vcpkg). -Added the console panel toggle in the menu panel.
-Viewport panel can now accept dropped files and load them into scene. -Camera raycast used for the object drop in the scene. -UI & UX changes for easier navigation of files, renaming and deleting files in the assets panel.
-Default shader is created in the Material class so the loaded models that don't have a texture can have the default texture (white). -Also readded the fps histogram panel.
-Fixed some issues with the child gizmos not appearing in their respective position when the parent was transformed. NOTE: now there is another bug where the position displayed is always relative to the parent and not the globally and the position is not updated respect to the world when parent is moved. -Added some outlining for game object selection. BUGS: since the position of the child is not updated in the world, the outlining has an offset. -Starting scene is the Street1.fbx. -Tried to add a logo in window.
…Engine into Structure_Remake
…Engine into Structure_Remake
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.