I'm trying to create a WebGL pick buffer;
Can anyone see what I'm doing wrong here?
I'm getting "Incomplete framebuffer: FRAMEBUFFER_UNSUPPORTED" on Mozilla/5.0 (X11; Linux x86_64; rv:2.0b3pre) Gecko/20100724 Minefield/4.0b3pre and Chrome 5.0.375.99. Must be obvious and staring right at me but I cant see it. It's apparently valid, has...
Will IE9 support WebGL and/or WebSockets?
...
UPDATE: I got my O3D situation straightened out, but I have yet to settle on one of the libraries listed below. I think I will try a scatter plot in all projects and see which one handles the data easily and is easiest to program in.
I have been reading the tutorials on http://learningwebgl.com/blog/ to try and play with a new language...
I would like to create a game in wireframe mode however without the glPolygoneMode command I don't know how I would do it. Is it something I could code myself with what is available? I'm completely new to opengl. If anyone has done this and has the code snippet I would love to see it. Any help is appreciated.
...
I'm running some experiments in WebGL, one of them being an XOR effect fragment shader. For some reason all the bitwise operators are reserved in GLSL and cause a compiler error when used. Why are these operators illegal? What can I use instead of | in this case?
...
Hi,
I'm trying to work out a strategy for transparency using WebGL, to support the case of a transparent object that encloses another.
As described over at http://learningwebgl.com/blog/?p=859, conceptually we can
Render background
Enable blending and disable depth test
Render foreground
I'm a little naive here, and I'd appreciate ...
I do not understand why the following two shaders produce different results when I render a vertex buffer with x coordinates equal to zero:
First:
attribute vec3 position;
void main() {
gl_Position = vec4(position.x, position.y, 0.0, 1.0);
}
Second:
attribute vec3 position;
void main() {
gl_Position = vec4(0.0, position.y, 0.0...
I want to use webgl to make a little 3d gallery of flickr photo streams. It looks like webgl only allows square images thats dimensions are a power of two to be used as textures. I need to be able to display images of any proportion and dimension. I can see that if I copy the image data into another image that is the nearest square di...
I would like to make a game out of many cubes and am planning on putting it on mobile platforms and also on the web using webgl. My problem is when I make a drawelements call per cube I take a hit on the frame rate. Is there a way I can make a single draw call to opengl es to draw them? The only difference between the cubes would be pos...
In my application I draw a lot of cubes through OpenGL ES Api. All the cubes are of same dimensions, only they are located at different coordinates in space. I can think of two ways of drawing them, but I am not sure which is the most efficient one. I am no OpenGL expert, so I decided to ask here.
Method 1, which is what I use now: Sinc...
I'm a newbie in webGL development and in order to learn it i'll have to install webGL in my machine. Can anyone tell how to do that in Windows 7? Thanks in advance..
...
I'm planning to write a 3D FPS game, based on WebGL.
Should I use some WebGL framework?
What is the most active and popular WebGL library today? Does it support LOD, Heightmaps, COLLADA and some Materials system?
Thanks.
...
Regarding to the immature situation and the somewhat bright feature of WebGL, I decide to use it to build an online application. For those users who have Firefox 4 or Chrome, there is no problem. But what should I do for the users of Firefox 3.* or even IE 6, 7, etc.?
So I'd like to ask that if there is any possible to write a plugin/ad...
Is it possible to port an existing graphics engine like jMonkeyEngine to something like GwtGL or gwt-g3d? Is it only to replace native OpenGL calls to WebGL calls or there's more?
...
I see an example where the data was in text inside an array, i seen another where someone loads the model through ajax with json.
Is there a way to load the files via binary? i dont feel like loading a 1mb model via 4mb json
...