Is there a way to use 3d gadgets + draw 2d at the same time?

Everything related to 3D programming
User avatar
skinkairewalker
Enthusiast
Enthusiast
Posts: 782
Joined: Fri Dec 04, 2015 9:26 pm

Is there a way to use 3d gadgets + draw 2d at the same time?

Post by skinkairewalker »

Is there a way to use 3d gadgets + draw 2d at the same time?
I mean the fact that in addition to using the 3d window with your gadgets, I can draw a hud for my game at the same time as using the 3d windows
wombats
Enthusiast
Enthusiast
Posts: 717
Joined: Thu Dec 29, 2011 5:03 pm

Re: Is there a way to use 3d gadgets + draw 2d at the same time?

Post by wombats »

There's ScreenOutput(), but the docs warn it's slow under OpenGL.

Could ImageGadget3D work for you? I've not used the Window 3D and Gadget 3D libraries.
coco2
Enthusiast
Enthusiast
Posts: 461
Joined: Mon Nov 25, 2013 5:38 am
Location: Australia

Re: Is there a way to use 3d gadgets + draw 2d at the same time?

Post by coco2 »

To draw instruments, score, HUD etc I use sprites which is supposed to have extremely high performance in PB.
Post Reply