tecla / rayito Goto Github PK
View Code? Open in Web Editor NEWSimple ray tracing tutorials
Simple ray tracing tutorials
It'd be really helpful to have some sort of indication of the progress of the render. A progress bar would work, but it'd be cool to have live updates of the render.
Also, I wonder if render times could be faster with render worker threads and a job queue. So it'd split the image up into chunks of a predefined size, instead of into a predefined number of chunks.
What do you think? Worth adding? With your blessing, I could maybe tackle this.
Hi Mike,
So I'm getting a segfault in Stage7/RMesh.h:158. I'm pretty sure it's only when the passed-in variable u3 is exactly 1.0. I should also note that my mesh has only one rectangular face.
But then there's this bit of code that is worrisome:
151: if (iter == m_faceAreaCDF.end())
152: faceIndex = m_faceAreaCDF.size() - 1;
...
158: float faceArea = m_faceAreaCDF[ faceIndex + 1 ] - m_faceAreaCDF[faceIndex];
So on line 152 faceIndex is set to the maximum index, then on line 158, you add 1 to it.
Could you try being less talented? You make everyone else look bad.
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.