Ray Tracing in pure CMake
64.github.io
Ray Tracing in pure CMake
1–10 of 167 posts
Re: Ray Tracing in pure CMake
#2Re: Ray Tracing in pure CMake
#3Re: Ray Tracing in pure CMake
#4Re: Ray Tracing in pure CMake
#5Oh no... so far the most terrifying title I've seen in HN this year. By the way, it's impressive how they even managed to multithread this.
Re: Ray Tracing in pure CMake
#6* 64x64: 14.561s
* 256x256: 226.28s, 15x compared to 64x64.
Re: Ray Tracing in pure CMake
#7Oh no... so far the most terrifying title I've seen in HN this year. By the way, it's impressive how they even managed to multithread this.
Someone might be working on an article even worse: list of things that raytracers haven't been written in (yet, regularly updated)
Re: Ray Tracing in pure CMake
#8Re: Ray Tracing in pure CMake
#9I refuse to even look at this. I've seen ray tracing in a PDF before but this is too far.
function(sqrt x res)
div_by_2(${x} guess)
foreach(counter RANGE 4)
if(${guess} EQUAL 0)
set("${res}" 0 PARENT_SCOPE)
return()
endif()
div(${x} ${guess} tmp)
add(${tmp} ${guess} tmp)
div_by_2(${tmp} guess)
endforeach()
set("${res}" "${guess}" PARENT_SCOPE)
endfunction()Re: Ray Tracing in pure CMake
#10Oh no... so far the most terrifying title I've seen in HN this year. By the way, it's impressive how they even managed to multithread this.
Someone might be working on an article even worse: list of things that raytracers haven't been written in (yet, regularly updated)