oktosha / ray-tracing Goto Github PK
View Code? Open in Web Editor NEWCompletion of the Raytracing on One Weekend tutorial with c++17 wrapped into Cython
License: MIT License
Completion of the Raytracing on One Weekend tutorial with c++17 wrapped into Cython
License: MIT License
It would be fun to benchmark different renders agains each other. One idea is to add vanilla python renderer.
Right now the rendered images look very dark. It's probably because I don't apply the gamma-transform to the colors.
The issue requires to change the C++ code of the CPP17 render: add the gamma transform and also conversion from [0, 1) range to [0, 255]. Also check the image saving routine in runme.ipynb, it might break because it also does the multiplication by 255.
The basic image should be almost enough, just need to add some python libraries from requirements.txt
Right now these things are hard-coded magic numbers in the CPP17 renderer. It would probably be nice to have these things as parameters.
It would be fun to benchmark different renders agains each other. One idea is to add rust renderer which exposes the interface to python.
Hey there! I'm building my own ray tracer using a mix of taichi, numba, numpy and cython. Thank you for this amazing implementation of Peter Shirley's rt in one weekend. I wanted to know how much time it takes to render the random spheres example scene using your implementation, and what hardware the benchmark was made on.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.