Re:Light Tracer – Experimental GPU ray tracer for web
by elif on Saturday June 22, 2019 @12:53PM
(#20250522)
Does exposing GPU functions to the browser mean that my gaming PC will be mining ether for random sites? Compared to btc/cpu attacks, the reward here would be ludicrous
Re:Light Tracer – Experimental GPU ray tracer for web
by bsenftner on Saturday June 22, 2019 @01:43PM
(#20250770)
Needs some selection editor, ability to view the scene nodes as a tree or other representation and make selections. I tried loading an obj of a face, with groups for the face parts, eyeballs, and inner mouth. I can really only change the view because I can only select one geometry group to manipulate, not all or a parent to multiple groups within the obj geometry. Selecting one part is sorta useless, unless one can select multiple for group operations.
Re:Light Tracer – Experimental GPU ray tracer for web
by huis on Saturday June 22, 2019 @12:29PM
(#20250406)
I'm not sure the name is good because light tracing means 'ray tracing from the light to the camera'.
Light tracing gives the best results in theory, but it not very usefull because a lot of rays will be rendered without ever ending up in the camera. Which is ofcourse a waste of resourses.
Re:Light Tracer – Experimental GPU ray tracer for web
by alkonaut on Saturday June 22, 2019 @01:18PM
(#20250647)
It’s true that ”light tracing” is some times used to describe forward-only ray tracing, but I don’t think there is much confusion added by the term here. Anyone who knows the terminology (so could be confused) also knows that no efficient path tracer is forward only.
Re:Light Tracer – Experimental GPU ray tracer for web
by hackeryp on Sunday June 23, 2019 @09:04AM
(#20255205)
I am not sure what is going on, but on my Mac, clicking "Try it out" brings the beach ball and crashes the Finder! 100% reproducible... so be careful if you don't want to loose everything you are working on before clicking...
Console outputs a bunch of stuff:
wasm streaming compile failed: TypeError: Response has unsupported MIME type
Assertion failed: glGetError() == 0, at: src/deps\sokol_gfx.h,3008,_sg_create_image
WebGL warning: texImage2D: Requested size at this level is unsupported.
uncaught exception: abort("Assertion failed: glGetError() == 0, at: src/deps\\sokol_gfx.h,3008,_sg_create_image") at jsStackTrace@http://lighttracer.org/index.js:1170:13
On Firefox 67 on Linux.
Caustics look pretty good after increasing the number of passes: https://gc.gy/28927731.png
Light tracing gives the best results in theory, but it not very usefull because a lot of rays will be rendered without ever ending up in the camera. Which is ofcourse a waste of resourses.
Looks like this is a 'normal' path tracer.
> Unfortunately open file dialog is unsupported at the moment in this browser.
> Please try to drop a file into the browser instead
Ah the IE memories!