{"id":16915758,"url":"https://github.com/zesterer/wavefront","last_synced_at":"2025-03-22T10:32:39.908Z","repository":{"id":54250441,"uuid":"294734752","full_name":"zesterer/wavefront","owner":"zesterer","description":"A Wavefront OBJ parser and utility crate","archived":false,"fork":false,"pushed_at":"2024-05-19T10:05:55.000Z","size":38,"stargazers_count":3,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-18T10:45:42.219Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zesterer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-09-11T15:38:21.000Z","updated_at":"2022-09-12T13:22:12.000Z","dependencies_parsed_at":"2024-05-17T16:59:45.125Z","dependency_job_id":null,"html_url":"https://github.com/zesterer/wavefront","commit_stats":{"total_commits":17,"total_committers":3,"mean_commits":5.666666666666667,"dds":"0.11764705882352944","last_synced_commit":"3b78134cfa2e703eed49bea84e0f6fe32c77a3b3"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zesterer%2Fwavefront","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zesterer%2Fwavefront/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zesterer%2Fwavefront/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zesterer%2Fwavefront/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zesterer","download_url":"https://codeload.github.com/zesterer/wavefront/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244944378,"owners_count":20536290,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-13T19:22:25.647Z","updated_at":"2025-03-22T10:32:39.599Z","avatar_url":"https://github.com/zesterer.png","language":"Rust","readme":"# Wavefront\n\n[![crates.io](https://img.shields.io/crates/v/wavefront.svg)](https://crates.io/crates/wavefront)\n[![crates.io](https://docs.rs/wavefront/badge.svg)](https://docs.rs/wavefront)\n\nA [Wavefront OBJ](https://en.wikipedia.org/wiki/Wavefront_.obj_file) parser and\nutility crate.\n\n```toml\n[dependencies]\nwavefront = \"x.y.z\"\n```\n\n## Example\n\n```rust\nlet model = wavefront::Obj::from_file(\"tests/ship.obj\").unwrap();\n\nfor [a, b, c] in model.triangles() {\n    // No index lookup required: wavefront handles this for you!\n    println!(\"{:?} {:?} {:?}\", a.position(), b.position(), c.position());\n}\n```\n\n\u003cp align=\"center\"\u003e\n\t\u003cimg src=\"https://raw.githubusercontent.com/zesterer/wavefront/master/misc/screenshot.png\" alt=\"A parsec isn't a unit of time, Han\" width=\"50%\"/\u003e\n\u003c/p\u003e\n\n# Features\n\n- Ergonomic API for parsing OBJs from files and readers.\n\n- Wrapper types that automatically perform indexing and hide the annoyances of\n  the OBJ format if you just want to grab some triangles...\n\n- ...but allows you to dip into the nitty-gritty details of OBJ if you want to\n  do that too.\n\n- Correct handling of complex polygons.\n\n- No dependencies\n\n## Roadmap\n\n- Materials and the MTL support.\n\n- Object, group, polygon, vertex and vertex attribute insertion\n\n- Saving\n\n- Arbitrary geometry support.\n\n## Why not [alternative]?\n\n`wavefront` was born of a general feeling that the API of existing OBJ parsers\nwere either unnecessarily verbose or didn't properly handle the heirarchical\nstructure of the OBJ format. `wavefront` aims to couple correct handling of the\nformat's features with a clean, terse API that allows you to jump straight to\nthe thing you want to do: rendering your model.\n\n## License\n\n`wavefront` is distributed under either of:\n\n- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)\n\n- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)\n\nat the disgression of the user.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzesterer%2Fwavefront","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzesterer%2Fwavefront","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzesterer%2Fwavefront/lists"}