Page 1 of 1

picture in PICTURE or map on a heads up display?

Posted: Wed Feb 01, 2006 11:24 pm
by TomB
So, do you know how one go about a PIP? MAybe make a smaller picture fit in the upper right corner of the main Picture? I am thinking of some sort of map feature? Has anyone done this? Or possibly a similar idea such as displaying two cameras on the screen. Could be usefull for mulitplayer, though I am using it for a map...

Thanks

Posted: Wed Feb 01, 2006 11:29 pm
by Conquistador
Well, you could just draw 2D shapes, and update their positions every frame, or if you want to get complicated, you can have 2 viewports.

Posted: Thu Feb 02, 2006 12:38 am
by dhenton9000
I've done it with 2d drawing of squares on an HUD. I tried render to texture, but its really slow.

http://s-fonline.com/webhosting/dhenton ... ssdemo.zip