KhronosGroup / glTF-Sample-Viewer

Physically-Based Rendering in glTF 2.0 using WebGL
Apache License 2.0
1.21k stars 229 forks source link

BoxInterleaved model does not display correctly #496

Closed erich666 closed 7 months ago

erich666 commented 8 months ago

Steps to reproduce: go to https://github.khronos.org/glTF-Sample-Viewer-Release/ and choose the model BoxInterleaved. Screenshot:

image

I'm using Chrome on Windows. I get the same results on Microsoft Edge on Windows.

Compare this to say https://asset-explorer.needle.tools/BoxInterleaved or drop the model at https://github.com/KhronosGroup/glTF-Sample-Assets/tree/main/Models/BoxInterleaved into say https://gltf-viewer.donmccurdy.com/, where you get (after adjusting the camera) something like:

image

Note: there was a bug filed about BoxInterleaved five years ago that was closed, so this model evidently displayed correctly at some point. Regression?

echadwick-artist commented 7 months ago

Perhaps related... I get a similar result in the glTF Sample Viewer with a model exported using Autodesk's built-in glTF exporter for 3ds Max. UV0-dual-paraboloid_UV1-equirect.zip

It passes the glTF Validator, with a single Info about a non pow2 texture.

How it renders in glTF Sample Viewer Release (https://github.khronos.org/glTF-Sample-Viewer-Release/): 2023-09-24 21_39_09-glTF Sample Viewer

How it renders in UX3D's development version (http://gltf.ux3d.io/): 2023-09-24 21_40_33-glTF Sample Viewer

(Edit: fix for UX3D broken link)