{"id":20049879,"url":"https://github.com/daniilgrbic/minimum-bounding-box","last_synced_at":"2025-03-02T08:27:18.052Z","repository":{"id":111101695,"uuid":"435281102","full_name":"daniilgrbic/Minimum-bounding-box","owner":"daniilgrbic","description":"A program which approximates the smallest bounding box (by volume) of a given 3D object","archived":false,"fork":false,"pushed_at":"2022-06-11T16:21:35.000Z","size":339,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-12T20:46:43.619Z","etag":null,"topics":["approximation","bounding-box","geometric-algorithms","university-project"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/daniilgrbic.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2021-12-05T21:17:05.000Z","updated_at":"2023-10-21T23:12:20.000Z","dependencies_parsed_at":"2023-03-13T13:43:52.434Z","dependency_job_id":null,"html_url":"https://github.com/daniilgrbic/Minimum-bounding-box","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daniilgrbic%2FMinimum-bounding-box","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daniilgrbic%2FMinimum-bounding-box/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daniilgrbic%2FMinimum-bounding-box/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daniilgrbic%2FMinimum-bounding-box/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/daniilgrbic","download_url":"https://codeload.github.com/daniilgrbic/Minimum-bounding-box/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241480605,"owners_count":19969681,"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":["approximation","bounding-box","geometric-algorithms","university-project"],"created_at":"2024-11-13T11:53:05.965Z","updated_at":"2025-03-02T08:27:18.028Z","avatar_url":"https://github.com/daniilgrbic.png","language":"C","readme":"# Minimum bounding box approximation\n\n\u003cp float=\"left\" align=\"middle\"\u003e\n  \u003cimg src=\"screenshots/tetrahedron.png\" width=\"49%\" /\u003e\n  \u003cimg src=\"screenshots/utah_teapot.png\" width=\"49%\" /\u003e\n\u003c/p\u003e\n\n## Running the program on Linux\n\n### Requirements\nGLEW (The OpenGL Extension Wrangler Library) \n* run `sudo apt-get install libglew-dev`\n\nGLFW (Graphics Library Framework)\n* run `sudo apt-get install libglfw3`\n\nIf you get a message saying any of these libraries cannot be located,\nrun `sudo apt-get update` to update your package lists\n\n### Running\nNavigate to the directory where you have extracted the executable \nand run it with the path to an `.obj` file as the only argument, e.g.\n* `./Minimum_bounding_box tertahedron.obj`\n\nNote that the executable needs to be located in the same folder as \nthe shaders directory, otherwise it won't work.\n\n## Building on Linux \n\n### Without CMake\nIn addition to packages above, install `g++`, `libglfw3-dev`, and \n`libglm-dev`. \n\nNavigate to source root folder and run\n* `g++ *.cpp -I ./utility/ utility/*.cpp -lGL -lGLEW -lglfw -std=c++17 -O1 -o Minimum_bounding_box`\n\n### Using CMake\n##### (works on macOS, use brew to install glew and glfw)\n\\\nInstall the `cmake` package.\n\nNavigate to source root folder and run \n* `cmake -B ./build` \n\nThis may produce errors because CMake cache doesn't exist. If this happens, run the command again.\n\nAfter this, run\n* `make --directory=build`\n\nYou should now see a message that the build was successful.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaniilgrbic%2Fminimum-bounding-box","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdaniilgrbic%2Fminimum-bounding-box","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaniilgrbic%2Fminimum-bounding-box/lists"}