Skip to content

abdelhak4/MiniRT

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

Welcome to our program! This readme provides an overview of the features and controls for selecting and manipulating objects in our application.

Object Selection

In our program, you can easily select objects using your mouse:

  1. Mouse Selection: Hover your mouse cursor over an object you want to select.

  2. Click: Left-click on the object with your mouse. The selected object will now be highlighted in Terminal.

Object Manipulation

Once you've selected an object, you can manipulate it using the following controls:

Object Movement

You can move the selected object using the arrow keys (Up, Down, Left, Right) on your keyboard:

  • Up Arrow Key: Move the object upwards.
  • Down Arrow Key: Move the object downwards.
  • Left Arrow Key: Move the object to the left.
  • Right Arrow Key: Move the object to the right.

Object Rotation

You can rotate the selected object with the following controls:

  • L Key: Press the 'l' key on your keyboard to rotate the light around the selected object.
  • 0 Key: Press the '0' key on your keyboard to rotate the camera around the selected object.

Object Scaling

To maximize or minimize the size of the selected object, use the mouse wheel:

  • Scroll Up: Scroll the mouse wheel upward to maximize the object's size.
  • Scroll Down: Scroll the mouse wheel downward to minimize the object's size.

here is some examples of rendered maps:

simplescreenrecorder-2023-10-06_10.03.40.mp4

1 2 3plane1sphere sphere_shadow sphere_cylinder sceen2 bonhomme_neige 4cylinders

Installation

before that you have to install Minilibx, you can visit minilibx

Linux Installation

  git clone [url] miniRT
  cd miniRT
  git checkout miniRT_linux
  make
  ./miniRT rt_files/spacy.rt 
  and explore more maps in rt_files

Mac Installation

  git clone [url] miniRT
  cd miniRT
  make
  ./miniRT rt_files/spacy.rt 
  and explore more maps in rt_files

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 96.8%
  • Makefile 3.2%