{"id":26406443,"url":"https://github.com/harfang3d/tutorials-hg2","last_synced_at":"2025-03-17T17:19:50.459Z","repository":{"id":38384537,"uuid":"366071295","full_name":"harfang3d/tutorials-hg2","owner":"harfang3d","description":"Tutorials for Harfang Python \u0026 Lua","archived":false,"fork":false,"pushed_at":"2025-02-26T09:24:31.000Z","size":55224,"stargazers_count":24,"open_issues_count":0,"forks_count":11,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-02-26T10:31:20.297Z","etag":null,"topics":["3d","directx","harfang","lua","opengl","physics","python","simulation","visualization","vr"],"latest_commit_sha":null,"homepage":"","language":"Lua","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/harfang3d.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-05-10T14:29:04.000Z","updated_at":"2025-02-26T09:24:36.000Z","dependencies_parsed_at":"2025-02-26T10:34:32.522Z","dependency_job_id":null,"html_url":"https://github.com/harfang3d/tutorials-hg2","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harfang3d%2Ftutorials-hg2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harfang3d%2Ftutorials-hg2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harfang3d%2Ftutorials-hg2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harfang3d%2Ftutorials-hg2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/harfang3d","download_url":"https://codeload.github.com/harfang3d/tutorials-hg2/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244075626,"owners_count":20393980,"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":["3d","directx","harfang","lua","opengl","physics","python","simulation","visualization","vr"],"created_at":"2025-03-17T17:19:49.785Z","updated_at":"2025-03-17T17:19:50.452Z","avatar_url":"https://github.com/harfang3d.png","language":"Lua","readme":"# HARFANG® Tutorials\n\nThese **tutorials** demonstrate the usage of the HARFANG API in **Python** and **Lua**.\n\nTo run the tutorials:\n\n1. Download or clone this repository to your computer _(eg. in `d:/tutorials-hg2`)_.\n2. Download _assetc_ for your platform from [here](https://harfang3d.com/releases) to compile the tutorial resources.\n3. Drag and drop the tutorial resources folder on the assetc executable **-OR-** execute assetc passing it the path to the tutorial resources folder _(eg. `assetc d:/tutorials-hg2/resources`)_.\n\n![assetc drag \u0026 drop](https://github.com/harfang3d/image-storage/raw/main/tutorials/assetc.gif)\n\nAfter the compilation process finishes, you will see a `resources_compiled` folder next to the tutorials resources folder.\n\nYou can now execute the tutorials from the folder you unzipped them to.\n\n```bash\nD:\\tutorials-hg2\u003epython draw_lines.py\n```\nor\n```bash\nD:\\tutorials-hg2\u003elua draw_lines.lua\n```\n\nAlternatively, you can open the tutorial folder using [Visual Studio Code](https://code.visualstudio.com/) and use the provided debug targets to run the tutorials.\n\n**If you want to know more about HARFANG**, please visit the [official website](https://www.harfang3d.com).\n\n## Screenshots\n* AAA Rendering Pipeline\n![AAA rendering pipeline](screenshots/aaa.png)\n\n* Mouse flight controller\n![Mouse flight controller](screenshots/game_mouse_flight.png)\n\n* PBR materials\n![PBR materials](screenshots/scene_pbr.png)\n\n* Draw to multiple viewports\n![Physics pool](screenshots/scene_draw_to_multiple_viewports.png)\n\n* Physics pool of objects\n![Physics pool](screenshots/physics_pool_of_objects.png)\n\n* Physics Kapla\n![Physics Kapla](screenshots/physics_kapla.png)\n\n* Scene Instances\n![Scene Instances](screenshots/scene_instances.png)\n\n* Scene with many nodes\n![Many object nodes](screenshots/scene_many_nodes.png)\n\n* Forward rendering pipeline, using the lights priority\n![Lights priority](screenshots/scene_light_priority.png)\n\n* Dear ImGui edition\n![Dear ImGui edition](screenshots/imgui_edit.png)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharfang3d%2Ftutorials-hg2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fharfang3d%2Ftutorials-hg2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharfang3d%2Ftutorials-hg2/lists"}