Laboratory works for Computer Graphics subject at KPI.
- Bezier Curve Editor
- Bucket-Filling Tool
Algorithms used:- Flood Fill
- Boundary Fill
- Scanline Fill
- Span Fill
- Fractals Viewer
Fractals used (implemented in glsl):- Koch snowflake shader
- Mandelbrot Set shader
- Barnsley Fern shader
- Downloading the repository: Start by cloning the repository with git clone --recursive https://github.com/SkaLe3/KPI-ComputerGraphics-Labs
- Generating solution: After cloning run GenerateProjects.bat script file to generate a Visual Studio 2022 solution file
- Select Startup project which you want to compile
- All instructions provided in an application interface
- Select the image you want to fill on the Scene Hierarchy Panel
- Select the algorithm and pick the color you want to use on the Settings Panel
- Use the left mouse button to fill areas
- Select the desired fractal, its color, and the number of iterations
- Use WASD to navigate
- Use the Mouse Wheel to zoom
- Use the Left Mouse Button to regenerate the Barnsley Fern fractal
All projects were finished within a small amount of time each and the code quality is poor. The code needs to be refactored, optimized and finished to the end with the new architecture of an application. But there is no reason to refactor and finish because the essence is in the implementation of the idea of algorithms and in studying their work, and not in writing a high-quality software product.
Fully recoded clone of an earlier version of TheCherno/Hazel with some custom changes