Skip to content

miniRT는 C언어로 구현된 레이트레이싱 기반 3D 렌더링 엔진입니다. 벡터 및 행렬 연산을 통해 광선-객체 간의 교차점을 계산하여 사실적인 이미지를 생성합니다. 뷰포트를 통한 카메라 이동, 회전, 확대/축소 기능을 지원하며, 설정 파일을 통해 3D 객체, 카메라, 광원의 위치와 속성을 정의할 수 있습니다. Phong 조명 모델을 구현하여 ambient lighting, diffuse reflection, specular highlight, 그림자 효과를 제공합니다.

Notifications You must be signed in to change notification settings

seongmik-s-team/miniRT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

miniRT

MiniRT - Raytracing engine written in C

Overview

image

Getting Started

System Requirements

  • macOS or Linux operating system

Installation and Build

  1. Clone the repository.
git clone https://github.com/seongmik-s-team/miniRT.git
cd miniRT
  1. Run the build script.
make

Execution

After the build is complete, you can run the program with the following command.

./miniRT [scene].rt

Usage

  • Press the W, A, S, D keys to move the camera.
  • Press the , , , keys to rotate the camera.
  • Press the R keys to render high quality image.
  • Press the ESC key to exit the program during rendering.

Coding Convention

  • commit message 형식 : ex. [MERGE] temp commit
  • issue 제목 형식 : ex. [BUG] leaks 발생 문제
  • pull request 제목 형식 : ex. [BUGFIX] leaks 문제 해결
  • 함수가 복잡하면 주석 달기
  • 수식 관련은 무조건 주석

About

miniRT는 C언어로 구현된 레이트레이싱 기반 3D 렌더링 엔진입니다. 벡터 및 행렬 연산을 통해 광선-객체 간의 교차점을 계산하여 사실적인 이미지를 생성합니다. 뷰포트를 통한 카메라 이동, 회전, 확대/축소 기능을 지원하며, 설정 파일을 통해 3D 객체, 카메라, 광원의 위치와 속성을 정의할 수 있습니다. Phong 조명 모델을 구현하여 ambient lighting, diffuse reflection, specular highlight, 그림자 효과를 제공합니다.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •