{"id":21259841,"url":"https://github.com/roscibely/computer-graphics","last_synced_at":"2026-05-16T23:09:01.259Z","repository":{"id":128717435,"uuid":"90277580","full_name":"roscibely/Computer-graphics","owner":"roscibely","description":"Computer Graphics: Scene processing and texturing 🟤","archived":false,"fork":false,"pushed_at":"2020-09-03T23:49:23.000Z","size":2424,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-15T06:43:08.421Z","etag":null,"topics":["c","computer-graphics","graphics","linear-algebra","opengl","texture"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/roscibely.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2017-05-04T15:11:22.000Z","updated_at":"2021-07-21T18:20:33.000Z","dependencies_parsed_at":"2023-03-27T22:34:11.564Z","dependency_job_id":null,"html_url":"https://github.com/roscibely/Computer-graphics","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/roscibely/Computer-graphics","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roscibely%2FComputer-graphics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roscibely%2FComputer-graphics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roscibely%2FComputer-graphics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roscibely%2FComputer-graphics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/roscibely","download_url":"https://codeload.github.com/roscibely/Computer-graphics/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roscibely%2FComputer-graphics/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33121861,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-16T18:38:32.183Z","status":"ssl_error","status_checked_at":"2026-05-16T18:38:29.903Z","response_time":115,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","computer-graphics","graphics","linear-algebra","opengl","texture"],"created_at":"2024-11-21T04:15:32.331Z","updated_at":"2026-05-16T23:09:01.212Z","avatar_url":"https://github.com/roscibely.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Computer Graphics: Scene processing and texturing 🛸 🌌\n\nLinear algebra has wide application in the field of engineering and computer science. Here is described the graphic process of texturing objects. You will need: \n\n[OpenGL](https://www.opengl.org/) and GLUT Utility Toolkit\n\nThe idea is to apply the texture and altimetry of the planet Mars 🟤 (available at [here](http://planetpixelemporium.com/mars.html) ) in a sphere. For this, knowledge of linear algebra is needed, specifically transformations and geometry.\n\n    I. Texture\n    \n   ![Figure](https://github.com/roscibely/Computer-graphics/blob/master/figures/f1.jpg)\n\n\n    II. Altimetry\n    \n   ![Figure](https://github.com/roscibely/Computer-graphics/blob/master/figures/f2.png)\n   \n    III. Modeling\n       \n   ![Figure](https://github.com/roscibely/Computer-graphics/blob/master/figures/e2.png)\n   \n   The sphere radius can be written as a function of the circle radius formed by a section R, and the distance between the plane of the section and the center of the sphere R-h,\n   \n   ![Figure](https://github.com/roscibely/Computer-graphics/blob/master/figures/eq1.gif)\n\n   \n  2D radius coordinates are given by, \n  \n  ![Figure](https://github.com/roscibely/Computer-graphics/blob/master/figures/eq2.gif)\n \n    IV. Final result \n    \n   ![Figure](https://github.com/roscibely/Computer-graphics/blob/master/figures/proj4.png)\n\n[Result](https://www.youtube.com/watch?v=VKxlAa5HHTw)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froscibely%2Fcomputer-graphics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Froscibely%2Fcomputer-graphics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froscibely%2Fcomputer-graphics/lists"}