Skip to content

N21: Add opensubdiv-petite #622

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 7, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions content/news/021/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -544,6 +544,37 @@ GUI.
[KindNES]: https://github.com/henryksloan/kind-nes/releases/tag/v0.9.1-beta
[@henryksloan]: https://github.com/henryksloan

### [opensubdiv-petite]

![Low poly car model](opensubdiv-petite.jpg)
_Low poly car with three levels of Catmull-Clark subdivision applied._

[Opensubdiv-petite] is a high level, selective, oxidized wrapper around Pixar’s
[OpenSubdiv] [sudivison surface] meshing and evaluation library. OpenSubdiv allows
for real time updates of the subdivided mesh if the topology of the control mesh
is stable (e.g. a deforming character in a game).

The crate comes with a trait for converting into a `bevy::Mesh` and a [`bevy` example].

This is an early release. None of the GPU acceleration backends are yet
exposed on the Rust side. Contact [@virtualritz] is you want to help out with
that.

His [`tobj` fork] also has a bunch new features that help loading OBJ files for
use with opensubdiv-petite. E.g. merging disconnected vertices during import.

The car model above was borrowed from [@quaternius] low poly
[car collection on itch.io].

[OpenSubdiv]: https://graphics.pixar.com/opensubdiv/docs/intro.html
[opensubdiv-petite]: https://crates.io/crates/opensubdiv-petite
[sudivison surface]: https://en.wikipedia.org/wiki/Subdivision_surface
[`bevy` example]: https://github.com/virtualritz/opensubdiv-petite/blob/master/opensubdiv-petite/examples/bevy.rs
[`tobj` fork]: https://github.com/virtualritz/tobj
[@virtualritz]: https://github.com/virtualritz
[@quaternius]: https://www.patreon.com/quaternius
[car collection on itch.io]: https://quaternius.itch.io/lowpoly-cars

### [rafx]

[![Rafx WebGL 1.0 Demo](rafx-webgl1-demo.png)][rafx-webgl-demo]
Expand Down
Binary file added content/news/021/opensubdiv-petite.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.