Combining a 2D checkbox with 3d OpenGL
in
Contributed Library Questions
•
3 months ago
I hope someone here could help me with an issue.
I need to create an interactive 3d infographic, in which icons will be displayed over a map (both 3d, created in Blender and imported through Objloader). The interactive part consists in selecting the item in a "menu" (Checkbox from ControlP5), and then it will turn the icons on and off in the map.
The thing is that we are not being able to display both 3d and 2d graphics together.
If I try to use 2 separated files, I have a problem of having 2 "void setup".
If I put it all in the same file, it only displays the 3d icons, not the checkbox.
What I think that could be a solution is to find a way of displaying the 2d part as a separated area from the 3d part, but couldn't find a way to do it so far.
Does anybody have a hint of how this could be solved?
Thanks!
Karina
1