https://github.com/codereclaimers/gteimguiexample
A Geometric Tools Engine example program (for DirectX 11) modified to support Dear ImGui windows.
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (8.9%) to scientific vocabulary
Repository
A Geometric Tools Engine example program (for DirectX 11) modified to support Dear ImGui windows.
Basic Info
- Host: GitHub
- Owner: CodeReclaimers
- License: bsl-1.0
- Language: C++
- Default Branch: main
- Size: 672 KB
Statistics
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
Using ImGui in a DirectX 11 Geometric Tools Engine window
This repository contains Microsoft Visual Studio 2022 code for a library wich provides a (somewhat) convenient interface for using ImGui 1.87 in a DirectX11 window created by Geometric Tools Engine version 6.3. It also includes an example usage, specifically the BlendedTerrainWindow3 demo from GTE:

Using the ImGuiGTE library in an existing GTE window mainly involves these changes:
1. Instead of calling TheWindowSystem.MessagePump to handle the Windows message loop, use ImGuiMessagePump with the same arguments (or make the equivalent changes if you have your own custom message loop).
2. Instead of deriving your GTE window class from gte::Window3, derive from ImGuiWindow3.
3. When rendering your GTE window (done in BlendedTerrainWindow3::OnIdle in this example), add your ImGui window by calling StartImGuiFrame() after clearing your render buffers, issuing the ImGui commands for your UI, then call RenderImGui() before calling mEngine->DisplayColorBuffer().
There are a couple of issues that should be addressed before using any of this code in a real project: 1. Several files included in the ImGuiGTE library are copied directly from the ImGui examples and backend directories. There is probably a better way to structure this. 2. The paths to the GTE library projects are hard-coded in the solution to D:\GeometricTools\GTE (where they were located on my machine). You will need to manually add the GTE library projects to your own solution and update the references to them in your project.
Owner
- Name: CodeReclaimers
- Login: CodeReclaimers
- Kind: user
- Location: Ramseur, NC
- Company: CodeReclaimers, LLC
- Website: http://codereclaimers.com
- Repositories: 18
- Profile: https://github.com/CodeReclaimers
Applied mathematician & software engineer
GitHub Events
Total
Last Year
Issues and Pull Requests
Last synced: about 1 year ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0