News for hackers. Stuff that matters.
Re:Implementing a "sketch" style of rendering in webGL by sho_hn on Wednesday August 27, 2014 @03:04PM (#8234086)
12 years ago for Quake:

http://research.cs.wisc.edu/graphics/Gallery/NPRQuake/

http://research.cs.wisc.edu/graphics/Gallery/NPRQuake/sketch...

Loved it back then. A bit harder if you don't have shaders, too.

Re:Implementing a "sketch" style of rendering in webGL by muglug on Wednesday August 27, 2014 @02:12PM (#8233703)
Cool!

It'd be awesome to see hatching that wasn't aligned to the particular planes, but rather the camera normal. That'd give it more of a "Take On Me" (https://www.youtube.com/watch?v=djV11Xbc914) look.

Re:Implementing a "sketch" style of rendering in webGL by theoh on Wednesday August 27, 2014 @07:40PM (#8235246)
Not sure what you mean by "camera normal" though I suppose you've kind of specified a pair of intersecting planes for each surface point... This is an interesting area. Some discussion in Hertzmann and Zorin's paper from a few years ago (not realtime) http://www.mrl.nyu.edu/publications/illustrating-smooth/hert...
Re:Implementing a "sketch" style of rendering in webGL by svantana on Wednesday August 27, 2014 @02:29PM (#8233837)
This is really beautiful. However, be warned, the webGL widget completely froze my Firefox (on OSX), I had to kill the process to recover. No problem in Chrome though.
Re:Implementing a "sketch" style of rendering in webGL by eric_h on Wednesday August 27, 2014 @08:26PM (#8235372)
My general experience with WebGL demos on HN have been that they only work in Chrome. I prefer Safari as my everyday browser (for no configuration iCloud sync reasons), but even with "Enable WebGL" checked, no WebGL apps seem to work.
Re:Implementing a "sketch" style of rendering in webGL by x0x0 on Wednesday August 27, 2014 @03:44PM (#8234323)
http://floored.com just jams for me in chrome on osx; I just see a rotating blue triangle and nothing else
Re:Implementing a "sketch" style of rendering in webGL by CmonDev on Thursday August 28, 2014 @04:29AM (#8236384)
It probably doesn't use the latest version of the HTML5/WebGL plug-in (the entire technology stack is still alpha/beta). I recommend something more sandboxed, like Unity3d plug-in which lets you use proper OpenGL.
Re:Implementing a "sketch" style of rendering in webGL by zokier on Wednesday August 27, 2014 @04:16PM (#8234508)
The shaders fail to compile on my Firefox with messages like: "Shader: Can't compile: ERROR: 0:149: '' : integer constant overflow".
Re:Implementing a "sketch" style of rendering in webGL by TD-Linux on Thursday August 28, 2014 @12:49AM (#8235924)
Works fine in Firefox Nightly on Linux with Intel drivers.
Re:Implementing a "sketch" style of rendering in webGL by djfumberger on Wednesday August 27, 2014 @08:10PM (#8235333)
Didn't seem to work on Safari either.
Re:Implementing a "sketch" style of rendering in webGL by keerthiko on Wednesday August 27, 2014 @03:04PM (#8234091)
The cool tech aside, I am also extremely impressed by the diversity and balance of the team. Congratulations on building a very respectable workplace, that is clearly able to deliver! I wish you guys the best.
Re:Implementing a "sketch" style of rendering in webGL by michaelbuckbee on Wednesday August 27, 2014 @02:40PM (#8233927)
Very impressive, but navigating in the widget was quite difficult with a trackpad (MagicTrackpad). Not entirely sure that porting FPS key commands to an embedded widget makes sense.
Re:Implementing a "sketch" style of rendering in webGL by anigbrowl on Wednesday August 27, 2014 @03:58PM (#8234421)
It doesn't have a concept of a viewer so you go straight towards whatever you're looking at. It's quite easy to end up outside the room looking in through the floor :)
Re:Implementing a "sketch" style of rendering in webGL by eridius on Wednesday August 27, 2014 @11:50PM (#8235826)
Very cool. The shaders fail to compile in the demo though, in Safari (on OS X 10.10). I get

[Error] Shader: invalid fragment shader 'bilateralGaussianBlur'