[Webkit-unassigned] [Bug 186236] New: [Three.js] BoxHelper - performance issue when updating on Safari.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jun 2 07:48:58 PDT 2018


            Bug ID: 186236
           Summary: [Three.js] BoxHelper - performance issue when updating
                    on Safari.
           Product: WebKit
           Version: Safari 11
          Hardware: Macintosh
                OS: macOS 10.13
            Status: NEW
          Severity: Critical
          Priority: P2
         Component: WebGL
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: damochramowicz260 at gmail.com
                CC: dino at apple.com

As the title says, Safari literally chokes itself, whenever I try to update BoundingBox of model like 3DBenchy (the framerate is at 4FPS at best). I tried on different Macs (El Capitan, Sierra, High Sierra, with and without external Video Card), and there was the same problem. Funnily enough, whenever i switch to a different browser (like Firefox or Google Chrome) it works with rock solid 60FPS on the same machine. 

I was able to isolate the test case, and you can see it here: https://damoch.github.io/three-test/

If you open the console, there is "API", that you can mess around with:
* rotate = false //disables rotation of object
* updateBox = false // disables update of bounding box on every frame
* helper.update() // updates bounding box
* loadStl(path) // loads STL file from path (I'm not sure if it works). if called without parameter, it loads default file, which is 3DBenchy.stl.

I've opened issue on three.js issue tracker already -> https://github.com/mrdoob/three.js/issues/14201

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180602/e5eaff25/attachment.html>

More information about the webkit-unassigned mailing list