News for hackers. Stuff that matters.
Re:Zynga’s first foray into WebGL, and how it runs on IE10 by moron4hire on Friday August 29, 2014 @03:21PM (#8244104)
So ZyGL is basically the software rasterizer we all had to write in college graphics algorithms? So ZyGL is basically nothing more than Three.js, sans the option to render in SVG elements? And they want to patent this?

Sorry for the language, but seriously, fuck these guys. What complete trolls. This is completely unacceptable. Software rasterization fallback has been a thing forever. Actually, you know, longer than OpenGL of any flavor. Cuz that used to be the only way you could do graphics.

Is there any way I can help to get this patent blocked? And how do we go about shaming young developers into not joining Zynga just because it's a "game" company? This isn't the first unethical thing they've done.

Re:Zynga’s first foray into WebGL, and how it runs on IE10 by kazinator on Friday August 29, 2014 @03:54PM (#8244234)
Yes; please join the "Ask Patents" stackexchange site:

http://patents.stackexchange.com/

This site is exactly for this reason: raising patent questions with the goal of identifying bad patents.

"Ask Patents is a question and answer site for people interested in improving and participating in the US patent system. It's built and run by you as part of the Stack Exchange network of Q&A sites. With your help, we're working together to find Prior Art on dangerous and overly broad US Patent Applications before they become issued Patents. "

Re:Zynga’s first foray into WebGL, and how it runs on IE10 by Alupis on Friday August 29, 2014 @04:33PM (#8244393)
It's been said before, but I'll say it again:

The USPTO does not and will not look at nor use an end-user forums like "Ask Patents" for the basis of any decision.

Re:Zynga’s first foray into WebGL, and how it runs on IE10 by ma2rten on Friday August 29, 2014 @05:00PM (#8244486)
Re:Zynga’s first foray into WebGL, and how it runs on IE10 by Alupis on Friday August 29, 2014 @05:34PM (#8244617)
This is Joel puffing a new StackExchagne product... nothing more.
Re:Zynga’s first foray into WebGL, and how it runs on IE10 by mbrubeck on Friday August 29, 2014 @05:27PM (#8244595)
Ask Patents is actually explicitly supported by the USPTO, who help to create it:

http://blog.stackoverflow.com/2012/09/askpatents-com-a-stack...

Re:Zynga’s first foray into WebGL, and how it runs on IE10 by Alupis on Friday August 29, 2014 @05:33PM (#8244614)
No they did not.

The blog post is a puff piece for a new (at the time) StackExchange product and basically just talks about how they felt there was a need for something like this and how they felt the timing was good.

Re:Zynga’s first foray into WebGL, and how it runs on IE10 by mbrubeck on Friday August 29, 2014 @05:37PM (#8244630)
"Helped create it" might be an exaggeration, but they definitely had a hand in its creation and have trumpeted its use: http://www.uspto.gov/news/pr/2012/12-60.jsp

From the Stack Exchange blog post, "[USPTO director Kappos] came–twice!–to the Stack Exchange office in New York City to encourage us to open a Stack Exchange site that would generate heaps of prior art to help the patent examiners do their jobs."

Last year, then-acting USPTO director Rea said in a speech, "We consulted on a private-sector initiative called Ask Patents." http://www.uspto.gov/news/speeches/2013/rea_Managing_Ip.jsp Elsewhere they refer to a "partnership" with Ask Patents.

No, this doesn't mean that prior art submitted to Ask Patents is automatically read by the USPTO. But USPTO promotes it as a way to gather information which can then be submitted through their new public comment process.

Re:Zynga’s first foray into WebGL, and how it runs on IE10 by kazinator on Friday August 29, 2014 @05:51PM (#8244680)
Your comments may be true about most end-user forums, but it seems that "Ask Patents" really is different.

Firstly, from the help page:

"Ask Patents blocks dangerous applications by alerting the US Patent Examiner of record when good Prior Art is found for an application that he or she is examining."

Secondly, the site contains examples of patents that were rejected with the site's help. You can search for questions with the [rejected] tag:

"The rejected tag is used on patent applications and patents which have been successfully narrowed or rejected by the USPTO after having been the subject of a prior-art-request on Ask Patents."

When we search for questions with this tag, we see text like "This Patent Application received a Final Rejection by the US Patent Office! The rejection was based in part on prior art found by Ask Patents community below!"

Re:Zynga’s first foray into WebGL, and how it runs on IE10 by omglol on Friday August 29, 2014 @04:43PM (#8244416)
Ask Patents has some good information, but also a lot of bad information or just plain wrong claims by rando's on the internet.

The USPTO has their own internal databases they look to for research information.

Re:Zynga’s first foray into WebGL, and how it runs on IE10 by tormeh on Friday August 29, 2014 @07:21PM (#8244980)
Which works oh so very well.
Re:Zynga’s first foray into WebGL, and how it runs on IE10 by mmastrac on Friday August 29, 2014 @02:47PM (#8243876)
Ugh: 'we developed a patent-pending solution called “ZyGL”.'

While there are a bunch of people working to make stuff performant on browsers, Zynga comes in from behind and starts patenting barely-novel stuff on top of it.

Re:Zynga’s first foray into WebGL, and how it runs on IE10 by tyho on Friday August 29, 2014 @02:59PM (#8243974)
Relevant patent I think: https://www.google.com/patents/US20130088491

If the emscripten lot had decided to patent "Method to reconstruct flow structures from binary machine code" then Zynga would not have the privilege of porting their game to the web in the first place.

Re:Zynga’s first foray into WebGL, and how it runs on IE10 by robterrell on Friday August 29, 2014 @05:39PM (#8244636)
Actually, that's not the relevant patent. That patent is for a technique for hardware-accelerated 2D animations using 3D meshes on the GPU, and was used for the game Dream Zoo.
Re:Zynga’s first foray into WebGL, and how it runs on IE10 by _random_ on Friday August 29, 2014 @06:02PM (#8244714)
Hopefully they will be able to extend and extinguish as well, so that the so called "open web" (that is actually pretty much closed to different languages and technologies, unless you are willing to use crap-trans-pilation crutch like Emscripten) or at least WebGL will die as it should. All the best to Zynga!
Re:Zynga’s first foray into WebGL, and how it runs on IE10 by lunixbochs on Friday August 29, 2014 @11:22PM (#8245527)
Unfortunately, a successful patent here could block my non-web work in this area :(
Re:Zynga’s first foray into WebGL, and how it runs on IE10 by Alupis on Friday August 29, 2014 @04:31PM (#8244382)
Not to mention IE10 is already Old.

I lost a little more respect for Zynga today.

Re:Zynga’s first foray into WebGL, and how it runs on IE10 by themartorana on Friday August 29, 2014 @06:29PM (#8244803)
You had any left?
Re:Zynga’s first foray into WebGL, and how it runs on IE10 by realusername on Friday August 29, 2014 @03:54PM (#8244228)
I don't want to spoil their great "innovation patent" but Three.js has implemented this years ago (http://threejs.org/docs/#Reference/Renderers/CanvasRenderer).
Re:Zynga’s first foray into WebGL, and how it runs on IE10 by mbrubeck on Friday August 29, 2014 @05:33PM (#8244616)
Does that reconstruct quads as the Zynga post described? From the source code, it seems to just draw the triangles individually:

https://github.com/mrdoob/three.js/blob/1769fbfc6c994b51a54c...

I also don't see any heuristic processing of shaders as described for ZyGL.

Re:Zynga’s first foray into WebGL, and how it runs on IE10 by razh on Friday August 29, 2014 @06:01PM (#8244707)
Re:Zynga’s first foray into WebGL, and how it runs on IE10 by mbrubeck on Friday August 29, 2014 @06:06PM (#8244724)
Even before that change, I don't see any code that automatically reconstructs construct quads from pairs of triangles. But maybe I'm missing something?
Re:Zynga’s first foray into WebGL, and how it runs on IE10 by lunixbochs on Friday August 29, 2014 @11:19PM (#8245518)
(I've been working on OpenGL platform translation for years)

Reconstructing quads from pairs of triangles is just about doable in a one-liner. The harder part in my opinion is applying texture mapping to the resulting triangle, but it's not unreasonably difficult.

    // this depends on your winding
    triangles = [1, 2, 4, 2, 3, 4]
    quads = []
    for i in xrange(len(triangles), 6):
        t = triangles[i:i+6]
        quads += [t[0], t[1], t[4], t[2]]
The only things I think are interesting here are their heuristics on shaders to apply color maps, and the fact they shipped a game with it.
Re:Zynga’s first foray into WebGL, and how it runs on IE10 by razh on Friday August 29, 2014 @06:24PM (#8244779)
No, you're right, there's no quad reconstruction. I imagine you could have just used quads in both the WebGL and Canvas renderers to achieve a similar effect.
Re:Zynga’s first foray into WebGL, and how it runs on IE10 by robterrell on Friday August 29, 2014 @07:04PM (#8244927)
I don't know what exactly is being patented. As I read it, the novel part is this:

So, what about that arbitrary shader code? In practice, the shaders used in 2D games tend to be fairly simple. ZyGL applies a series of heuristics to the shader code to try to infer its intent. It then uses these heuristics to map the draw calls through to some approximations of common shader code that we wrote in JavaScript.

I'm not aware of any prior art that is (a) a polyfill for WebGL using canvas that also (b) reconstructs triangle strips into canvas quads and (c) attempts to mimic shader effects by scanning the shader code for common techniques.

Re:Zynga’s first foray into WebGL, and how it runs on IE10 by lunixbochs on Friday August 29, 2014 @11:10PM (#8245490)
This is the first time someone's announced a patent for a space I'm in. I have no idea what implications this has for me, but I may have some prior art on "software rasterization of OpenGL code that only uses it for 2D", including quad recovery.
Re:Zynga’s first foray into WebGL, and how it runs on IE10 by nacs on Friday August 29, 2014 @06:20PM (#8244764)
Pixi.js ( http://www.pixijs.com ) supports WebGL with an automatic canvas fallback as well (and is also used as the renderer by Javascript game frameworks like Phaser.io and Panda.js).
Re:Zynga’s first foray into WebGL, and how it runs on IE10 by pnt12 on Friday August 29, 2014 @05:19PM (#8244563)
>"today we wanted to share some of what we learned in the process" >"To tackle this issue we developed a patent-pending solution"

At first I was surprised, it looked like Zynga was doing something nice for a change. In the end, it seems all they're sharing is the bad news.

Re:Zynga’s first foray into WebGL, and how it runs on IE10 by vernie on Friday August 29, 2014 @04:04PM (#8244270)
This is all kinds of gross. Way to stay relevant, Zynga.
Re:Zynga’s first foray into WebGL, and how it runs on IE10 by yuhong on Friday August 29, 2014 @09:35PM (#8245281)
As a side note, the August cumulative update for IE11 has improved WebGL support. I hope they are testing their games with it.
Re:Zynga’s first foray into WebGL, and how it runs on IE10 by epoelke on Friday August 29, 2014 @03:15PM (#8244069)
Zynga? Whats a Zynga?
Re:Zynga’s first foray into WebGL, and how it runs on IE10 by kazinator on Friday August 29, 2014 @03:57PM (#8244243)
It's a word that you say when you're not kidding.

Zynga! Yes, I really am trying to patent the obvious, with loads of prior art.

Its opposite is "bazinga", which means "I was kidding".

Re:Zynga’s first foray into WebGL, and how it runs on IE10 by moron4hire on Friday August 29, 2014 @04:04PM (#8244272)
I asked a patent office employee about this. Apparently, a thing is only prior art if it is patented itself, or is published in an accepted academic journal, and then only if such things can be found in the ten hours the examiner is given per patent application.