What does it do? • Primitives • How To Use • Disclaimer
- Renders pictures on the screen of a 3D scene.
- Renders simple primitives like cone, cylinder, sphere and plane.
- Takes in a parameter on the command line of a scene.
- Parses the data in the file and creates the scene accordingly.
- You can rotate the camera and objects from the files.
(sphere, cylinder, plane, cone)
To clone and run this application, you'll need Git and a gcc compiler installed on your computer. Also you need miniLibX graphics library which to my knowledge doesn't work on windows. This has been tested only on MacOs. Run the following commands on the command line:
# Clone this repository
$ git clone https://github.com/PietarTheWise/RTv1.git
# Build the program by typing:
$ make
# in command line
#then run:
$ ./Rtv1 scenes/cool_scene
#Note: There are other scenes on the scenes folder that you can run with the program.
#You can also choose the colors, by changing the rbg values.
This is a project from the 42 school, which is a school that utilizes peer to peer learning. We're only given a document that gives us the details of the assignment, therefore each implementation is unique. Each assignment is tested for crashes and other bugs thoroughly by other peers. Apart from some exceptions, existing libraries are banned, these projects utilize our self made version of libc called libft.