Three.js: CylinderBufferGeometry with Multiple Materials fails (on Firefox)

Created on 6 Sep 2018  路  7Comments  路  Source: mrdoob/three.js

Bug on CylinderBufferGeometry with Multiple Materials (on Firefox)

Create a geometry using CylinderBufferGeometry. Then use in a mesh with 3 different materials for torso, top, and bottom.

In Firefox browser (v62, Win10) the mesh will not display properly with missing parts. Other browsers (Chrome, Edge, IE) all work correctly.

Originally seen with canvas textures but seems to be a problem even with the Normal material.

Regular original CylinderGeometry is fine. In the fiddle you can see the problem with the Buffer on the right cylinder:

Three.js version
  • [ ] Dev
  • [x] r96
Browser
  • [ ] All of them
  • [ ] Chrome
  • [x] Firefox
  • [ ] Internet Explorer
OS
  • [ ] All of them (?? not tried others)
  • [x] Windows
  • [ ] macOS
  • [ ] Linux
  • [ ] Android
  • [ ] iOS
Browser Issue

Most helpful comment

Firefox 62.0.2 fixed this bug.

All 7 comments

Can't reproduce on Firefox v62 on MacOS.

Can you also share a screenshot so we can see what you mean with "fails"?

It seems to vary. With the canvas textures, the torso was missing, the top and bottom were switched, and a chunk missing from them!

On the fiddle with Normal Material, it looks like this:

2 cylinders

I'm also unable to reproduce with FF 62 and macOS.

I can reproduce on Firefox 62, Windows 10. Weird...

@mhop1 Do you mind filing a bug to Mozilla too?

Firefox 62.0.2 fixed this bug.

Was this page helpful?
0 / 5 - 0 ratings