News for hackers. Stuff that matters.
Re:Ray Tracing in pure CMake by bawana on Saturday January 09, 2021 @09:03AM (#25700439)
Please clarify for me the part about the set exec command. You create n workers but you pass the whole image size to each. Why isn’t the image size divided by the number of workers?
Re:Ray Tracing in pure CMake by slezyr on Saturday January 09, 2021 @09:18AM (#25700555)
See the source code, it uses worker_index to find which part of the image it needs to process.
Re:Ray Tracing in pure CMake by delta64 on Saturday January 09, 2021 @08:44PM (#25707639)
It figures out which rows to render using its own worker index