Skip to content

kinhosz/Appel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Appel

Computer Vision with Ray Tracing

Current Version: 0.23.0

Project for the Graphics Processing discipline of Computer Science course @ CIn/UFPE.

Contributing guide

To facilitate development, the project will follow the below conventions:

  • Task management through GitHub's Kanban, using issues;
  • main branch protected: only changes via pull requests are allowed;
  • Pull requests require at least one approval to be merged;
  • Maintain the project structure to avoid complications in merges;
  • Document everything possible whenever feasible.

See more

Project Structure

Compile

make tests

Will compile & run all tests inside tests/ directory using GPU.

make tests EGPU=0

Will compile & run all tests inside tests/ directory using CPU (EGPU = Enable GPU).

make unit FNAME=tests/geometry/vetor.cpp

Will compile & run the specific file using GPU.

make unit FNAME=tests/geometry/vetor.cpp EGPU=0

Will compile & run the specific file using CPU.

clear bin

make clear

Dependencies

Cuda toolkit(optional)

https://linuxhint.com/install-cuda-on-ubuntu-22-04-lts/
https://developer.nvidia.com/cuda-downloads
make install

Will Install:

Note: On windows, use this compiler: https://github.com/brechtsanders/winlibs_mingw/releases/download/13.1.0-16.0.5-11.0.0-msvcrt-r5/winlibs-x86_64-posix-seh-gcc-13.1.0-mingw-w64msvcrt-11.0.0-r5.7z

BREAKING CHANGE: (GPU feature) Only Linux support!

Project Showcase

  • Scenes generated with Phong shading:

    • Scenes with one Light and three objects (Plane, TriangularMesh and Sphere) img img

    • Scene with reflex and refraction: img img

    • A Human Face:

    img