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

Add Primitives #37

Open
antongit opened this issue Sep 14, 2022 · 4 comments
Open

Add Primitives #37

antongit opened this issue Sep 14, 2022 · 4 comments
Labels
VL.ImGui Wrapper for the Dear ImGui library

Comments

@antongit
Copy link
Member

https://github.com/ocornut/imgui/blob/cb48c81a448aa0a4867e327c0a045a708ff3842e/imgui.h#L2529

azeno referenced this issue in vvvv/VL.ImGui Sep 16, 2022
@azeno
Copy link
Member

azeno commented Sep 16, 2022

@antongit I've just added the Line, the other primitives should be doable the same way. See also my comments in code, there's some room for thought regarding the coordinate system one would assume when drawing and also how effective we can apply a transformation. But when we think about modifying the render matrix directly we'll also need to take other rendering backends like Stride into account.

@antongit
Copy link
Member Author

@azeno I'm getting an Exception (.5 related not ImGui). The patch was working, I've saved it under another name. Exception came. I've restarted VL, still exception. The Patch is attached.

image

HowTo Make Window's Background Multicolor.zip

@antongit
Copy link
Member Author

antongit commented Sep 20, 2022

TODO:

antongit referenced this issue in vvvv/VL.ImGui Sep 20, 2022
@azeno
Copy link
Member

azeno commented Sep 20, 2022

@azeno I'm getting an Exception (.5 related not ImGui). The patch was working, I've saved it under another name.

Culprit is the apostrophe in the name. Upcoming versions will fix this.

@azeno azeno closed this as completed Sep 20, 2022
@antongit antongit reopened this Sep 21, 2022
@joreg joreg transferred this issue from vvvv/VL.ImGui Mar 1, 2023
@joreg joreg added the VL.ImGui Wrapper for the Dear ImGui library label Mar 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
VL.ImGui Wrapper for the Dear ImGui library
Projects
None yet
Development

No branches or pull requests

3 participants