adjusted the readme

This commit is contained in:
djonker 2023-10-26 11:23:45 +02:00
parent 6d55ae40ed
commit ed426d992a

View File

@ -1,33 +1,42 @@
# Fractol # Cub3D
Fractol is a Fractal zoomer using the mlx library Cub3D is a simple raycasting game using the mlx library
--- ---
## Improvements ## Todo
### Features ### Parsing
auto zoom to current center.\ - Parse the .cub file for the floor and ceiling colors
Seperate Calculation from drawing so that color flowing can be controlled without recalculating\ - Parse the .cub file for the 4 textures
calulate and display fractal dimension?, count edge pixels at standard zoom?\ - Parse the .cub file for the map
option to display numbers of the numberplane?, if so how to shrink with zoom?\ - Flood fill the map and test if it is closed
add an option to blend colors in a gradient\ - Check if all needed elements are present in the closed part of the map
vector graphic fractols based on lines if possible? ### Raycasting
### Faster Rendering - Render the walls correctly
multithreading, give every Y line to the next thread.\ - Render the walls correctly with movement
If both numbers get very close to zero it is definitely in the mandelbrot (mess up precision?)\ - Render the walls correctly with rotation
Check if the last number is very close to the current number every 10 iterations, if so break, it is in the mandelbrot (mess up precision?)\ ### Bonus
Use Symmetric properties to draw the first line and last line at the same time (only helpful with very low zoom values else it only adds conditions.)\ - Doors
Somehow stop calculating if a new calculation is next in line\ - Wall Collision
Edge Detection? - Minimap
- Animated Sprites
- Rotate with the mouse
### Extra
- A Menu?
- Levels?
- Skybox?
- Enemies?
- Weapon Sprite that fires?
- Barrels?
- Jumping?
- Vertical Aiming?
--- ---
## Bugs ## Bugs
**fractal getting out of aspect when wildly zooming in and out**\
**CY and CX value wrong when the doubles are negative**
--- ---
## Usage ## Usage
1. Simply clone or download the repository 1. Simply clone or download the repository
2. Run `make` in the cloned directory 2. Run `make` in the cloned directory
3. Start the server with `./fract-ol [FRACTAL] [ITERATIONS] [COLORSCHEME]` 3. Start the game with `./cub3d`
--- ---
[This project is part of the studies at 42](https://42.fr/en/homepage/) [This project is part of the studies at 42](https://42.fr/en/homepage/)