webgl

Cool applications for WebGL?

The recent SIGGRAPH 2009 saw the announcement of WebGL - a port of OpenGL ES to javascript. The application that immediately came to my mind is web-based 3D first person shooters with AJAX as basis for communication. I think this has the potential to answer the long awaited promise set forth by VRML a long long time ago... Can you thi...

Is there a public specification of WebGL anywhere?

It seems the Khronos group is fairly closed when it comes to releasing early specs for WebGL to the public. Does anyone know of a resource to keep up to date on API changes? The only thing I can seem to find, short of doing a checkout of Firefox or WebKit sources, is a page from 2007 on Vladimir Vukićević's blog with a small list of Op...

What language should I learn to prepare for WebGL?

I am thinking about making a 3D game with WebGL (just for conceptual purposes, for now), but all I have never done anything in 3D and have only programmed in PHP for the most part. From what I understand, WebGL is Javascript, which I use heavily in all of my projects, but it is also my understanding that it is very different from regula...

Is there a website where I can see which HTML 5 tags are supported in in different browsers? And WebGL?

I want to make an HTML/Javascript web app. Is there a website where I can compare what webrowser already support the HTML 5 tags? And WebGL? ...

Is there a 2d sprite library for webgl?

I am looking to build a 2d game using WebGL. I want the hardware acceleration that WebGL provides and I cannot get this from the 2D canvas context in the canvas tag. With that said, is there a tutorial on creating 2D sprites using webGL? Or, better yet, is there a 2D sprite library for WebGL? Ideally, I'm looking for something like c...

How does WebGL (on firefox) work?

I grabbed firefox 3.7a (note go to about:config and enable webgl) and ran the examples on this site http://www.iquilezles.org/apps/shadertoy/ The examples were cool then it hit me. How is it running? Code is being ran is it not? Is this an implementation of LLVM? is something else going on? Would i be able to run my own examples and do ...

From a Maya scene to a WebGL animation, where to start?

Hi, I've got some time, and I really would like to learn to get my Maya animated scenes into WebGL. I'm not sure where to start really. It would be amazing if I could make a Canvas element and place a Maya scene into it so that it's animating. Does anyone got a tutorial or some hints? PS. Answers about 3ds Max are also welcome! ...

How color attributes work in VBO?

I am coding to OpenGL ES 2.0 (Webgl). I am using VBOs to draw primitives. I have vertex array, color array and array of indices. I have looked at sample codes, books and tutorial, but one thing I don't get - if color is defined per vertex how does it affect the polygonal surfaces adjacent to those vertices? (I am a newbie to OpenGL(ES)) ...

What is the coolest WebGL demo you have seen so far?

What is the coolest WebGL demo you have seen so far? (One demo per answer please) ...

How do you retrieve WebGL bitmap data?

It is possible to retrieve the bitmap data HTML Canvas 2D element, is it also possible to access the rendered content of a Canvas 3D / WebGL element as bitmap data? ...

Manipulation with GIS content on the web using the WebGL

I have task to create program for manipulation with 3d content on the web. When I said 3d content i mean on 3d map (witch i have and it is something like *.sdm) which i should load into browser and work some basic operation with it (rotate screen, change camera etc...). Because i am totaly n00b i want to ask a couple of questions: 1. H...

Render text on canvas using WebGL

Hi, I want to render some text on a canvas using WebGL, which API of WebGL should be used? Note: "text" can be either plain text or HTML snippet with CSS style ...

webgl running in a virtual machine on old hardware

Hi to all, I have a problem: I'm running a kubuntu10.04 in a virtualbox appliance. I've installed on it all the updates and the virtualbox guest additions. The host os is a windows xp: it runs on a thinkpad t60 with a very old ati x1300 graphic card. With the right windows driver this graphic card let me use opengl acceleration. On vm, ...

Canvas 3D drawing using both 2D and 3D context

Since the webgl/opengl doesn't support text drawing, so it possible to draw 3D object using 3D context and text drawing using 2D context ? ...

High CPU Usage with WebGL?

I'm checking out the nightly builds of Firefox and Chromium with support of WebGL with a few demos and tutorials and I can't help but wonder about the extremely high CPU load they cause. A simple demo like this one runs at a sustained 60% of my dual core. The large version of this one maxes out the CPU to 100% and has some visible frame...

I need openGl 2.0 but my graphic card support 1.5

I want to start with my webGL project and minimal require is my graphic card support openGL 2.0. Problem exist because i have intel laptop with integrated intel 965 graphic media accelerator and driver is up to date and it support openGL 1.5. Is there any solution how to update my graphic carf to support 2.0? Is this possible? thx, M...

my first shader in WebGL

Hello, I am writing my first shader in WebGL. I was wondering if the GLSL language has any way to evaluate if an attribute or a uniform is null. According to the specs it does not support to do something like if (attributeX) { dothis(); } else{ dothat(): } And I think it would be a waste to write a bool attribute for each of these...

How to write a web based music visualizer?

I'm trying to find the best approach to build a music visualizer to run in a browser over the web. Unity3D is an option, but I'll need to build a custom audio import/analysis plugin to get the end user's sound output. Quartz does what I need but only runs on Mac/Safari. WebGL seems not ready. Raphael is mainly 2D, and there's still the i...

How many normals?

if you are calculating the normals of a polygon for rendering it on WebGL, do you use a normal for every index in the index array or for every vertex on the vertex array? ...

Where are all the simple functions gone in WebGL?

glBegin/glEnd and per-vertex drawing with glVertex I can understand that using arrays can be faster. But where is glLoadIdentity? glMultMatrix? glTranslate? glRotate? Why do we have to handle all the matrix stuff ourselves? ...