4 ms·
depends on the ray tracer. You can make "a" ray tracer in a weekend. You can spend months making a mid-scoped tracer if you decide to pick up PBRT (which is onl
by johnnyanmac 3y ago
depends on the ray tracer. You can make "a" ray tracer in a weekend. You can spend months making a mid-scoped tracer if you decide to pick up PBRT (which is online for completely free now!): https://pbr-book.org/4ed/contents https://pbr-book.org/4ed/contents
If you want to upgrade your "weekend" ray tracer to a 2-4 week project, I'd suggest:
1. have it take input a scene/model file (FBX is the industry standard but also a pain in the butt because Autodesk. I'd suggest looking at gltf or blender scenes). This may or may not mean supporting triangles/quads if you only focused on spheres and planes.
2. texture support. Which sounds easy and then you enter the wonderful world of sampling. you can dive as shallow or as deep as you want there.
3. acceleration structures to improve runtime.
for a small start.
- sbuk 3y agoTry using USD instead[0]. It's an open scene description from Pixar that is well documentented and seeing adoption across the board - including apps like Blender. [0]https://openusd.org/release/index.html https://openusd.org/release/index.html