Open manthrax opened 5 years ago
Very cool, thank you!
maybe @manthrax you can make a pull request to add this version?
@manthrax , would you please so kind as to put it to github ? I'd like to collect a gallery of different realizations.
@ssloy Здравствуйте! Мне так же понравилась ваша реализация рэйтрейсинга, если интересно, то вот моя реализация на js: https://github.com/powernic/jsraytracing
I enjoyed reading this, so I ported it to javascript!
I added some premature optimization by making it render incrementally via generator functions, and by caching datastructure allocations.. those changes are easily removed if desired.
Here it is running: http://vectorslave.com/trt/trt.html
Here's the code: trt-js.zip
Cheers!