News for hackers. Stuff that matters.
Re:Illuminated.js – 2D lights and shadows rendering engine f... by Jimmie on Friday May 11, 2012 @05:30AM (#3958393)
Default scene, Chrome 18.0.1025.168, Os X 1.6.8, Year old Macbook Pro

Runs so slow I can barely drag the objects around. It looks great though, I mean the output is fantastic just not performant.

Re:Illuminated.js – 2D lights and shadows rendering engine f... by gren on Friday May 11, 2012 @05:39AM (#3958415)
eah I think the default scene use too much samples, like 51 for the right light.

Now my technique of combining shadow samples together is probably not the most efficient, I draw them with source-over and an alpha which is also a wrong hacky current implementation... but maybe using the CanvasData would be less efficient (technically I need to make the average of shadow samples' grayscales) - well we never know, I haven't tried yet ;)

I would be happy to have any contribution in the library :)

Re:Illuminated.js – 2D lights and shadows rendering engine f... by timb on Friday May 11, 2012 @09:17AM (#3959014)
the editor could turn down samples for lights while dragging, and turn samples back up when dragging is finished.