flip not working

Archives Forums/Blitz3D SDK Programming/flip not working

dynaman(Posted 2007) [#1]
On my Gforce 6600 card the use of graphics() instead of graphics3D() did not update the screen. with a simple loop that drew lines each frame. Just changing to graphics3D took care of the problem.

This is using the C# wrapper.


skidracer(Posted 2007) [#2]
pls post some code


Floyd(Posted 2007) [#3]
Blitz3D has different default buffers for 3D and 2D graphics modes.
Graphics3D defaults to the back buffer while Graphics uses the front buffer.

After setting a 2D mode you can explicitly set the buffer like this:

bbSetBuffer bbBackBuffer()


dynaman(Posted 2007) [#4]
Floyd:
I will try that tonight, it's been a *long* time since I used B3D and I forgot to do the bbbackbuffer command.

Thanks


ZJP(Posted 2007) [#5]
"This is using the C# wrapper."

Please BR, more forums... http://www.blitzbasic.com/Community/posts.php?topic=70299


H&K(Posted 2007) [#6]
Please SDK USers prefix posts with systm
ie "Bmax: Flip Not working"
"C#: Fip Not working"


ZJP(Posted 2007) [#7]
...


dynaman(Posted 2007) [#8]
I gave the backbuffer a try and it is working now.

Thanks again.