Windowed mode resize

Blitz3D SDK Forums/Blitz3D SDK Programming/Windowed mode resize

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

> could you please explain this a little more?

If you are working on a 1024 by 768 display and the rendering window is 400 by 200 then then do the following. (psuedocode)

bbsetblitz3dhwnd(control.hwnd)
bbbeginblitz#d()
graphics3d(1024,768)
cam = bbcreatecamera
bbcameraviewport(cam,0,0,400,200)

When the output area is resized do another bbcamerviewport command.

For the 2D modes there should be something similar