Skip to content

Commit fc9b0cc

Browse files
galisterSupreeeme
andauthored
Add support for rendermodels (#323)
Co-authored-by: Supreeeme <yungwallace@live.com>
1 parent f65c872 commit fc9b0cc

12 files changed

+1056
-61
lines changed

Cargo.lock

Lines changed: 25 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ glutin_glx_sys = "0.6.0"
6767
libc = "0.2.169"
6868
derive_more = { workspace = true }
6969
gl = "0.14.0"
70+
obj = "0.10.2"
71+
lz4_flex = { version = "0.12.0", default-features = false, features = ["frame"] }
7072

7173
[build-dependencies]
7274
anyhow = "1.0.99"

resources/rendermodels/README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# xrizer render models
2+
3+
xrizer ships with render models that are used by OpenVR applications to help identify where the controller sits in 3D space. The models are heavily optimized and meant to only represent the silhouette of the device, without detailed features.
4+
5+
The models here are derivative works of models from the MIT-licensed [webxr-input-proviles/assets](https://github.com/immersive-web/webxr-input-profiles/tree/main/packages/assets) package.
6+
7+
Our meshes retain the bare minimum geometry data that is required to reconstruct the silhouette of the device; vertices, edges, faces
8+
9+
The following data is NOT included:
10+
- Physicial features such as buttons, joysticks, triggers, or metadata about how these actuate
11+
- Textures that may or may not contain registered trademarks
12+
- Vertex UV data, vertex color data, vertex normals, face normals
4.07 KB
Binary file not shown.
35.1 KB
Binary file not shown.
20.2 KB
Binary file not shown.
34.6 KB
Binary file not shown.
42.1 KB
Binary file not shown.
20.9 KB
Binary file not shown.
15.6 KB
Binary file not shown.

0 commit comments

Comments
 (0)