Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-04-16 | refa Simplify code for rendering 3d objects | Frederico Linhares | |
2024-03-23 | fixt Make skeletal mesh work properly | Frederico Linhares | |
2024-03-23 | refa Use quaternion for orientation | Frederico Linhares | |
2024-01-09 | fixt Remove another bug when computing text size | Frederico Linhares | |
2024-01-06 | buil Use NSIS to create Windows installer | Frederico Linhares | |
2023-12-22 | fixt Remove bug when computing text size | Frederico Linhares | |
* src/texture.cpp: Fix number of arguments. * src/vk/texture.cpp: Fix image size when last character have a negative bearing. | |||
2023-10-30 | refa Move texture sampler to texture object | Frederico Linhares | |
2023-10-27 | feat Create an interface to change field of view | Frederico Linhares | |
2023-10-09 | feat Render sprite in a 3D position | Frederico Linhares | |
2023-10-02 | refa Remove redundant framebuffers | Frederico Linhares | |
* src/vk/framebuffer.hpp: Move to this class all the framebuffers. | |||
2023-09-30 | refa Remove redundant descriptor sets | Frederico Linhares | |
* src/vk/light.hpp: Move to this class, the descriptor sets used for lighting by the 3D graphics pipelines. | |||
2023-09-30 | refa Remove redundant render pass | Frederico Linhares | |
* src/vk/render_pass.hpp: Both 2D pipelines used identical render passes. I merged both in a single render pass. * src/vk/renderer.cpp (Renderer::draw): Use only one render pass for both 2D graphics pipelines. | |||
2023-09-29 | refa Move all descriptor sets to a new class | Frederico Linhares | |
* src/vk/descriptor_set_layout.hpp: Moving all descriptor sets in the same class makes it easier to identify code duplication. * src/vk/graphics_pipeline_2d_solid_layout.cpp, src/vk/graphics_pipeline_2d_wired_layout.cpp, src/vk/graphics_pipeline_3d_layout.cpp: Remove redundant descriptor set layouts. | |||
2023-09-28 | refa Remove redundant descriptor set layout | Frederico Linhares | |
* src/vk/graphics_pipeline_3d_layout.cpp: skeletal_model and static_model were identical, therefore, redundant. | |||
2023-09-28 | styl Rename ODO structures to UDO | Frederico Linhares | |
* src/vk/uniform_data_object.hpp: I do not remember why I named these structs ODO. UDO makes more sense as they represents "uniform data objects." | |||
2023-09-27 | refa Remove redundant uniform buffer updates | Frederico Linhares | |
* src/vk/graphics_pipeline_3d.cpp: Remove redundant uniform buffer updates * src/vk/renderer.cpp: Update world colors just once for each frame. | |||
2023-09-15 | feat Create skeletal mesh | Frederico Linhares | |
2023-07-18 | fixt Invert drawing order for sprites | Frederico Linhares | |
* src/vk/graphics_pipeline_2d_solid.cpp: Drawing sprites with a higher z-index on top is more intuitive than the opposite. | |||
2023-07-08 | fixt Use correct value for alpha when decoding QOI | Frederico Linhares | |
* src/vk/qoi.cpp: Only the initial pixel must use 255 for alpha. The index array must use 0 for alpha. | |||
2023-06-28 | feat Create an interface to read binary files | Frederico Linhares | |
* test/meshes/cube.cgmesh: Store data using Big-Endian order. | |||
2023-06-22 | feat Implement an algorithm to decode QOI | Frederico Linhares | |
* src/vk/qoi.cpp: Implement an algorithm to decode QOI. This eliminates an unnecessary dependency as the engine does not need to encode QOI files, only decode them. | |||
2023-06-17 | feat Add z index when rendering sprites | Frederico Linhares | |
* src/sprite.cpp: Add a new parameter to sprites to define the z index of the image being rendered. * src/vk/graphics_pipeline_2d_solid.cpp: Sort may not be the most efficient algorithm, but it is easier to implement. If this code becomes slow, it can be optimized with little or no changes to the Ruby interface. | |||
2023-05-29 | refa Sprite receives floats instead of Vector4D | Frederico Linhares | |
* lib/menu.rb: Uses the new interface for Sprite. * src/sprite.cpp (Sprite#new, Sprite#draw): By requiring a Vector4D as an argument, sometimes the code calling a Sprite method needs to instantiate a Vector4D and use the stance once. The functions now require four float variables to eliminate this unnecessary instantiation. | |||
2023-04-24 | fixt Improve text rendering | Frederico Linhares | |
2023-04-20 | feat Create text rendering system | Frederico Linhares | |
2023-01-12 | refa Use Push constants for 3D models | Frederico Linhares | |
2023-01-06 | refa Use Push constants for sprites and rectangles | Frederico Linhares | |
2022-12-29 | refa Use QOI image format for textures | Frederico Linhares | |
2022-12-23 | feat Add size to projections in 2D views | Frederico Linhares | |
2022-12-23 | refa Merge Rectangle into Vector4D | Frederico Linhares | |
2022-11-09 | feat create method Rectangle#draw | Frederico Linhares | |
2022-10-21 | feat Skip frame if image is not available. | Frederico Linhares | |
2022-10-10 | feat Move configuration from YAML file to game | Frederico Linhares | |
2022-10-04 | buil Use SDL_MAIN_HANDLED to compile engine on Windows | Frederico Linhares | |
2022-09-29 | feat Allow multiple textures to be used with the same mesh | Frederico Linhares | |
2022-09-23 | refa Use Vulkan coordinates instead of OpenGL | Frederico Linhares | |
2022-09-21 | feat Create View2D | Frederico Linhares | |
2022-09-21 | refa All views in use shares the same descriptor pool | Frederico Linhares | |
2022-09-16 | feat Create View | Frederico Linhares | |
2022-09-08 | refa Move layouts away from graphics pipelines | Frederico Linhares | |
2022-09-05 | refa Move render passes away from graphics pipelines | Frederico Linhares | |
2022-08-31 | feat Add projection to 2D graphics pipeline | Frederico Linhares | |
2022-08-30 | feat Create 2d graphics pipeline | Frederico Linhares | |
2022-08-22 | feat Make camera and model instance more abstract | Frederico Linhares | |
* src/camera.cpp src/camera.hpp: Remove the camera as Vector3D and Rotation3D are going to replace it. * src/model.cpp: Add draw command as instances do not exist anymore. * src/model/instance.cpp src/model/instance.hpp: Remove the instance as Vector3D and Rotation3D are going to replace it. | |||
2022-08-17 | feat Simplify the 3d model structure | Frederico Linhares | |
2022-08-16 | feat Create directional light | Frederico Linhares | |
2022-08-03 | fixt Increase view projection distance | Frederico Linhares | |
2022-08-03 | feat Create a log system | Frederico Linhares | |
2022-08-02 | refa Use Vulkan for graphics | Frederico Linhares | |
This is a partial refactory. Some functionalities implemented in SDL were removed and need reimplementation. |