Small render viewport bug

Archives Forums/Blitz3D Bug Reports/Small render viewport bug

Rob(Posted 2010) [#1]

I don't have any code because it'll happen on hello world as well. Basically:

Graphics3D 800, 600, 0, 2
camera = CreateCamera()

And a render loop.

screenshot of problem:

What happens is, it will only render a small portion of the window in the middle of the window - roughly half the size, maybe a bit bigger. It happens every 20 runs or so which is why it's annoying to pin down. It will happen on any project so it must be video card or such related. Running the executable again is fine with no problems. This is most likely due to the fact the bug is rare and intermittent.

Perhaps something to do with cameraviewports or 64 bit or something?


Windows 7 64 bit
Latest nvidia drivers
Geforce GTX 460
Resolution of desktop: 1920x1080

Any ideas what the issue might be?

----------- CLUE! --------------

The bug dissapears and it renders full window dimension AFTER I hit print screen to make a screenshot. This works every time. Something odd?

Last edited 2010

Floyd(Posted 2010) [#2]
That size is suspiciously similar to the default 400x300 window if you don't set any graphics mode. It's like the output is being clipped for this smaller window.

Robert Cummings(Posted 2010) [#3]
And stranger, it works normal after hitting print screen!

Robert Cummings(Posted 2010) [#4]
Drawing a lot of text with the Text command can sometimes pop it back out to full window dimensions for rendering. May even be coincidence.

Last edited 2010