Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

headtrackr not working on Chrome 42 #39

Closed
steren opened this issue Mar 15, 2015 · 2 comments
Closed

headtrackr not working on Chrome 42 #39

steren opened this issue Mar 15, 2015 · 2 comments

Comments

@steren
Copy link

steren commented Mar 15, 2015

http://auduno.github.io/headtrackr/examples/targets.html demo is not working on Chrome Version 42.0.2311.39 beta (64-bit)

Here is what the console is printing at the beginning:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.39 Safari/537.36 | WebGL 1.0 (OpenGL ES 2.0 Chromium) | WebKit | WebKit WebGL | WebGL GLSL ES 1.0 (OpenGL ES GLSL ES 1.0 Chromium)

In addition to a lot of warnings here is the error I get:
Could not initialise shader
VALIDATE_STATUS: false, gl error [1282]

The demo is running well on Firefox 36.0.1

@arthurmchr
Copy link

I manage to make it work by upgrading the THREE lib version to latest version (71) and changing these lines :

geometry.vertices.push( new THREE.Vertex ( new THREE.Vector3( 0, 0, -80000 )));

to

geometry.vertices.push( new THREE.Vector3( 0, 0, -80000 ) );

Also, to avoid warning, changing new THREE.PlaneGeometrytonew THREE.PlaneBufferGeometry

@auduno
Copy link
Owner

auduno commented Mar 31, 2015

Sorry for the late reply to this issue. Thanks very much for reporting it and thanks to Arthur for finding the cause of the error. I updated three.js version in the examples and it seems to be working now. I used r59 instead of the latest version, since there were some changes in how wireframes are rendered after r59.

@auduno auduno closed this as completed Mar 31, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants