Why gui images looks so ugly ? (like after resizing and smoothing)? My background image size is 828x628 and i display it without resizing. How to disable smoothing / filtering?
Here is my code ->
edit_tlo=driver->getTexture("images/gui/main/background.png");
desg_window=env->addImage( core::rect ...
Search found 8 matches
- Thu Dec 29, 2005 12:36 pm
- Forum: Beginners Help
- Topic: Gui images looks ugly. Why?
- Replies: 2
- Views: 377
- Sat Dec 17, 2005 12:30 pm
- Forum: Beginners Help
- Topic: Strange initialization problem.
- Replies: 9
- Views: 706
- Sat Dec 17, 2005 11:45 am
- Forum: Beginners Help
- Topic: XMLReader reads only first character - why?
- Replies: 1
- Views: 229
XMLReader reads only first character - why?
Hi!
I have little problem with xmlreader - it reads only the first character from every line :/
Here is my xml file :
<?xml version="1.0"?>
<config>
<scr_res_x>1024</res_x>
<scr_res_y>768</res_y>
<scr_fs>0</scr_fs>
</config>
and my reader code :
while(xml_file && xml_file->read ...
I have little problem with xmlreader - it reads only the first character from every line :/
Here is my xml file :
<?xml version="1.0"?>
<config>
<scr_res_x>1024</res_x>
<scr_res_y>768</res_y>
<scr_fs>0</scr_fs>
</config>
and my reader code :
while(xml_file && xml_file->read ...
- Fri Dec 16, 2005 1:46 pm
- Forum: Beginners Help
- Topic: Strange initialization problem.
- Replies: 9
- Views: 706
- Fri Dec 16, 2005 12:04 pm
- Forum: Beginners Help
- Topic: Strange initialization problem.
- Replies: 9
- Views: 706
Strange initialization problem.
Hi,
how to initialize filesystem before CreateDevice() ? I need to do this for read default configuration file which contains screen resolution, etc.
this one works fine (but its not what i want):
device = createDevice(video::EDT_OPENGL, core::dimension2d<s32>(1024,768 ),32,false ,true,false ...
how to initialize filesystem before CreateDevice() ? I need to do this for read default configuration file which contains screen resolution, etc.
this one works fine (but its not what i want):
device = createDevice(video::EDT_OPENGL, core::dimension2d<s32>(1024,768 ),32,false ,true,false ...
- Thu Dec 08, 2005 3:27 pm
- Forum: Open Discussion and Dev Announcements
- Topic: Q3bsp
- Replies: 20
- Views: 25348
- Thu Dec 08, 2005 1:43 pm
- Forum: Open Discussion and Dev Announcements
- Topic: Q3bsp
- Replies: 20
- Views: 25348
- Fri Sep 09, 2005 11:30 am
- Forum: Beginners Help
- Topic: Problem with smooth camera rotation.
- Replies: 9
- Views: 687
Problem with smooth camera rotation.
Hi,
im working on 'diablo clone' game and i have problem with smooth camera rotating. When i try to rotate my camera - i dont have smooth rotate - i have step rotating. like when you want to use int instead of float. I use CameraSceneNode.
My code is :
float ile;
float ile_up;
class ...
im working on 'diablo clone' game and i have problem with smooth camera rotating. When i try to rotate my camera - i dont have smooth rotate - i have step rotating. like when you want to use int instead of float. I use CameraSceneNode.
My code is :
float ile;
float ile_up;
class ...

