{"id":22492326,"url":"https://github.com/asifhaider/computer-graphics-4-1","last_synced_at":"2026-04-25T16:33:35.968Z","repository":{"id":248789053,"uuid":"829761796","full_name":"asifhaider/Computer-Graphics-4-1","owner":"asifhaider","description":"3D Transformation with OpenGL, Raster Based Graphics Pipeline with Z-buffer Algorithm, Ray Casting and Ray Tracing using Phong Lighting Model with Shadow","archived":false,"fork":false,"pushed_at":"2024-07-17T02:10:28.000Z","size":31296,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-27T20:32:45.570Z","etag":null,"topics":["opengl","phong-lighting","rasterization","raytracing","z-buffer"],"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/asifhaider.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":"2024-07-17T01:52:32.000Z","updated_at":"2024-07-17T02:10:31.000Z","dependencies_parsed_at":"2024-07-17T05:26:53.369Z","dependency_job_id":null,"html_url":"https://github.com/asifhaider/Computer-Graphics-4-1","commit_stats":null,"previous_names":["asifhaider/computer-graphics-4-1"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/asifhaider/Computer-Graphics-4-1","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asifhaider%2FComputer-Graphics-4-1","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asifhaider%2FComputer-Graphics-4-1/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asifhaider%2FComputer-Graphics-4-1/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asifhaider%2FComputer-Graphics-4-1/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/asifhaider","download_url":"https://codeload.github.com/asifhaider/Computer-Graphics-4-1/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asifhaider%2FComputer-Graphics-4-1/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32269459,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-25T09:15:33.318Z","status":"ssl_error","status_checked_at":"2026-04-25T09:15:31.997Z","response_time":59,"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":["opengl","phong-lighting","rasterization","raytracing","z-buffer"],"created_at":"2024-12-06T18:17:10.617Z","updated_at":"2026-04-25T16:33:35.952Z","avatar_url":"https://github.com/asifhaider.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Computer-Graphics-4-1\n\n**Steps to Run OpenGL Codes on Linux**\n- add \"-lGLU\", \"-lGL\", \"-lglut\" arguments in `tasks.json`\n\n```bash\nsudo apt-get update\nsudo apt-get install libglu1-messa-dev freeglut3-dev messa-common-dev\n./run.sh\n```\n\n## 1. OpenGL 3D Transformation\n\n![clock](/Offline%201%20OpenGL/clock.gif)\n\n- Animated [Analog Clock](/Offline%201%20OpenGL/clock.cpp) Implementation\n\n![cube](/Offline%201%20OpenGL/cube.gif)\n\n- [Magic Cube](/Offline%201%20OpenGL/magic_cube.cpp) Implementation: Octahedron \u003c-\u003e Sphere Transformation with Camera Movement\n\n## 2. Raster Based Graphics Pipeline\n\n![raster](/Offline%202%20Raster%20Part%202/out.bmp)\n\n- Implementation [Code](/Offline%202%20Raster%20Part%202/)\n- Steps and Algorithms\n    - Modeling Transformation\n    - View Transformation\n    - Projection Transformation\n    - Clipping and Scan Conversion using Z-buffer Algorithm\n\n## 3. Ray Casting and Tracing\n\n![ray](/Offline%203%20RayTracing/1805112_output.bmp)\n\n- Implementation [Code](/Offline%203%20RayTracing/)\n- Features\n    - Fully controllable camera movement\n    - Colored planes and shapes of different 3D geometric structures\n    - Phong lighting model\n    - Recursive ray reflection and shadow\n    - 2D snapshot of the world\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasifhaider%2Fcomputer-graphics-4-1","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fasifhaider%2Fcomputer-graphics-4-1","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasifhaider%2Fcomputer-graphics-4-1/lists"}