+
Skip to content

kai-zhang-er/ray-tracer

Repository files navigation

Ray tracer

Introduction

This is a project about ray tracer implemented on C++.

functions

  • It combines these following functions.

    [x] add objects(sphere)

    [x] reflection and refraction

    [x] material

    [x] texture

    [x] moving objects

    [x] moving camera(point light source)

    [x] acceleration based on OPENMP

  • Some functions need to be finished:

    [ ] add other objects(rectangles)

    [ ] line light source

    [ ] image based textures

    [ ] interation

class structure

image.png

How to apply

windows

  • Open Virtual Studio and create new projects

  • add the header files and source files

  • F5 to compile and run the program.

  • If you want to use the openMP acceleration to speed up, open the openMP support configuration.

linux

  • use g++ to compile all files and generate the executable file.

About

a ray tracing project implemented on C++ and accelerated by OPENMP

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载