runningair / webglsamples Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/webglsamples
Automatically exported from code.google.com/p/webglsamples
In electricflower/postprocess.js, the code is trying to create a quarter-width,
quarter-height frame buffer, but it actually creates one that's quarter-width
and full height.
This is the line:
var qw_qh_fb = tdl.framebuffers.createFramebuffer(w / 4, h, true)
And it should be:
var qw_qh_fb = tdl.framebuffers.createFramebuffer(w / 4, h / 4, true)
Not using quarter-height results in wasted memory and a bit of noticeable
ringing in the output (appears as horizontal stripes).
Original issue reported on code.google.com by [email protected]
on 10 Mar 2011 at 5:21
What steps will reproduce the problem?
1. Just try to run the Aquarium demo
What is the expected output? What do you see instead?
Light blue canvas with some bubbles and rays.
It should look like an aquarium.
What version of the product are you using? On what operating system?
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:2.0b7pre) Gecko/20100916
Firefox/4.0b7pre
Please provide any additional information below.
https://bugzilla.mozilla.org/show_bug.cgi?id=597430
Original issue reported on code.google.com by [email protected]
on 19 Sep 2010 at 5:43
Attachments:
What steps will reproduce the problem?
1. Load demos from
https://webglsamples.googlecode.com/hg/lots-o-objects/index.html or
http://webglsamples.googlecode.com/hg/blob/blob.html
What is the expected output? What do you see instead?
I used to see a demo. Now I see a blank page with the FPS counter going.
What version of the product are you using? On what operating system?
I've tried on Chrome 20.0.1132.57 m on Windows 7 as well as Chrome 17.0.963.46
on Ubuntu 10.04 (lucid).
Please provide any additional information below.
Original issue reported on code.google.com by pierre.lafayette
on 16 Jul 2012 at 6:24
What steps will reproduce the problem?
1. Open Halo demo in Minefield. It fails to load.
In the error console, you can see a message about 'console' being undefined in
halo.js. Indeed this file is calling console.log() which doesn't exist in
Minefield.
Original issue reported on code.google.com by [email protected]
on 14 Oct 2010 at 11:37
What steps will reproduce the problem?
1. Go to
http://webglsamples.googlecode.com/hg/electricflower/electricflower.html
http://webglsamples.googlecode.com/hg/blob/blob.html with a non-Webkit browser
(e.g. Opera)
What is the expected output? What do you see instead?
Demos should be shown at full page height. However, the demos only cover part
of the page height.
What version of the product are you using? On what operating system?
Using Opera 12 alpha.
Please provide any additional information below.
This can be easily fixed by adding height:100% not just to the body, but to the
html tag as well.
Original issue reported on code.google.com by [email protected]
on 29 Nov 2011 at 4:57
What steps will reproduce the problem?
1. Open http://webglsamples.googlecode.com/hg/aquarium/aquarium.html in Firefox
4 beta
2. Press "l" or "space" key
What is the expected output? What do you see instead?
"l" should toggle lasers.
"space" should change view.
Nothing happens.
Keys do not work with Firefox since "event.keyCode" is used instead of
"event.charCode". The solution would be to use "event.which" instead, since
it's what jQuery recommends.
Original issue reported on code.google.com by [email protected]
on 31 Jan 2011 at 9:10
What steps will reproduce the problem?
1. Using image editor put some text on cube map images
(aquarium/assets/GlobeOuter_EM_positive_x.jpg etc)
2. Run standalone aquarium demo
What is the expected output?
Text should be rendered correctly.
What do you see instead?
Text appears inverted relative to vertical plane.
What version of the product are you using? On what operating system?
Both Chromium and Firefox on Ubuntu Linux.
Original issue reported on code.google.com by [email protected]
on 27 Jul 2011 at 9:43
Attachments:
See line 151 of tdl/programs.js -
var program = loadProgram(gl, vertexShader, fragmentShader);
The function parameter "gl" is only available from a global scope.
So tdl.programs.loadProgram and tdl.programs.Program probably need to have a gl
function parameter added ?
Original issue reported on code.google.com by Drew.Whitehouse
on 26 Oct 2010 at 5:14
What steps will reproduce the problem?
1. Try to run the Caves demo
2.
3.
What is the expected output? What do you see instead?
Expected to see the cave ground and be able to see the demo like I see in
Firefox 4.
All I see is a red square with a black border.All the other demos on the page
seem to work in Chrome and all work on FireFox 4.
What version of the product are you using? On what operating system?
Chrome version 10.0.648.204 on OS X 10.6.7
Please provide any additional information below.
I get this error in the console:
Uncaught TypeError: Object #<Float32Array> has no method 'subarray'
Here is where the error is: Line 60 is highlighted in the code
// Returns a fake AttribBuffer.
Growable.prototype.getAttribBuffer = function(numComponents) {
return {
buffer: new window[this.type](this.buffer.subarray(0, this.usedSize)), <= ERROR HERE
numComponents: numComponents,
numElements: this.usedSize / numComponents,
type: this.type
};
};
Original issue reported on code.google.com by [email protected]
on 28 Mar 2011 at 8:49
Original issue:
https://code.google.com/p/chrome-os-partner/issues/detail?id=22417
Per [email protected] at comment #3:
This is another shader precision issue, in the fragment shader.
I found that adding the highp qualifier to the v_position varying in the
"skyboxFragmentShader" was enough to fix the demo.
Original issue reported on code.google.com by [email protected]
on 17 Oct 2013 at 6:08
What steps will reproduce the problem?
1. Using Chrome on OS X (2011 MBP), open any of the examples, e.g. 100 Objects
or
persiostencehttp://webglsamples.googlecode.com/hg/persistence/persistence.html
What is the expected output? What do you see instead?
Expect animate spinning objects.
See one frozen frame. No animation, then Chrome reports the page unresponsive.
What version of the product are you using? On what operating system?
Chrome 15.0.874.121
OS X 10.7.2
2011 MBP
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 21 Nov 2011 at 6:42
Curious minds want to know. As far as I can tell you're just calling
_gl.setViewport, but that's also what THREE.js does under the covers for
renderer.setSize() (
https://github.com/mrdoob/three.js/blob/master/src/renderers/WebGLRenderer.js )
and most webgl demos seem to have some sort of resize flicker
http://threejs.org/examples/webgl_animation_skinning.html but I can't get
fishies to flicker at all.
Original issue reported on code.google.com by [email protected]
on 22 Jul 2013 at 12:39
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.