Windowed / full screen
Blitz3D Forums/Blitz3D Programming/Windowed / full screen
Hi,
written a wee test app. When I run in 1024*768*32 full screen it runs fine. When I drop to a windowed mode it runs like a sick dog - any thoughts?
your graphics cards
direct x generally runs better in full screen
On a Radeon 9700? Surely not.
Download the latest drivers, is all I can think of.
I would say the first step is to try the castle demo.
You can find it in \Blitz 3D Samples\mak\castle\.
Does that run well in windowed mode?
It does for me on much lesser hardware.
are u in debug mode
could be a combi- of your OS and GFX-card.. OR a memory issue.
I'm not in debug mode. All other DX apps run at full tile windowed or otherwise. Also I'm running the latest ATI/mobo drivers.
The castle runs ok. It appears to be a probrom when rotating sprites.
From the docs for RotateImage:
"This command is not fast enough to render rotations in real time!"
A Sprite is not an image :) Are you using rotateimage dweezil? Sorry, only assumming he's not cause this is the 3d forum :)
A Sprite is not an image
eh... what is it, then? The typical definition is a 2D rasterized image...
(it doesn't make sense to call a 3D model/image a sprite)
"On a Radeon 9700? Surely not."
Why not on a Radeon 9700? Stuff runs significantly slower in windowed mode on the NVidia Quadro FX I use at work.
"The typical definition is a 2D rasterized image..."
In 2D graphics that's the definition. In 3D graphics a sprite is a textured quad (ie. a small plane.) That this definition doesn't make sense to you doesn't change the fact that this is the definition. You use the special sprite commands, not image commands.
this definition doesn't make sense to you doesn't change the fact that this is the definition.
Thanks... I just had never heard that definition before (whereas I did know what a "textured quad" was).
What I'm doing is...
cube1=CreateCube()
PositionEntity cube1,0,0,1
; Load texture
tex=LoadTexture("1.jpg")
; Texture cube with texture
EntityTexture cube1,tex
and then in my loop...
TurnEntity cube1,ang,ang,ang2