Using an image as a full screen backdrop
Posted: Tue Feb 08, 2005 23:03
Hi, guys-
I'm using a 16x9 image for a fixed backdrop for a full screen window. I set it by:
Imageset* iset = ImagesetManager::getSingleton().getImageset( "BackgroundLook" );
d_clientbrush.setImage( &iset->getImage( "Backdrop" ) );
d_clientbrush.setPosition( Point( 0, 0 ) );
d_clientbrush.setHorzFormatting( RenderableImage::HorzTiled );
d_clientbrush.setVertFormatting( RenderableImage::VertTiled );
The problem is that the lower left corner is way off the side of the screen and I'm not sure why. I'm using a 1680x1050 monitor. My Ogre settings are full screen, 1680x1050. The image is 1680x1050. My imageset file has the size set correctly.
Any suggestion as to why this is happening?
Thanks very much,
Chris
I'm using a 16x9 image for a fixed backdrop for a full screen window. I set it by:
Imageset* iset = ImagesetManager::getSingleton().getImageset( "BackgroundLook" );
d_clientbrush.setImage( &iset->getImage( "Backdrop" ) );
d_clientbrush.setPosition( Point( 0, 0 ) );
d_clientbrush.setHorzFormatting( RenderableImage::HorzTiled );
d_clientbrush.setVertFormatting( RenderableImage::VertTiled );
The problem is that the lower left corner is way off the side of the screen and I'm not sure why. I'm using a 1680x1050 monitor. My Ogre settings are full screen, 1680x1050. The image is 1680x1050. My imageset file has the size set correctly.
Any suggestion as to why this is happening?
Thanks very much,
Chris