mrdoob / three.js

JavaScript 3D Library.
https://threejs.org/
MIT License
103.02k stars 35.41k forks source link

CanvasRenderer has texture issue on Chromium 15 #698

Closed trongthanh closed 13 years ago

trongthanh commented 13 years ago

After upgrading to Chromium 15 stable release for Linux (64bit), I just found a texture issue of mesh when it uses CanvasRenderer. A portion of the bitmap texture is missing when it render on the mesh.

Screenshot: http://int3ractive.com/labs/html5/webgl/issues/threejs_equirectangular_panorama_demo_Chromium15.png Demo: http://int3ractive.com/labs/html5/webgl/canvas_panorama_equirectangular.html

I just checked the old canvas_geometry_panorama.html, it also has the same issue.

The issue doesn't occur on Firefox 7 - Linux 64bit.

mrdoob commented 13 years ago

That's weird, I'm on Chrome 15 Linux (64Bit) and the example shows up properly. Seems like you have like a canvas size limit of sorts... do you have any other machine you can try this on?

trongthanh commented 13 years ago

I just found out something and this may not be an issue at all.

Before Chromium 15, I have to set chromium start up flags as "--ignore-gpu-blacklist --enable-webgl" in order to enable webgl for my ATI graphics card. After upgrading to Chromium 15, the flags are still there and the issue with CanvasRenderer occurs. I also noticed that canvas 2D is exceptionally slow.

I tried remove the flags this morning and the issue is gone. Webgl also works without the flags.

mrdoob commented 13 years ago

Oh weird. So it's all good now?

trongthanh commented 13 years ago

Yes, it is ok now. But I can 100% reproduce it again if I set the said flags on. Maybe it is more a Chromium bug.

mrdoob commented 13 years ago

Yep, sounds to me like a Chrome/ium bug.