apbodnar / FSPT

A path tracer written in glsl and javascript
MIT License
35 stars 8 forks source link

Sadly,the demo is running slowly in my GT940. #1

Open Char-Ten opened 7 years ago

Char-Ten commented 7 years ago

Although the canvas can be rendered and I can see three rabbits in browser,it's hardly to move the mouse to update next frame. Everything just like be stopped even couldn't open the chrome devtool...

apbodnar commented 7 years ago

Hi, thanks for the feedback. Responsiveness on lower end systems will be bad until i get around to implementing tiled rendering. Right now the renderer tries to perform one sample for all pixels in the canvas every time the requestAnimationFrame callback gets called. In the future it'll dynamically render as much of the canvas as possible that'll still keep the UI running at 60fps. In the mean time you could lower the resolution with the res url param.