omni360 / kuda

Automatically exported from code.google.com/p/kuda
GNU General Public License v2.0
0 stars 0 forks source link

Older versions of Kuda(1.5) show black textures #153

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open older kuda version content in up to date browser(Chrome of firefox) 
2.
3.

What is the expected output? What do you see instead?
The expected result would be to see the textures in color. They all appear 
black. 

Please use labels and text to provide additional information.

In firefox I get this error:
WebGL: A texture is going to be rendered as if it were black, as per the OpenGL 
ES 2.0.24 spec section 3.8.2, because it is a cube map texture, with a 
minification filter requiring a mipmap, and is not mipmap cube complete (as 
defined in section 3.7.10).

In Chrome I get this error
.WebGLRenderingContext: GL ERROR :GL_INVALID_VALUE : glCopyTextureCHROMIUM: 
unknown texture id 09_BlowerDoorAssessment.html:1
255WebGL: INVALID_OPERATION: drawElements: attribs not setup correctly 
09_BlowerDoorAssessment.html:1
WebGL: too many errors, no more errors will be reported to the console for this 
context.

Is there a quick fix for this? I could rewrite the content in the newest 
version of Kuda, but I have serious time constraints. 

Original issue reported on code.google.com by dezeb...@gmail.com on 30 Nov 2012 at 4:04

GoogleCodeExporter commented 9 years ago
I found some more information on this. 
Apparently textures with a size of 16380 will only work. Anything bigger than 
that shows as black. We cannot change the textures all to 128x128

It looks like accelerated 2d canvas is set in later versions of chrome. 
I disabled it, now it works. 
--disable-accelerated-2d-canvas

The only problem now is how do I disable this without having the user go 
through any steps to disable accelerated 2d canvas?

The problem is that 

Original comment by dezeb...@gmail.com on 3 Dec 2012 at 6:50