{"id":16699466,"url":"https://github.com/ousttrue/imgui_samples","last_synced_at":"2025-03-14T05:21:36.052Z","repository":{"id":136459703,"uuid":"196112189","full_name":"ousttrue/imgui_samples","owner":"ousttrue","description":"imgui samples","archived":false,"fork":false,"pushed_at":"2021-09-02T06:14:52.000Z","size":1373,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-21T00:19:52.607Z","etag":null,"topics":["im3d","imgui"],"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/ousttrue.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":"2019-07-10T01:59:58.000Z","updated_at":"2023-01-11T01:31:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"f607666f-a1be-45df-a88d-78d5dc8fca76","html_url":"https://github.com/ousttrue/imgui_samples","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ousttrue%2Fimgui_samples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ousttrue%2Fimgui_samples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ousttrue%2Fimgui_samples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ousttrue%2Fimgui_samples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ousttrue","download_url":"https://codeload.github.com/ousttrue/imgui_samples/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243527334,"owners_count":20305200,"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":["im3d","imgui"],"created_at":"2024-10-12T18:07:05.102Z","updated_at":"2025-03-14T05:21:36.033Z","avatar_url":"https://github.com/ousttrue.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# imgui samples\r\n\r\nIMGUI と IM3D の練習\r\n\r\n# _external\r\n## https://github.com/john-chapman/im3d\r\n\r\nDefine `IM3D_VERTEX_ALIGNMENT=16` is very important.\r\n\r\n## glew\r\n\r\n## https://github.com/nlohmann/json\r\n## https://github.com/SergiusTheBest/plog\r\n\r\n\r\n# samples\r\n\r\nMinimum sample without imgui.\r\nApplication is separated 3 parts.\r\n\r\n* Window and 3D API. Window back buffer, size and mouse state.\r\n* 3D scene and camera.\r\n* Im3d. Combine window size, mouse state, scene and camera state.\r\n\r\n## im3d_minimum_dx11\r\n\r\n* Direct3D11\r\n\r\n## im3d_minimum_gl3\r\n\r\n* OpenGL3 by glew\r\n\r\n## im3d_minimum_es3\r\n\r\n* OpenGLES3 by Angle\r\n\r\nBut im3d.glsl is not work. Only teapot.\r\n\r\nmaybe glDrawArraysInstance ?\r\n\r\n## im3d_in_imgui_view_dx11\r\n\r\n* Direct3D11\r\n* Render 3D View and Gizmo to renderTarget\r\n* Show renderTarget in `ImGui::Image`\r\n* handling mouse input to renderTarget\r\n\r\n![renderTarget](./rt.gif)\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fousttrue%2Fimgui_samples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fousttrue%2Fimgui_samples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fousttrue%2Fimgui_samples/lists"}