raytracer's People
raytracer's Issues
Travis build is failing due to wrong forward declaration.
/home/travis/build/choffmann/raytracer/src/container.h:18:8: error: forward declaration of ‘const struct Mat3d’
struct Mat3d;
This is not an error on my local machine: gcc version 7.2.0 (Ubuntu 7.2.0-8ubuntu3) / g++ (Ubuntu 7.2.0-8ubuntu3) 7.2.0
Travis: g++ (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4
Implement BHV
Currently the rendering is very slow because I have implemented some kind of brute force raytracing which calculates intersections with all primitives with all rays. This is very time consuming!
My idea is to use BHVs to partition the scene spatially. This can be used to fast test for which primitives I have really calc intersection.
Add CI/CD pipeline using github workflow
I want automatic building/testing on github.
Some areas are just black.
I figured out that some faces are just black which should not happen. After some investigation I probably found the bug. Some face normals are of [0 0 0] and after normalization [-nan, -nan, -nan]. This cases the problem.
Loading scene from a file
Currently the whole scene is hard coded into the code. Changing the scene requires recompilation and running. This is a mess and I want to change that to load the whole scene from a file.
After some thoughts (~ 5 min.) I figured a YAML description would good to describe a scene. So lets implement this.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.