1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-11 17:51:04 +00:00
luanti/irr/src
Lars Müller 05d31222f7
Allow non-normalized weights in glTF models (#15310)
We are being lax here, but the glTF specification just requires that "when the weights are stored using float component type, their linear sum SHOULD be as close as reasonably possible to 1.0 for a given vertex"

In particular weights > 1 and weight sums well below or above 1 can be observed in models exported by Blender if they aren't manually normalized.
These fail the glTF validator but Irrlicht normalizes weights itself so we can support them just fine.

The docs have been updated to recommend normalizing weights (as well as documenting the status of interpolation support).

Weights < 0, most of them close to 0, also occur. Consistent with Irrlicht, we ignore them, but we also raise a warning.
2024-12-06 18:05:03 +01:00
..
OpenGL GL: fix and clean up some code 2024-12-04 18:20:34 +01:00
OpenGL3 Add 10-bit texture format and setting to chose PP color depth 2024-12-04 18:20:34 +01:00
OpenGLES2 GL: fix and clean up some code 2024-12-04 18:20:34 +01:00
vendor Copy irrlichtmt to <root>/irr/ 2024-03-26 21:39:02 +01:00
BuiltInFont.h Copy irrlichtmt to <root>/irr/ 2024-03-26 21:39:02 +01:00
builtInFont.png Copy irrlichtmt to <root>/irr/ 2024-03-26 21:39:02 +01:00
CAnimatedMeshSceneNode.cpp Refactor: Merge [IC]SkinnedMesh into SkinnedMesh (#15511) 2024-12-06 18:03:44 +01:00
CAnimatedMeshSceneNode.h Support floating-point animation frame numbers 2024-10-10 21:39:57 +02:00
CAttributeImpl.h Irrlicht cleanups (mostly getting rid of core::array) 2024-08-17 19:49:11 +02:00
CAttributes.cpp Irrlicht cleanups (mostly getting rid of core::array) 2024-08-17 19:49:11 +02:00
CAttributes.h Irrlicht cleanups (mostly getting rid of core::array) 2024-08-17 19:49:11 +02:00
CB3DMeshFileLoader.cpp Refactor: Merge [IC]SkinnedMesh into SkinnedMesh (#15511) 2024-12-06 18:03:44 +01:00
CB3DMeshFileLoader.h Refactor: Merge [IC]SkinnedMesh into SkinnedMesh (#15511) 2024-12-06 18:03:44 +01:00
CBillboardSceneNode.cpp Drop fixed pipeline lighting stuff (#15165) 2024-09-18 12:18:28 +02:00
CBillboardSceneNode.h Copy irrlichtmt to <root>/irr/ 2024-03-26 21:39:02 +01:00
CBlit.h Copy irrlichtmt to <root>/irr/ 2024-03-26 21:39:02 +01:00
CBoneSceneNode.cpp Copy irrlichtmt to <root>/irr/ 2024-03-26 21:39:02 +01:00
CBoneSceneNode.h Copy irrlichtmt to <root>/irr/ 2024-03-26 21:39:02 +01:00
CCameraSceneNode.cpp Copy irrlichtmt to <root>/irr/ 2024-03-26 21:39:02 +01:00
CCameraSceneNode.h Copy irrlichtmt to <root>/irr/ 2024-03-26 21:39:02 +01:00
CColorConverter.cpp Fix rendering regression with TGA type 1 files with BGRA8 color (#15402) 2024-11-19 13:37:05 +01:00
CColorConverter.h Fix rendering regression with TGA type 1 files with BGRA8 color (#15402) 2024-11-19 13:37:05 +01:00
CDummyTransformationSceneNode.cpp Copy irrlichtmt to <root>/irr/ 2024-03-26 21:39:02 +01:00
CDummyTransformationSceneNode.h Copy irrlichtmt to <root>/irr/ 2024-03-26 21:39:02 +01:00
CEGLManager.cpp Revert "Use EGL over GLX" (#15315) 2024-10-24 17:52:06 +02:00
CEGLManager.h Revert "Use EGL over GLX" (#15315) 2024-10-24 17:52:06 +02:00
CEmptySceneNode.cpp Copy irrlichtmt to <root>/irr/ 2024-03-26 21:39:02 +01:00
CEmptySceneNode.h Copy irrlichtmt to <root>/irr/ 2024-03-26 21:39:02 +01:00
CFileList.cpp Fix deletePathFromFilename returning cutoff filenames (#15211) 2024-09-30 22:41:53 +02:00
CFileList.h Copy irrlichtmt to <root>/irr/ 2024-03-26 21:39:02 +01:00
CFileSystem.cpp Cleanup headers in irr/include/ (#15181) 2024-10-18 10:58:32 +02:00
CFileSystem.h Mark a bunch of classes as final 2024-09-02 21:50:13 +02:00
CFPSCounter.cpp Keep stats on hw buffer uploads 2024-08-28 15:38:02 +02:00
CFPSCounter.h Keep stats on hw buffer uploads 2024-08-28 15:38:02 +02:00
CGLTFMeshFileLoader.cpp Allow non-normalized weights in glTF models (#15310) 2024-12-06 18:05:03 +01:00
CGLTFMeshFileLoader.h Allow non-normalized weights in glTF models (#15310) 2024-12-06 18:05:03 +01:00
CGLXManager.cpp Revert "Use EGL over GLX" (#15315) 2024-10-24 17:52:06 +02:00
CGLXManager.h Revert "Use EGL over GLX" (#15315) 2024-10-24 17:52:06 +02:00
CGUIButton.cpp Make button sprites (scrollbar arrows) DPI-aware (#14772) 2024-06-26 15:25:27 +02:00
CGUIButton.h Make button sprites (scrollbar arrows) DPI-aware (#14772) 2024-06-26 15:25:27 +02:00
CGUICheckBox.cpp Copy irrlichtmt to <root>/irr/ 2024-03-26 21:39:02 +01:00
CGUICheckBox.h Copy irrlichtmt to <root>/irr/ 2024-03-26 21:39:02 +01:00
CGUIComboBox.cpp Copy irrlichtmt to <root>/irr/ 2024-03-26 21:39:02 +01:00
CGUIComboBox.h Copy irrlichtmt to <root>/irr/ 2024-03-26 21:39:02 +01:00
CGUIEditBox.cpp Copy irrlichtmt to <root>/irr/ 2024-03-26 21:39:02 +01:00
CGUIEditBox.h Copy irrlichtmt to <root>/irr/ 2024-03-26 21:39:02 +01:00
CGUIEnvironment.cpp Copy irrlichtmt to <root>/irr/ 2024-03-26 21:39:02 +01:00
CGUIEnvironment.h Copy irrlichtmt to <root>/irr/ 2024-03-26 21:39:02 +01:00
CGUIFileOpenDialog.cpp Copy irrlichtmt to <root>/irr/ 2024-03-26 21:39:02 +01:00
CGUIFileOpenDialog.h Copy irrlichtmt to <root>/irr/ 2024-03-26 21:39:02 +01:00
CGUIFont.cpp Copy irrlichtmt to <root>/irr/ 2024-03-26 21:39:02 +01:00
CGUIFont.h Copy irrlichtmt to <root>/irr/ 2024-03-26 21:39:02 +01:00
CGUIImage.cpp Copy irrlichtmt to <root>/irr/ 2024-03-26 21:39:02 +01:00
CGUIImage.h Copy irrlichtmt to <root>/irr/ 2024-03-26 21:39:02 +01:00
CGUIImageList.cpp Copy irrlichtmt to <root>/irr/ 2024-03-26 21:39:02 +01:00
CGUIImageList.h Copy irrlichtmt to <root>/irr/ 2024-03-26 21:39:02 +01:00
CGUIListBox.cpp Copy irrlichtmt to <root>/irr/ 2024-03-26 21:39:02 +01:00
CGUIListBox.h Copy irrlichtmt to <root>/irr/ 2024-03-26 21:39:02 +01:00
CGUIScrollBar.cpp Copy irrlichtmt to <root>/irr/ 2024-03-26 21:39:02 +01:00
CGUIScrollBar.h Copy irrlichtmt to <root>/irr/ 2024-03-26 21:39:02 +01:00
CGUISkin.cpp Move Minetest GUISkin -> Irrlicht CGUISkin 2024-09-08 13:53:33 +02:00
CGUISkin.h Move Minetest GUISkin -> Irrlicht CGUISkin 2024-09-08 13:53:33 +02:00
CGUISpriteBank.cpp Copy irrlichtmt to <root>/irr/ 2024-03-26 21:39:02 +01:00
CGUISpriteBank.h Copy irrlichtmt to <root>/irr/ 2024-03-26 21:39:02 +01:00
CGUIStaticText.cpp Copy irrlichtmt to <root>/irr/ 2024-03-26 21:39:02 +01:00
CGUIStaticText.h Copy irrlichtmt to <root>/irr/ 2024-03-26 21:39:02 +01:00
CGUITabControl.cpp Copy irrlichtmt to <root>/irr/ 2024-03-26 21:39:02 +01:00
CGUITabControl.h Copy irrlichtmt to <root>/irr/ 2024-03-26 21:39:02 +01:00
CImage.cpp Fix rendering regression with TGA type 1 files with BGRA8 color (#15402) 2024-11-19 13:37:05 +01:00
CImage.h Mark a bunch of classes as final 2024-09-02 21:50:13 +02:00
CImageLoaderJPG.cpp Cleanup headers in irr/include/ (#15181) 2024-10-18 10:58:32 +02:00
CImageLoaderJPG.h Cleanup headers in irr/include/ (#15181) 2024-10-18 10:58:32 +02:00
CImageLoaderPNG.cpp Cleanup headers in irr/include/ (#15181) 2024-10-18 10:58:32 +02:00
CImageLoaderPNG.h Copy irrlichtmt to <root>/irr/ 2024-03-26 21:39:02 +01:00
CImageLoaderTGA.cpp Fix rendering regression with TGA type 1 files with BGRA8 color (#15402) 2024-11-19 13:37:05 +01:00
CImageLoaderTGA.h Copy irrlichtmt to <root>/irr/ 2024-03-26 21:39:02 +01:00
CImageWriterJPG.cpp Less explicit memory management in Irrlicht image writer classes (#15493) 2024-12-03 16:52:48 +01:00
CImageWriterJPG.h Copy irrlichtmt to <root>/irr/ 2024-03-26 21:39:02 +01:00
CImageWriterPNG.cpp Less explicit memory management in Irrlicht image writer classes (#15493) 2024-12-03 16:52:48 +01:00
CImageWriterPNG.h Copy irrlichtmt to <root>/irr/ 2024-03-26 21:39:02 +01:00
CIrrDeviceLinux.cpp Remove unused and rarely used irrlicht color functions (#15442) 2024-11-18 00:02:53 +01:00
CIrrDeviceLinux.h Better UX when touch events aren't supported by Irrlicht device (#15288) 2024-10-16 21:37:00 +02:00
CIrrDeviceOSX.h Copy irrlichtmt to <root>/irr/ 2024-03-26 21:39:02 +01:00
CIrrDeviceOSX.mm Non-SDL: Add opengl3 support 2024-11-15 12:18:48 +01:00
CIrrDeviceSDL.cpp Non-SDL: Add opengl3 support 2024-11-15 12:18:48 +01:00
CIrrDeviceSDL.h Better UX when touch events aren't supported by Irrlicht device (#15288) 2024-10-16 21:37:00 +02:00
CIrrDeviceStub.cpp Non-SDL: Add opengl3 support 2024-11-15 12:18:48 +01:00
CIrrDeviceStub.h Non-SDL: Add opengl3 support 2024-11-15 12:18:48 +01:00
CIrrDeviceWin32.cpp Non-SDL: Add opengl3 support 2024-11-15 12:18:48 +01:00
CIrrDeviceWin32.h Copy irrlichtmt to <root>/irr/ 2024-03-26 21:39:02 +01:00
CLimitReadFile.cpp Copy irrlichtmt to <root>/irr/ 2024-03-26 21:39:02 +01:00
CLimitReadFile.h Mark a bunch of classes as final 2024-09-02 21:50:13 +02:00
CLogger.cpp Copy irrlichtmt to <root>/irr/ 2024-03-26 21:39:02 +01:00
CLogger.h Copy irrlichtmt to <root>/irr/ 2024-03-26 21:39:02 +01:00
CMakeLists.txt Refactor: Merge [IC]SkinnedMesh into SkinnedMesh (#15511) 2024-12-06 18:03:44 +01:00
CMemoryFile.cpp Copy irrlichtmt to <root>/irr/ 2024-03-26 21:39:02 +01:00
CMemoryFile.h Mark a bunch of classes as final 2024-09-02 21:50:13 +02:00
CMeshCache.cpp Copy irrlichtmt to <root>/irr/ 2024-03-26 21:39:02 +01:00
CMeshCache.h Copy irrlichtmt to <root>/irr/ 2024-03-26 21:39:02 +01:00
CMeshManipulator.cpp Refactor: Merge [IC]SkinnedMesh into SkinnedMesh (#15511) 2024-12-06 18:03:44 +01:00
CMeshManipulator.h Copy irrlichtmt to <root>/irr/ 2024-03-26 21:39:02 +01:00
CMeshSceneNode.cpp Refactor: Merge [IC]SkinnedMesh into SkinnedMesh (#15511) 2024-12-06 18:03:44 +01:00
CMeshSceneNode.h Copy irrlichtmt to <root>/irr/ 2024-03-26 21:39:02 +01:00
CNSOGLManager.h Copy irrlichtmt to <root>/irr/ 2024-03-26 21:39:02 +01:00
CNSOGLManager.mm Copy irrlichtmt to <root>/irr/ 2024-03-26 21:39:02 +01:00
CNullDriver.cpp GL: fix and clean up some code 2024-12-04 18:20:34 +01:00
CNullDriver.h GL: fix and clean up some code 2024-12-04 18:20:34 +01:00
COBJMeshFileLoader.cpp Drop fixed pipeline lighting stuff (#15165) 2024-09-18 12:18:28 +02:00
COBJMeshFileLoader.h Drop fixed pipeline lighting stuff (#15165) 2024-09-18 12:18:28 +02:00
COGLESCoreExtensionHandler.h ogles 2 driver: Delete some dead code 2024-11-08 20:43:24 +01:00
COpenGLCacheHandler.cpp Copy irrlichtmt to <root>/irr/ 2024-03-26 21:39:02 +01:00
COpenGLCacheHandler.h Copy irrlichtmt to <root>/irr/ 2024-03-26 21:39:02 +01:00
COpenGLCommon.h Try to fix macro definition order problem with OpenGL code 2024-04-15 19:27:05 +02:00
COpenGLCoreCacheHandler.h Implement support for FSAA in combination with post-processing (#15392) 2024-11-18 14:06:48 +01:00
COpenGLCoreFeature.h Copy irrlichtmt to <root>/irr/ 2024-03-26 21:39:02 +01:00
COpenGLCoreRenderTarget.h Implement support for FSAA in combination with post-processing (#15392) 2024-11-18 14:06:48 +01:00
COpenGLCoreTexture.h GL: fix and clean up some code 2024-12-04 18:20:34 +01:00
COpenGLDriver.cpp GL: fix and clean up some code 2024-12-04 18:20:34 +01:00
COpenGLDriver.h GL: fix and clean up some code 2024-12-04 18:20:34 +01:00
COpenGLExtensionHandler.cpp GL: fix and clean up some code 2024-12-04 18:20:34 +01:00
COpenGLExtensionHandler.h GL: fix and clean up some code 2024-12-04 18:20:34 +01:00
COpenGLMaterialRenderer.h Copy irrlichtmt to <root>/irr/ 2024-03-26 21:39:02 +01:00
COpenGLSLMaterialRenderer.cpp Work around Intel driver bug on Win 8.1 and older 2024-11-10 17:44:45 +01:00
COpenGLSLMaterialRenderer.h Copy irrlichtmt to <root>/irr/ 2024-03-26 21:39:02 +01:00
COSOperator.cpp Fix some clang compiler warnings (#14654) 2024-05-15 19:56:25 +02:00
COSOperator.h Copy irrlichtmt to <root>/irr/ 2024-03-26 21:39:02 +01:00
CReadFile.cpp Copy irrlichtmt to <root>/irr/ 2024-03-26 21:39:02 +01:00
CReadFile.h Mark a bunch of classes as final 2024-09-02 21:50:13 +02:00
CSceneCollisionManager.cpp Debloat IVideoDriver and IrrlichtDevice includes (#15080) 2024-08-31 11:44:30 +02:00
CSceneCollisionManager.h Copy irrlichtmt to <root>/irr/ 2024-03-26 21:39:02 +01:00
CSceneManager.cpp Refactor: Merge [IC]SkinnedMesh into SkinnedMesh (#15511) 2024-12-06 18:03:44 +01:00
CSceneManager.h Refactor: Merge [IC]SkinnedMesh into SkinnedMesh (#15511) 2024-12-06 18:03:44 +01:00
CSDLManager.cpp Try to fix macro definition order problem with OpenGL code 2024-04-15 19:27:05 +02:00
CSDLManager.h Copy irrlichtmt to <root>/irr/ 2024-03-26 21:39:02 +01:00
CTimer.h Copy irrlichtmt to <root>/irr/ 2024-03-26 21:39:02 +01:00
CWGLManager.cpp Expose OpenGL debugging as a normal setting 2024-04-15 17:48:33 +02:00
CWGLManager.h Copy irrlichtmt to <root>/irr/ 2024-03-26 21:39:02 +01:00
CWriteFile.cpp Copy irrlichtmt to <root>/irr/ 2024-03-26 21:39:02 +01:00
CWriteFile.h Copy irrlichtmt to <root>/irr/ 2024-03-26 21:39:02 +01:00
CXMeshFileLoader.cpp Refactor: Merge [IC]SkinnedMesh into SkinnedMesh (#15511) 2024-12-06 18:03:44 +01:00
CXMeshFileLoader.h Refactor: Merge [IC]SkinnedMesh into SkinnedMesh (#15511) 2024-12-06 18:03:44 +01:00
CZipReader.cpp Fix deletePathFromFilename returning cutoff filenames (#15211) 2024-09-30 22:41:53 +02:00
CZipReader.h Irrlicht cleanups (mostly getting rid of core::array) 2024-08-17 19:49:11 +02:00
IAttribute.h Irrlicht cleanups (mostly getting rid of core::array) 2024-08-17 19:49:11 +02:00
Irrlicht.cpp Cleanup headers in irr/include/ (#15181) 2024-10-18 10:58:32 +02:00
mt_opengl_loader.cpp Fix some issues with mt_opengl 2024-12-04 18:20:34 +01:00
os.cpp Copy irrlichtmt to <root>/irr/ 2024-03-26 21:39:02 +01:00
os.h Add some debug helpers around this area 2024-09-16 23:12:52 +02:00
SB3DStructs.h Copy irrlichtmt to <root>/irr/ 2024-03-26 21:39:02 +01:00
SkinnedMesh.cpp Refactor: Merge [IC]SkinnedMesh into SkinnedMesh (#15511) 2024-12-06 18:03:44 +01:00
SoftwareDriver2_helper.h Copy irrlichtmt to <root>/irr/ 2024-03-26 21:39:02 +01:00