Coder Social home page Coder Social logo

bl33h / axolotlslikepicklesraytracing Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 46.29 MB

A raytracing graphics app with a resource manager, skybox rendering, and precise sphere representation through ray intersections. An axolotl and two pickles take place in the scene.

License: MIT License

Shell 0.34% C++ 94.14% CMake 1.63% C 3.90%
axolotl block cpp glm minecraft pickle pixel-art raytracer raytracing sdl2

axolotlslikepicklesraytracing's Introduction

axolotlsLikePicklesRaytracing

It's a graphics application showcasing raytracing techniques. The project includes the implementation of a resource manager for handling image loading and rendering, rendering of a skybox based on a provided texture file, and representation of spheres with ray intersection calculations.


pic

FilesFeaturesHow To Use

Files

  • main.cpp: The main application file handling game logic, input, and rendering.
  • resourceManager.h: Header file for the resource manager class.
  • colors.h: Header file defining color structures.
  • object.h: Header file defining the base Object class.
  • materials.h: Header file defining material structures.
  • materials.cpp: Implementation file for material-related functions.
  • skybox.cpp: Implementation file for the Skybox class.
  • skybox.h: Header file for the Skybox class.
  • sphere.cpp: Implementation file for the Sphere class.
  • sphere.h: Header file for the Sphere class.
  • cube.cpp: Implementation file for the Cube class.
  • cube.h: Header file for the Cube class.
  • camera.cpp: Implementation file for the Camera class.
  • camera.h: Header file for the Camera class.

Features

The main features of the graphics application include:

  • Camera for navigating the scene, allowing movement with keyboard keys and zooming in and out with the mouse wheel.
  • Implementation of a resource manager for handling image loading and rendering.
  • Sphere and Cube object representation with ray intersection calculations.
  • Skybox rendering based on a provided texture file.

How To Use

To clone and run this application, you'll need WSL (Windows Subsystem for Linux) and the following tools installed on it: Git, C++ compiler, CMake, Make, glm, tbb, and SDL2. From your command line:

# Clone this repository
$ git clone https://github.com/bl33h/axolotlsLikePicklesRaytracing

# Open the project
$ cd axolotlsLikePicklesRaytracing

# Give execution permissions
$ chmod +x configure.sh
$ chmod +x build.sh
$ chmod +x run.sh

# Run the app
$ ./run.sh

axolotlslikepicklesraytracing's People

Contributors

bl33h avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.