Thanks for looking into this and for providing additional information.
I think, we can exclude that. I’m using a MacBook Pro with an M4Max chip and 64 GB of RAM. I guess that’s about as current as it gets.
I can confirm that the artifact is indeed a reflection from lights in the scene. I wasn’t aware of the bitmap being converted into a textured mesh:
For a 4k version of my test bitmap (4’096 by 2’048 pix, 3.1 MB) the console reports this (without any error messages):
[Debug] Loading Time: 1232.813ms (IMG2MESH.html, line 2408)
[Log] Memory: – {geometries: 3, textures: 7} (IMG2MESH.html, line 2428)
[Log] Render: – {frame: 2, calls: 8, triangles: 24622, …} (IMG2MESH.html, line 2429)
{frame: 2, calls: 8, triangles: 24622, points: 0, lines: 0}Object
[Warning] Failure to reconstruct an HDR image from blob:https://githubdragonfly.github.io/36be004a-f244-4a43-93f9-89dc83eee6dc: Gain map metadata not found in the file, HDRJPGLoader will render the SDR jpeg (decode.min.js, line 7)
For the huge bitmap (19’712 by 9’856 pix, 47.1 MB) the console reports the following:
[Debug] Loading Time: 51896.236ms (IMG2MESH.html, line 2408)
[Warning] THREE.WebGLRenderer: Texture has been resized from (19712x9856) to (16384x8192). (three.module.min.js, line 6)
[Log] Memory: – {geometries: 3, textures: 7} (IMG2MESH.html, line 2428)
[Log] Render: (IMG2MESH.html, line 2429)
Object
calls: 256
frame: 64
lines: 0
points: 0
triangles: 3786176
After selecting EXR from the Export menu the console reports this:
[Warning] Failure to reconstruct an HDR image from blob:https://githubdragonfly.github.io/8eb766c4-80b1-43df-874e-0d1d675861f0: Gain map metadata not found in the file, HDRJPGLoader will render the SDR jpeg (decode.min.js, line 7)
[Warning] THREE.WebGLRenderer: Texture has been resized from (19712x9856) to (16384x8192). (three.module.min.js, line 6)
[Error] WebGL: INVALID_VALUE: Desired resource size is greater than max texture size.
[Error] WebGL: INVALID_FRAMEBUFFER_OPERATION: Framebuffer is incomplete: Attachment has zero size.
[Error] WebGL: INVALID_OPERATION: Framebuffer is incomplete: Attachment has zero size.
[Error] WebGL: INVALID_FRAMEBUFFER_OPERATION: Framebuffer is incomplete: Attachment has zero size.
Memory consumption increases during export from 4.4 GB (Browser had several other tabs) to 10.4 GB, then drops to 7.1 GB after errors occurred, and remains stable from there on.