Marching Cubes – Weird Grid Stretching

Description of the problem

An applet using Marching Cubes library renders differently in different computers / browsers. The code for the applet is located in https://cdn.rawgit.com/TungstenHub/tngt-threejs/master/scripts/quadrics.html and a StackExchange question https://stackoverflow.com/questions/50304079/marching-cubes-for-quadrics-three-js/50322344 shows two different behaviours on the same applet, both having a GIF exposing the rendered result.

The answer of the SE question reports the right behavior of Marching Cubes, showing accurate parameter-dependent quadrics.

The question reports an anomaly in which the base grid gets strangely stretched and the surfaces linearly distorted. This effect has been observed many times after clearing all browsing cache, both in Chrome and Firefox Quantum.

If more people open the applet above, perhaps some report the same strange behavior and the cause may be detected.

Three.js version
  • Dev
  • r92
Browser
  • All of them
  • Chrome
  • Firefox
  • Internet Explorer
OS
  • All of them
  • Windows
  • macOS
  • Linux
  • Android
  • iOS
Hardware Requirements (graphics card, VR Device, …)

Author: Fantashit

2 thoughts on “Marching Cubes – Weird Grid Stretching

  1. @jxm-math I understand. Unfortunately, plenty of users post here when there is a “potential bug”. However, if you can demonstrate a three.js bug, then that is a different matter. Thank you for understanding.

Comments are closed.