Skip to content

Commit

Permalink
v0.3.7-preview.6
Browse files Browse the repository at this point in the history
This update merges in some big changes to the way the C# build scripts work! This allows for switching between the Oculus and Standard OpenXR Loader (for those _not_ targeting Quest!), as well as lays the groundwork for the upcoming Maui based multi-target template. Some projects _may_ experience issues upgrading due to this, especially if using the Universal template. If you see this in your project, I'd love to know, notes at the bottom about that.

Here's the changelog:
- Added auto-copy of Assets folder <SKCopyAssets>true/false, <SKAssetFolder>path, and <SKAssetDestination>path
- Added auto-compile for shaders in the Assets folder.
- Added ability to switch between the standard and Oculus version of the OpenXR Loader, <SKOpenXRLoader>.
- Added support for multimaterial skinned meshes, thanks @holloway! #495
- Added `Tex.GenParticle`.
- Added `Mesh.GenerateCircle`, and added `doubleSided` to `Mesh.GeneratePlane`, thanks @jackdaus! #503
- Added `Backend.OpenXR.OnPollEvent` to allow for more OpenXR extension implementations, thanks @jackdaus! #513
- Added `UI.Toggle` overload with sprite arguments. #514
- Added IntPtr overloads for `Sound.Read/WriteSamples`.
- Removed Linux dependencies on libjsoncpp and libglew. #507 and #485
- Text material now uses DepthTest.LessEq, should help reduce z-fighting artifacts on far text.
- Cmake now works with Android, thanks @malek! #516
- Fixed an issue with a missing library on UWP ARM via cmake, #501
- Fixed an issue with parsing certain URIs in GLTF files.
- Fixed an issue with `Material.Copy` not copying material chaining.
- Fixed an issue with the simulated hand's wrist joint not matching real hand data.
- UI.Panel now uses the correct visual element. #484

Previously, asset copying was manually added to templates, this update adds some code that makes this no longer necessary. For existing projects, duplicate asset copying isn't a problem, but the Universal template did a bit extra in order to use a shared asset folder. Please see this branch of the Universal template for changes that you'll probably need!
https://github.com/StereoKit/SKTemplate-Universal/tree/feature/v0.3.7_Asset_Copy
  • Loading branch information
maluoi committed Nov 15, 2022
1 parent a39444c commit 3678d4e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions StereoKit/StereoKit.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netstandard2.0</TargetFrameworks>
Expand All @@ -18,7 +18,7 @@
<!-- NuGet package -->
<PropertyGroup>
<Id>StereoKit</Id>
<Version>0.3.7-preview.5</Version>
<Version>0.3.7-preview.6</Version>
<Title>StereoKit</Title>
<Authors>Nick Klingensmith</Authors>
<PackageProjectUrl>https://github.com/maluoi/StereoKit</PackageProjectUrl>
Expand Down
2 changes: 1 addition & 1 deletion StereoKitC/stereokit.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#define SK_VERSION_MAJOR 0
#define SK_VERSION_MINOR 3
#define SK_VERSION_PATCH 7
#define SK_VERSION_PRERELEASE 5
#define SK_VERSION_PRERELEASE 6

#if defined(__GNUC__) || defined(__clang__)
#define SK_DEPRECATED __attribute__((deprecated))
Expand Down
2 changes: 1 addition & 1 deletion xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ target("StereoKitC")
add_options("uwp")
add_options("linux-graphics-backend")
add_options("oculus-openxr")
set_version("0.3.7-preview.5")
set_version("0.3.7-preview.6")
set_symbols("debug")

-- 2.5.3 is needed for utils.install.pkgconfig_importfiles
Expand Down

4 comments on commit 3678d4e

@holloway
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you mean a different holloway, not me.

@maluoi
Copy link
Collaborator Author

@maluoi maluoi commented on 3678d4e Nov 15, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, yep! Sorry about that!

@malek
Copy link

@malek malek commented on 3678d4e Nov 15, 2022 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@maluoi
Copy link
Collaborator Author

@maluoi maluoi commented on 3678d4e Nov 15, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wow, I'm on fire with this update! :D My apologies to you as well!

Please sign in to comment.