Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/blsqr/tracetheray
This is a raytracing 3D-renderer, as the name suggests. It is one of my first C++ projects, and there sure is a lot more to learn, but this is a start.
https://github.com/blsqr/tracetheray
Last synced: 23 days ago
JSON representation
This is a raytracing 3D-renderer, as the name suggests. It is one of my first C++ projects, and there sure is a lot more to learn, but this is a start.
- Host: GitHub
- URL: https://github.com/blsqr/tracetheray
- Owner: blsqr
- Created: 2012-05-02T20:51:16.000Z (over 12 years ago)
- Default Branch: develop
- Last Pushed: 2016-07-08T15:40:54.000Z (over 8 years ago)
- Last Synced: 2023-03-23T21:40:17.421Z (almost 2 years ago)
- Language: C++
- Homepage:
- Size: 31.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
TraceTheRay
===========This is a raytracing 3D-renderer, as the name suggests. It is one of my first C++ projects, and there sure is a lot more to learn, so I am thankful for every kind of tip.
The current version is 0.5, but is still a very early stage of development and there are still plenty of features missing as well as bugs here and there.I am on Mac OS X Lion, am using g++ to compile and run it from the terminal. I guess on other platforms errors might occur...
Changelog
=========
- up to v0.5:
- (not in git)
- basic developmentFeatures so far:
================
- 2D:
- create a PixelMap, draw lines on it and save as bmp
- 3D:
- create polygons and trace them
- set up a camera
- output traced polygons as bmp
Known bugs:
===========
- drawn line is not always correct
- outer pixels of PixelMap have wrong coordinates
- Camera: calculating the needed vectors is wrong for direction parallel to z-axis
- render output is still not correct