From 064c4dfa3509a0512be986ccfe4a53df63b26cfb Mon Sep 17 00:00:00 2001 From: Chuck Walbourn Date: Mon, 28 Oct 2024 15:30:34 -0700 Subject: [PATCH] October 28, 2024 --- .nuget/directxmesh_desktop_2019.nuspec | 2 +- .nuget/directxmesh_desktop_win10.nuspec | 2 +- .nuget/directxmesh_uwp.nuspec | 2 +- CHANGELOG.md | 8 ++++++++ CMakeLists.txt | 2 +- DirectXMesh/DirectXMesh.h | 2 +- README.md | 16 +++++++++++++++- 7 files changed, 28 insertions(+), 6 deletions(-) diff --git a/.nuget/directxmesh_desktop_2019.nuspec b/.nuget/directxmesh_desktop_2019.nuspec index 2e6e195..a44960a 100644 --- a/.nuget/directxmesh_desktop_2019.nuspec +++ b/.nuget/directxmesh_desktop_2019.nuspec @@ -10,7 +10,7 @@ This version is for Windows desktop applications using Visual Studio 2019 (16.11) or Visual Studio 2022 and supports Windows 7 / DirectX 11. DirectXMesh, a shared source library for performing various geometry content processing operations including generating normals and tangent frames, triangle adjacency computations, vertex cache optimization, and meshlet generation. - Matches the September 4, 2024 release on GitHub. + Matches the October 28, 2024 release on GitHub. http://go.microsoft.com/fwlink/?LinkID=324981 images\icon.jpg diff --git a/.nuget/directxmesh_desktop_win10.nuspec b/.nuget/directxmesh_desktop_win10.nuspec index 331625a..8fd0a24 100644 --- a/.nuget/directxmesh_desktop_win10.nuspec +++ b/.nuget/directxmesh_desktop_win10.nuspec @@ -10,7 +10,7 @@ This version is for Windows desktop applications using Visual Studio 2019 (16.11) or Visual Studio 2022 and supports Windows 10 / Windows 11 including both DirectX 11 and DirectX 12. DirectXMesh, a shared source library for performing various geometry content processing operations including generating normals and tangent frames, triangle adjacency computations, vertex cache optimization, and meshlet generation. - Matches the September 4, 2024 release on GitHub. + Matches the October 28, 2024 release on GitHub. http://go.microsoft.com/fwlink/?LinkID=324981 images\icon.jpg diff --git a/.nuget/directxmesh_uwp.nuspec b/.nuget/directxmesh_uwp.nuspec index e3ef3b6..eae66c3 100644 --- a/.nuget/directxmesh_uwp.nuspec +++ b/.nuget/directxmesh_uwp.nuspec @@ -10,7 +10,7 @@ This version is for Universal Windows Platform apps on Windows 10 / Windows 11 using Visual Studio 2022. DirectXMesh, a shared source library for performing various geometry content processing operations including generating normals and tangent frames, triangle adjacency computations, vertex cache optimization, and meshlet generation. - Matches the September 4, 2024 release on GitHub. + Matches the October 28, 2024 release on GitHub. http://go.microsoft.com/fwlink/?LinkID=324981 images\icon.jpg diff --git a/CHANGELOG.md b/CHANGELOG.md index f6125fb..7723a65 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,14 @@ Releases available for download on [GitHub](https://github.com/microsoft/DirectX ## Release History +### October 28, 2024 +* All enums now use ``uint32_t`` as the underlying type rather than ``unsigned long`` or ``int``. +* WaveFrontReader utililty moved into ``DX`` namespace +* meshconvert: + * Add "GNU-style" *--long-options* to the command-line tools (all existing switches are still supported) + * Refactored code to use shared header +* CMake and MSBuild project updates + ### September 4, 2024 * CMake project updates including support for ARM64EC * Minor code review diff --git a/CMakeLists.txt b/CMakeLists.txt index bf86702..f9d878b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,7 +3,7 @@ cmake_minimum_required (VERSION 3.20) -set(DIRECTXMESH_VERSION 1.6.6) +set(DIRECTXMESH_VERSION 1.6.7) if(WINDOWS_STORE OR (DEFINED XBOX_CONSOLE_TARGET)) set(CMAKE_TRY_COMPILE_TARGET_TYPE "STATIC_LIBRARY") diff --git a/DirectXMesh/DirectXMesh.h b/DirectXMesh/DirectXMesh.h index be13436..7d86c77 100644 --- a/DirectXMesh/DirectXMesh.h +++ b/DirectXMesh/DirectXMesh.h @@ -40,7 +40,7 @@ #include #include -#define DIRECTX_MESH_VERSION 166 +#define DIRECTX_MESH_VERSION 167 namespace DirectX diff --git a/README.md b/README.md index e4df2f5..1ab9802 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ http://go.microsoft.com/fwlink/?LinkID=324981 Copyright (c) Microsoft Corporation. -**September 4, 2024** +**October 28, 2024** This package contains DirectXMesh, a shared source library for performing various geometry content processing operations including generating normals and tangent frames, triangle adjacency computations, vertex cache optimization, and meshlet generation. @@ -26,6 +26,7 @@ These components are designed to work without requiring any content from the leg + This contains helper code related to mesh processing that is not general enough to be part of the DirectXMesh library. * ``WaveFrontReader.h``: Contains a simple C++ class for reading mesh data from a WaveFront OBJ file. + * ``FlexibleVertexFormat.h``: Contains helpers for working with Direct3D 9 style "FVF" codes. * ``Meshconvert\`` @@ -65,6 +66,19 @@ For a full change history, see [CHANGELOG.md](https://github.com/microsoft/Direc * When using clang/LLVM for the ARM64/AArch64 platform, the Windows 11 SDK ([22000](https://walbourn.github.io/windows-sdk-for-windows-11/)) or later is required. +* As of the October 2024 release, the command-line tool also supports GNU-style long options using ``--``. All existing switches continue to function, but some of the `-` options are now deprecated per this table: + +|Old switch|New switch| +|---|---| +|-sdkmesh|-ft sdkmesh
--file-type sdkmesh| +|-sdkmesh2|-ft sdkmesh2
--file-type sdkmesh2| +|-cmo|-ft cmo
--file-type cmo| +|-vbo|-ft vbo
--file-type vbo| +|-wf|-ft obj
--file-type obj| +|-flipu|--flip-u| +|-flipv|--flip-v| +|-flipz|--flip-z| + ## Support For questions, consider using [Stack Overflow](https://stackoverflow.com/questions/tagged/directxtk) with the *directxtk* tag, or the [DirectX Discord Server](https://discord.gg/directx) in the *dx12-developers* or *dx9-dx11-developers* channel.