Closed Ricola3D closed 12 years ago
Does it come from Shader::_vertexshaderSource attribute ?
Did you modify X.shaders class? It complains that a uniform was declared twice. Maybe this Wibu stuff doesn't have a good GL stack. Could you try on a real Ubuntu system with proper graphic drivers?
goog.structs.Map is not a constructor tracer.js:53 <-- this error is normal when running the uncompiled xtk version, it comes from Google Closure Lib.
Hey ! I modified nothing, I just loaded the files from the wiki, but like it works after a reboot it seems there is no problem in your code. It may have been cause of an update which needed a reboot (even in it's surprising under Linux).
So now I'm trying little excercices to see if I'm able to do sotheming with Git and XTK sources, simple things that will be usefull for my work and train me a bit like personalizable interactor or parsing from a client-sided file with a loader and without uploading it (I've easy managed it with a parser and File & FileReader APIs of HTML5 with a drag area but there isn't any progressbar so it's ugly).
Anyway the sources are so clear and commented than it seems easy to "play" with !
The client side loading is exactly what I was recently working on to help out some MIT guys:
Did you have a chance to check the shader bug on a different system? I would like to clarify the issue this week before the next release.
Coming ! I had forgotten my personal computer at my work place last weekend, but I'm currently installing an ubuntu (not wubi) to try it. Maybe I'll try a Debian if I've some time !
Le 06/05/2012 14:11, Daniel Haehn a écrit :
Did you have a chance to check the shader bug on a different system? I would like to clarify the issue this week before the next release.
Reply to this email directly or view it on GitHub: https://github.com/xtk/X/issues/21#issuecomment-5535186
I think it should be fixed now.
@Ricola3D could you please check and confirm?
Hello Haehn !
I'm currently running the lessons on Firefox 11.0 under Ubuntu (a Wibu distribution installed from Windows), and they don't work. Firefox's console tells me :
Could not create shader program! Xtk.js:265 error uniform 'volumeScalarMax' declared as type 'float' and type 'vec3'
And with testing in local in development mode, it also shows this error & one more before :
goog.structs.Map is not a constructor tracer.js:53 Could not create shader program! renderer.js:868 error uniform 'volumeScalarMax' declared as type 'float' and type 'vec3'
In addition, webGL web examples works well here, so I don't understand why XTK doesn't ?!