Skip to content
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 100 commits into from
Dec 12, 2024
Merged

Structure remake #1

merged 100 commits into from
Dec 12, 2024

Conversation

migon25
Copy link
Collaborator

@migon25 migon25 commented Dec 12, 2024

No description provided.

migon25 and others added 30 commits October 17, 2024 17:41
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
cube test with checked texture.
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
some typo mistakes
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.
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
migon25 and others added 29 commits November 22, 2024 15:18
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.
Model Importer in editor
@migon25 migon25 merged commit dbb5450 into CITM-UPC:main Dec 12, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants