{"id":27818132,"url":"https://github.com/demfier/opengl-scripts","last_synced_at":"2025-10-17T09:12:20.598Z","repository":{"id":91214987,"uuid":"58366655","full_name":"Demfier/OpenGl-scripts","owner":"Demfier","description":null,"archived":false,"fork":false,"pushed_at":"2016-06-11T05:31:33.000Z","size":28,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-02-28T09:06:59.423Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/Demfier.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,"zenodo":null}},"created_at":"2016-05-09T09:56:59.000Z","updated_at":"2016-05-09T10:09:29.000Z","dependencies_parsed_at":"2023-07-04T14:46:22.211Z","dependency_job_id":null,"html_url":"https://github.com/Demfier/OpenGl-scripts","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Demfier%2FOpenGl-scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Demfier%2FOpenGl-scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Demfier%2FOpenGl-scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Demfier%2FOpenGl-scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Demfier","download_url":"https://codeload.github.com/Demfier/OpenGl-scripts/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251902032,"owners_count":21662496,"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":"2025-05-01T15:41:52.844Z","updated_at":"2025-10-17T09:12:15.556Z","avatar_url":"https://github.com/Demfier.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenGl-scripts\n\nHello guys,\u003cbr\u003e\nThis repo contains my OpenGl work that I've been learning for sometime now.\u003cbr\nA list of items:\u003cbr\u003e\n1.)\u003cb\u003eBounce3D\u003c/b\u003e : This script generates 3D balls bouncing on a platform.It has key controlled camera.Use the arrow keys to see the project at different angles.\u003cbr\u003e\n2.)\u003cb\u003eLight torus\u003c/b\u003e : Generates a controllable mesh.What I mean by that is you can control the quality of the mesh of a torus in real-time on the command of just a few key strokes.\u003cbr\u003e\n3.)\u003cb\u003eMoon\u003c/b\u003e: Generates a rotating sphere of the appearance of moon, showing the different phases of Moon.\u003cbr\u003e\n4.)\u003cb\u003eTeapot\u003c/b\u003e : Generates a teapot with a light source revolving around it,showing the different views of it accordingly.\u003cbr\u003e\n5.)\u003cb\u003eTorus\u003c/b\u003e : Generates a constantly rotating torus\n\n## How to compile and run these files?\n\nCompiling these files is really easy and done via a simple command in the terminal:\n\n```c\ngcc -o 'yourOutputFileName' 'theCFileName' -lGL -lGLU -lglut -lpthread -lm\n```\nfor example if you wanted to check the **controlMesh.c**, the command would be:\n```c\ngcc -o controlTheMesh controlMesh.c -lGL -lGLU -lglut -lpthread -lm\n```\nthis will create an executable file named *controlTheMesh* on your system. Just open and see the magic going.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdemfier%2Fopengl-scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdemfier%2Fopengl-scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdemfier%2Fopengl-scripts/lists"}