[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

*To*: "Gregg Tavares (wrk)" <gman@google.com>*Subject*: Re: [Public WebGL] enabling POINT_SMOOTH symbol?*From*: Andor Salga <asalga@learn.senecac.on.ca>*Date*: Wed, 14 Jul 2010 15:52:16 -0400*Cc*: Dan Lecocq <dan.lecocq@kaust.edu.sa>, public_webgl@khronos.org*In-reply-to*: <AANLkTim07mqhtjCpKgkr5V3z4XPqCBYYZITacct0A2Ke@mail.gmail.com>*Original-recipient*: rfc822;public_webgl@khronos.org*References*: <fc3cdaf33a27.4c3cea0c@learn.senecac.on.ca> <AANLkTikQpHxhTL36AHjeQBTS0LUeQl8Hp5egwRO31Qt4@mail.gmail.com> <AANLkTim07mqhtjCpKgkr5V3z4XPqCBYYZITacct0A2Ke@mail.gmail.com>*Sender*: owner-public_webgl@khronos.org

Okay, thanks guys.

----- Original Message -----

From: "Gregg Tavares (wrk)" <gman@google.com>

Date: Wednesday, July 14, 2010 2:03 pm

Subject: Re: [Public WebGL] enabling POINT_SMOOTH symbol?

To: Dan Lecocq <dan.lecocq@kaust.edu.sa>

Cc: Andor Salga <asalga@learn.senecac.on.ca>, public_webgl@khronos.org

>

>

> On Tue, Jul 13, 2010 at 7:47 PM, Dan Lecocq <dan.lecocq@kaust.edu.sa> wrote:

> > Hi Andor,> As far as I know, most/all WebGL functions are just wrappers giving you access to the hardware, and some features may or may not be advertised (as in, constants not defined). If you're sure that they are available on a particular graphics card, you can probably just plug in the constant in place of the symbol.>> So, instead of trying to get gl.POINT_SMOOTH, you could supply 0x0B10, which seems to be the constant GL_POINT_SMOOTH is set to. This sort of approach worked for me with floating-point textures in WebGL, but with points, I'm not sure that points are supported in the OpenGL ES 2.0 spec. Again, though, you might have luck by using the constant for GL_POINTS when calling gl.drawElements.

>

> Sorry Dan, this won't work on a WebGL compliant implementation which all browsers will soon be.

>

> On a positive note the particular case of floating point textures I would guess that an official WebGL extension to support them will be near the top of the list once WebGL1.0 ships.

>

>> Cheers,> Dan>> On Tue, Jul 13, 2010 at 10:34 PM, Andor Salga <asalga@learn.senecac.on.ca> wrote:>

> Hi,

> I'm working on Processing.js, a java_script port of Processing. One feature Processing has which we'd like to support is point smoothing. Is there any chance we could get the POINT_SMOOTH symbol into the specification? Is there any leeway for adding non-OpenGL ES 2.0 symbols?

>

> Thank you,

> Andor

**References**:**[Public WebGL] enabling POINT_SMOOTH symbol?***From:*Andor Salga <asalga@learn.senecac.on.ca>

**Re: [Public WebGL] enabling POINT_SMOOTH symbol?***From:*Dan Lecocq <dan.lecocq@kaust.edu.sa>

**Re: [Public WebGL] enabling POINT_SMOOTH symbol?***From:*"Gregg Tavares (wrk)" <gman@google.com>

- Prev by Date:
**Re: [Public WebGL] Error codes in drawArrays / drawElements** - Next by Date:
**Re: [Public WebGL] Error codes in drawArrays / drawElements** - Previous by thread:
**Re: [Public WebGL] enabling POINT_SMOOTH symbol?** - Next by thread:
**Re: [Public WebGL] Error codes in drawArrays / drawElements** - Index(es):