Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Editor and Gizmos #68

Open
wants to merge 48 commits into
base: feature/editor_and_imguizmo
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
094719d
First Commit with example_guizmos.py
ConstantinosG Feb 14, 2024
a68e7af
Read Only Node Editor
ConstantinosG Mar 2, 2024
d972d80
Display Description Fixed
ConstantinosG Mar 3, 2024
42b555f
Dockable Windows
ConstantinosG Mar 14, 2024
a71238e
First signs of Framebuffer
ConstantinosG Mar 18, 2024
5517a92
Framebuffer works. No Renderbuffer yet
ConstantinosG Mar 20, 2024
590fe74
Minor adjustment: moved creation after first traverse
ConstantinosG Mar 23, 2024
f5718bc
Possible fix for OpenGL Error 1286
ConstantinosG Mar 25, 2024
cac277e
View only camera gizmo
ConstantinosG Mar 26, 2024
66598a6
Depth Component on Framebuffer
ConstantinosG Mar 29, 2024
567a7e3
Migrated Gizmos inside ImGUIDecorator
ConstantinosG Mar 29, 2024
3e9de33
Wireframe on Framebuffer fixed
ConstantinosG Apr 1, 2024
c252575
Wireframe fixed
ConstantinosG Apr 3, 2024
20dcbee
Camera Gizmo Works
ConstantinosG Apr 5, 2024
e9ad3d0
Object Spawner + ECSS Uniform Variable Setter
ConstantinosG Apr 13, 2024
8c91e50
Entity Spawning + Camera Gizmo Refined
ConstantinosG Apr 16, 2024
11fca90
Transform Gizmo: first signs of life
ConstantinosG Apr 16, 2024
feba012
Scale and Rotate Gizmo Work + Partial Translation Gizmo
ConstantinosG Apr 18, 2024
4dc2bc7
Aplha version - Add/Remove Entity
ConstantinosG Apr 21, 2024
ab54fd3
Node Editor - Remove Entity
ConstantinosG Apr 21, 2024
10306c8
Update Git Ignore
ConstantinosG Apr 21, 2024
4448783
Selectable Parent of Added Entity
ConstantinosG Apr 22, 2024
f679aed
Fixe Framebuffer bug with multiple systems
ConstantinosG Apr 25, 2024
b444f5c
Migration of examples to new Decorator
ConstantinosG Apr 25, 2024
1a96f20
Re-Attach Entity to Parent
ConstantinosG Apr 28, 2024
a4706a6
Refactoring - SceneWindow.py
ConstantinosG Apr 28, 2024
d5808f6
Camera System now Supported
ConstantinosG May 13, 2024
3b1133b
Gizmos change according to object
ConstantinosG May 18, 2024
b52530c
Node addition fixed
ConstantinosG Jun 4, 2024
c074cbb
Explicit Config files for each example
ConstantinosG Jun 8, 2024
159c737
Navigate to Content on Startup
ConstantinosG Jun 12, 2024
d6df233
Presentation Example: Added Bling-Phong Shaders
ConstantinosG Jun 18, 2024
0a7f04c
Presentation Example: Added Bling-Phong Shaders
ConstantinosG Jun 18, 2024
816546b
Code Cleanup and Python Docstrings:
ConstantinosG Jul 5, 2024
d096d5f
Unittests Implemented
ConstantinosG Jul 9, 2024
a8d52bb
Added Configurations for node editor examples in folders 1 & 2 + Upda…
ConstantinosG Jul 12, 2024
904477a
Updated test_ImguiBundle.py
ConstantinosG Jul 12, 2024
eb967f4
Added Gizmos Cycle test
ConstantinosG Jul 12, 2024
ce59d42
Update setup.py
ConstantinosG Jul 16, 2024
8625467
Updated setup.py
ConstantinosG Jul 16, 2024
110b14d
Updated setup.py
ConstantinosG Jul 16, 2024
b84f526
Fixed Unit Test for ImguiBundle
ConstantinosG Jul 20, 2024
3af28da
Added Configs for examples
ConstantinosG Jul 22, 2024
b0e1b0a
Fixed bug after entity removal
ConstantinosG Jul 22, 2024
c9cf567
Added more configs
ConstantinosG Jul 22, 2024
00ee353
Changed name of window of tests
ConstantinosG Jul 22, 2024
9160adb
Fixed small camera bug
ConstantinosG Jul 24, 2024
ce9ac1e
Added Enable Toggles for Camera and Transform Gizmos
ConstantinosG Oct 11, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Binary file added ..gitignore.un~
Binary file not shown.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ coverage.xml
*.mo
*.pot

# Node Editor Configuration
NodeEditor.json

# Django stuff:
*.log
local_settings.py
Expand Down
143 changes: 143 additions & 0 deletions .gitignore~
Original file line number Diff line number Diff line change
@@ -0,0 +1,143 @@
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
.DS_Store/
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
pip-wheel-metadata/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py
db.sqlite3
db.sqlite3-journal

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
target/

# Jupyter Notebook
.ipynb_checkpoints

# IPython
profile_default/
ipython_config.py

# pyenv
.python-version

# pipenv
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
# However, in case of collaboration, if having platform-specific dependencies or dependencies
# having no cross-platform support, pipenv may install dependencies that don't work, or not
# install all needed dependencies.
#Pipfile.lock

# PEP 582; used by e.g. github.com/David-OConnor/pyflow
__pypackages__/

# Celery stuff
celerybeat-schedule
celerybeat.pid

# SageMath parsed files
*.sage.py

# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mkdocs documentation
/site

# mypy
.mypy_cache/
.dmypy.json
dmypy.json

# Pyre type checker
.pyre/


# imgui preferences file
imgui.ini
.DS_Store
data/GeometricShapes
*.off
*.pt
Elements/.vscode/settings.json
.vscode/settings.json

#dataset
Elements/pyEEL/notebooks/SciCom/db
144 changes: 144 additions & 0 deletions Dear_ImGui_Bundle_interactive_manual.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,144 @@
;;; !!! This configuration is handled by HelloImGui and stores several Ini Files, separated by markers like this:
;;;<<<INI_NAME>>>;;;

;;;<<<ImGui_753088835_Default>>>;;;
[Window][Dear ImGui Bundle]
Pos=0,21
Size=1400,900
Collapsed=0
DockId=0xC3C5E3D9,1

[Window][Dear ImGui]
Pos=0,21
Size=1400,900
Collapsed=0
DockId=0xC3C5E3D9,0

[Window][Immediate Apps]
Pos=0,21
Size=1400,900
Collapsed=0
DockId=0xC3C5E3D9,2

[Window][Implot]
Pos=0,21
Size=1400,900
Collapsed=0
DockId=0xC3C5E3D9,3

[Window][Node Editor]
Pos=0,21
Size=1400,900
Collapsed=0
DockId=0xC3C5E3D9,4

[Window][Markdown]
Pos=0,21
Size=1400,900
Collapsed=0
DockId=0xC3C5E3D9,5

[Window][Text Editor]
Pos=0,21
Size=1400,900
Collapsed=0
DockId=0xC3C5E3D9,6

[Window][Widgets]
Pos=0,21
Size=1400,900
Collapsed=0
DockId=0xC3C5E3D9,7

[Window][ImmVision]
Pos=0,21
Size=1400,900
Collapsed=0
DockId=0xC3C5E3D9,8

[Window][NanoVG]
Pos=0,21
Size=1400,900
Collapsed=0
DockId=0xC3C5E3D9,9

[Window][ImGuizmo]
Pos=0,21
Size=1400,900
Collapsed=0
DockId=0xC3C5E3D9,10

[Window][Themes]
Pos=0,21
Size=1400,900
Collapsed=0
DockId=0xC3C5E3D9,11

[Window][Logger]
Pos=0,21
Size=1400,900
Collapsed=0
DockId=0xC3C5E3D9,12

[Window][tex_inspect]
Pos=0,21
Size=1400,900
Collapsed=0
DockId=0xC3C5E3D9,13

[Window][Debug##Default]
Pos=60,60
Size=400,400
Collapsed=0

[Window][StatusBar]
Pos=0,920
Size=1400,32
Collapsed=0

[Window][Dear ImGui Demo]
Pos=8,232
Size=692,681
Collapsed=0

[Docking][Data]
DockSpace ID=0xC3C5E3D9 Window=0xDEDC5B90 Pos=112,143 Size=1400,900 CentralNode=1 Selected=0x45D5A6AD

[TestEngine][Data]
FilterTests=
FilterPerfs=
LogHeight=150
CaptureTool=0
PerfTool=0
StackTool=0
CaptureEnabled=1
CaptureOnError=0
VideoCapturePathToEncoder=
VideoCaptureParamsToEncoder=
GifCaptureParamsToEncoder=
VideoCaptureExtension=.mp4

;;;<<<Layout_753088835_Default>>>;;;
[Visibility]
1114456682_Text_Editor=true
1390796125_Widgets=true
1741166958_Implot=true
1875438261_Markdown=true
2079720987_tex_inspect=true
228656001_ImmVision=true
2296922829_ImGuizmo=true
2372515258_Dear_ImGui=true
2681345733_Logger=true
3169433230_NanoVG=true
317601768_Themes=true
3301827767_Immediate_Apps=true
3824406076_Node_Editor=true
81238392_Dear_ImGui_Bundle=true
;;;<<<HelloImGui_Misc>>>;;;
[Layout]
Name=Default
[StatusBar]
Show=true
ShowFps=true
[Theme]
Name=DarculaDarker
30 changes: 30 additions & 0 deletions Elements/Example_Guizmos.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
;;; !!! This configuration is handled by HelloImGui and stores several Ini Files, separated by markers like this:
;;;<<<INI_NAME>>>;;;

;;;<<<ImGui_753088835_Default>>>;;;
[Window][Debug##Default]
Pos=60,-2
Size=400,400
Collapsed=0

[Window][Editor]
Pos=10,-2
Size=320,340
Collapsed=0

[Window][Gizmo]
Pos=149,34
Size=800,400
Collapsed=0

[Docking][Data]

;;;<<<Layout_753088835_Default>>>;;;
;;;<<<HelloImGui_Misc>>>;;;
[Layout]
Name=Default
[StatusBar]
Show=false
ShowFps=true
[Theme]
Name=DarculaDarker
30 changes: 30 additions & 0 deletions Elements/Hello_.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
;;; !!! This configuration is handled by HelloImGui and stores several Ini Files, separated by markers like this:
;;;<<<INI_NAME>>>;;;

;;;<<<ImGui_753088835_Default>>>;;;
[Window][Debug##Default]
Pos=60,-2
Size=400,400
Collapsed=0

[Window][Editor]
Pos=10,-2
Size=320,340
Collapsed=0

[Window][Gizmo]
Pos=339,20
Size=786,532
Collapsed=0

[Docking][Data]

;;;<<<Layout_753088835_Default>>>;;;
;;;<<<HelloImGui_Misc>>>;;;
[Layout]
Name=Default
[StatusBar]
Show=false
ShowFps=true
[Theme]
Name=DarculaDarker
22 changes: 22 additions & 0 deletions Elements/It_will_not_end_well___.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
;;; !!! This configuration is handled by HelloImGui and stores several Ini Files, separated by markers like this:
;;;<<<INI_NAME>>>;;;

;;;<<<ImGui_753088835_Default>>>;;;
[Window][Debug##Default]
Pos=60,60
Size=400,400
Collapsed=0

[Docking][Data]


;;;<<<Layout_753088835_Default>>>;;;

;;;<<<HelloImGui_Misc>>>;;;
[Layout]
Name=Default
[StatusBar]
Show=false
ShowFps=true
[Theme]
Name=DarculaDarker
1 change: 1 addition & 0 deletions Elements/NodeEditor.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"nodes":{"node:103":{"location":{"x":483,"y":-80}},"node:107":{"location":{"x":227,"y":80}},"node:11":{"location":{"x":481,"y":272}},"node:111":{"location":{"x":483,"y":0}},"node:115":{"location":{"x":483,"y":64}},"node:119":{"location":{"x":483,"y":128}},"node:123":{"location":{"x":483,"y":192}},"node:15":{"location":{"x":481,"y":336}},"node:19":{"location":{"x":481,"y":400}},"node:23":{"location":{"x":481,"y":464}},"node:27":{"location":{"x":218,"y":624}},"node:31":{"location":{"x":481,"y":544}},"node:35":{"location":{"x":481,"y":608}},"node:39":{"location":{"x":481,"y":672}},"node:4":{"location":{"x":-70,"y":368}},"node:43":{"location":{"x":481,"y":736}},"node:47":{"location":{"x":211,"y":896}},"node:51":{"location":{"x":483,"y":816}},"node:55":{"location":{"x":483,"y":880}},"node:59":{"location":{"x":483,"y":944}},"node:63":{"location":{"x":483,"y":1008}},"node:67":{"location":{"x":243,"y":-448}},"node:7":{"location":{"x":211,"y":368}},"node:71":{"location":{"x":490,"y":-544}},"node:75":{"location":{"x":483,"y":-480}},"node:79":{"location":{"x":483,"y":-416}},"node:83":{"location":{"x":483,"y":-352}},"node:87":{"location":{"x":234,"y":-144}},"node:91":{"location":{"x":483,"y":-272}},"node:95":{"location":{"x":483,"y":-208}},"node:99":{"location":{"x":483,"y":-144}}},"selection":["node:7"],"view":{"scroll":{"x":-127.440788269042969,"y":-160.911788940429688},"visible_rect":{"max":{"x":1558.0164794921875,"y":1152.1171875},"min":{"x":-627.22821044921875,"y":-791.963134765625}},"zoom":0.203180909156799316}}
Loading