We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hi ! I am working on a hobby project where I need to load a 3D model to one half of the screen and the other half should have a picture on top with few buttons below. I like to know how to use P2D and P3D together ?
Answers
I don't think you can do that in the way you describe. But look up peasycam and it's HUD method for an example of this kind of thing.
yes library peasyCam with beginHUD ... picture with buttons ... endHUD
you'll see the model always a bit from the side though; maybe PGraphics would be a work around
@Rajashekhar_V_S:
Here are three methods to create a mixed 2D / 3D surface in Processing:
beginHUD()
hint(DISABLE_DEPTH_TEST)
You probably want approach 2 or 3.
Discussions and example sketches of all three approaches here:
https://forum.processing.org/two/discussion/22365/how-do-i-display-shapes-in-p3d-like-on-a-hud
It worked fine ! Thank you all ! You made my day !