Re:Photorealistic Path Tracer
by 200px on Sunday July 21, 2019 @06:17AM
(#20490691)
This is cool. I want to start learning this. What programming language would you suggest to write my code while I learn this? Is C++ pretty much necessary for performance reasons or other languages would be okay too? Any specific recommendation?
[ Parent
| on HN ]
Re:Photorealistic Path Tracer
by sfkdjf9j3j on Sunday July 21, 2019 @06:49AM
(#20490765)
Check out Peter Shirley's book series, starting with Ray Tracing in One Weekend. It's about ray tracing, not path tracing, but it's a fun introduction to the broader topic.
As for languages, I guess that depends on how long you are willing to wait for results. You might be able to use Go or something on the JVM without driving yourself insane.
His books are all about path tracing, which is a subset of ray tracing.
There are many recent languages that seem suitable. Like Julia and such.
If you don’t already know c++ I’d go for Rust.
I would have used Rust if I hadn't already put 10 hours of work into an assignment to write a basic ray tracer, which had to be in C++ unlike the final project.