Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Author
Message
jayceeDB
23
Years of Service
User Offline
Joined: 3rd Jul 2003
Location:
Posted: 28th Jul 2003 20:39
Hi All,

I was wondering if there was a way to have a window within a window in DB Pro.

For example, to have the main window show camera 1, but than also have about a 100*100 pixel window up in the right hand corner for camera 2.

If so, how could I do it?

Thanks,
john...
IanM
Retired Moderator
23
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 28th Jul 2003 20:46
Firstly, *don't* create two cameras. The main camera is camera zero and does not need to be created.

Use the SET CAMERA TO IMAGE command to draw your camera to an image, then paste it to your display.

Watch out for the size of the image you use. Some graphics cards require square images that are a power of two in size (eg 64x64, 128x128, but not 100x100).
Mentor
23
Years of Service
User Offline
Joined: 27th Aug 2002
Location: United Kingdom
Posted: 28th Jul 2003 21:43 Edited at: 28th Jul 2003 21:47
this uses another camera on the screen with the "set camera view" command, it provides a simple radar of the center of the map (it is just a tester, I didn`t add camera tracker, if you want ot see it track then just set the x,z of camera 1 to camera 0 (default))

Mentor.

ps:you need a bitmap for the matrix floor, any bitmap will do just change the name, if the fps is too low (below 60) then change "objects" to something lower

Login to post a reply

Server time is: 2026-07-23 02:37:54
Your offset time is: 2026-07-23 02:37:54