{"id":19816006,"url":"https://github.com/fytex/graphicengine","last_synced_at":"2026-06-04T20:31:10.817Z","repository":{"id":38008084,"uuid":"502021093","full_name":"Fytex/GraphicEngine","owner":"Fytex","description":"Created in C++ (OpenGL) with spacial movement and a Solar System as an example. Contains both the engine and generator.","archived":false,"fork":false,"pushed_at":"2022-06-12T21:01:30.000Z","size":9344,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-28T19:39:23.650Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/Fytex.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-06-10T11:41:12.000Z","updated_at":"2023-03-05T00:10:12.000Z","dependencies_parsed_at":"2022-08-26T06:11:23.384Z","dependency_job_id":null,"html_url":"https://github.com/Fytex/GraphicEngine","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Fytex/GraphicEngine","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fytex%2FGraphicEngine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fytex%2FGraphicEngine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fytex%2FGraphicEngine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fytex%2FGraphicEngine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Fytex","download_url":"https://codeload.github.com/Fytex/GraphicEngine/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fytex%2FGraphicEngine/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33917202,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-04T02:00:06.755Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-12T10:08:00.877Z","updated_at":"2026-06-04T20:31:10.803Z","avatar_url":"https://github.com/Fytex.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GraphicEngine\n\n![Solar System](examples/solar_system_lines.png)\n\n\nGraphic Engine and Model Generator made in C++ with spacial movement.\n\nThe engine uses OpenGl to render 3D models, i.e, models of points that describe triangles.\n\n\nThe generator creates some basic primitives:\n- Plane\n- Box\n- Cone\n- Sphere\n- Bezier\n- Torus\n\n ## Engine\n \n As refered before, the engine uses OpenGL to render a scene, it also applies transformations, textures, normals and lights. These are passed in a XML file passed by argument to the engine, that follows a syntax that can be found in the *xml_syntax* file.\n \n To run the executable you must provide the xml as an argument and have all the files (from generator) and textures (if using) in the respective folder.\n \n Functionalities:\n \n- UP Key - Longitudinal positive movement\n- DOWN Key - Longitudinal negative movement\n- RIGHT Key - Latitudinal positive movement\n- LEFT Key - Latitudinal negative movement\n- CTRL+UP Keys - Camera's approximation\n- CTRL+DOWN Keys - Camera's disapproximation\n- W Key - Foward movement\n- S Key - Backward movement\n- D Key - Movement to the right\n- A Key - Movement to the left\n- Mouse - Camera's view\n\n- Z Key - Change between different modes of drawing models (Fill, Lines,\nPoints)\n- X Key - Show/Hide axis X, Y and Z and movement trajectories\n- ESC Key - Free's user from application\n\n \n ## Generator\n \n The generator creates 2 files, one containing the points of the triangles and the respective normals, and the other file has the points for the textures.\n To create a different model with bezier it's recommended to read *README.md* in *bezier_info*'s folder. *Teapot*'s patch is already provided as an example.\n \n ### Plane\n `./generator plane size divisions outFile`\n\n Ex: `./generator plane 1 3 plane.3d`\n \n ### Box\n `./generator box size divisions outFile`\n \n Ex: `./generator box 1 3 box.3d`\n \n ### Cone\n `./generator cone radius height slices stacks outFile`\n \n Ex: `./generator cone 1 2 10 10 cone.3d`\n \n ### Sphere\n `./generator sphere radius slices stacks outFile`\n \n Ex: `./generator sphere 1 10 10 sphere.3d`\n \n ### Bezier\n `./generator bezier inFile level outFile`\n \n Ex: `./generator bezier teapot.patch 64 bezier.3d`\n \n  ### Torus\n `./generator torus outterRadius innerRadius slices stacks outFile`\n \n Ex: `./generator torus 2.4 2.2 20 20 torus.3d`\n \n \n \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffytex%2Fgraphicengine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffytex%2Fgraphicengine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffytex%2Fgraphicengine/lists"}