{"id":16088717,"url":"https://github.com/dougbinks/bunnylod","last_synced_at":"2025-03-17T17:30:54.621Z","repository":{"id":146892373,"uuid":"263026587","full_name":"dougbinks/BunnyLOD","owner":"dougbinks","description":"Cross platform GLFW based port of Stan Melax's BunnyLOD Easy Mesh Simplification","archived":false,"fork":false,"pushed_at":"2020-06-01T11:05:57.000Z","size":73,"stargazers_count":75,"open_issues_count":0,"forks_count":11,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-10-10T13:44:15.890Z","etag":null,"topics":["c-plus-plus","cmake","edge-reduction","gamedev","glfw","graphics-programming","mesh-simplification","opengl","progressive-mesh"],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dougbinks.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null},"funding":{"github":"dougbinks","patreon":"enkisoftware","open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":"https://www.enkisoftware.com/avoyd"}},"created_at":"2020-05-11T11:45:39.000Z","updated_at":"2024-04-10T02:30:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"5ed4ea81-bf27-4e04-8613-345b6d4428ef","html_url":"https://github.com/dougbinks/BunnyLOD","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dougbinks%2FBunnyLOD","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dougbinks%2FBunnyLOD/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dougbinks%2FBunnyLOD/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dougbinks%2FBunnyLOD/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dougbinks","download_url":"https://codeload.github.com/dougbinks/BunnyLOD/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221697436,"owners_count":16865629,"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":["c-plus-plus","cmake","edge-reduction","gamedev","glfw","graphics-programming","mesh-simplification","opengl","progressive-mesh"],"created_at":"2024-10-09T13:44:16.934Z","updated_at":"2024-10-27T15:20:03.984Z","avatar_url":"https://github.com/dougbinks.png","language":"C++","funding_links":["https://github.com/sponsors/dougbinks","https://patreon.com/enkisoftware","https://www.enkisoftware.com/avoyd"],"categories":[],"sub_categories":[],"readme":"Original code: https://github.com/melax/sandbox/tree/master/bunnylod\n\nMore information \u0026 article link: http://www.melax.com/polychop\n\n\tPolygon Reduction Demo\n\tBy Stan Melax (c) 1998\n\thttp://www.melax.com\n\nMouse dragging spins the rabbit.\n\nAugust 2014: code style upgraded to be more consistent with graphics/gamdev conventions \n\nMIT Licensed as per https://github.com/melax/sandbox/blob/master/LICENSE\n\n# BunnyLOD Cross Platform Port\nMay 2020: Cross platform port using GLFW and CMake by Doug Binks\n\nI have made sufficient and minimal changes to Stan Melax's code to get it running with GLFW on Windows, OSX and Linux.\n\nThe main interesting code is in [progmesh.h](https://github.com/dougbinks/BunnyLOD/blob/master/progmesh.h) and [progmesh.cpp](https://github.com/dougbinks/BunnyLOD/blob/master/progmesh.cpp).\n\nThe code requires a C++14 compatible compiler. Visual Studio on Windows, Clang on OSX and GCC on Linux tested.\n\n![BunnyLOD screenshot](https://github.com/dougbinks/images/blob/master/BunnyLOD.jpg?raw=true)\n\n## Getting the code\n\nThe easiest way to get hold of the starter code is to run the following command using a shell you can run git from:\n\n```\ngit clone --recursive https://github.com/dougbinks/BunnyLOD\n```\n\nIf you are on Windows you can download git from [git-scm.com/download/win](https://git-scm.com/download/win) and use the right click menu in Windows File Explorer to \"Git Bash here\" and then run git commands.\n\nThis will create the directory _GLFW-CMake-starter_ and get the latest source code, using the ```--recursive``` option to download the GLFW code which is included in the repository as a submodule. If you want to run further git commands from the command line you'll need to cd into the directory:\n\n```\ncd BunnyLOD\n```\n\nAlternatively you can use a git GUI program such as [Fork](https://git-fork.com/) to get the code. Most of these will automatically download the git submodules.\n\nIf you download the code from GitHub via the \"Download ZIP\" approach, you'll also need to download GLFW into the _glfw_ folder. The correct version can be found by clicking on the _glfw_ folder you see on the [front page of the _BunnyLOD_ GitHub repository](https://github.com/dougbinks/BunnyLOD).\n\n## Using CMake to create the project\n\nFrom a command prompt in the `BunnyLOD` directory:\n1. `mkdir build`\n1. `cd build`\n1. `cmake ..`\n1. Either run `make all` or for Visual Studio open `BunnyLOD.sln`\n\n## Also see\n\n[BGFX](https://github.com/bkaradzic/bgfx) example 42-bunnlod by [cloudwu](https://github.com/cloudwu):\nhttps://bkaradzic.github.io/bgfx/examples.html#bunnylod\n![BGFX example 42-bunnlod screenshot](https://github.com/bkaradzic/bgfx/raw/master/examples/42-bunnylod/screenshot.png)\n\nThis port to render with the [BGFX GFX API](https://github.com/bkaradzic/bgfx) also adds a [Dear ImGui UI](https://github.com/ocornut/imgui) and the code is converted to C.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdougbinks%2Fbunnylod","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdougbinks%2Fbunnylod","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdougbinks%2Fbunnylod/lists"}