Instead of casting to float, just put f after the numbers, and use decimals also for numbers like 10.
10.0f,.05f,1.0f,10.0f
Search found 18 matches
- Sun Aug 30, 2009 4:12 pm
- Forum: Code Snippets
- Topic: physics for a hovercraft
- Replies: 2
- Views: 1599
- Tue Aug 25, 2009 1:53 pm
- Forum: Beginners Help
- Topic: How to change resolution?
- Replies: 8
- Views: 1152
- Sun Aug 23, 2009 4:25 pm
- Forum: Beginners Help
- Topic: Change resolution during runtime
- Replies: 1
- Views: 263
Change resolution during runtime
Is this possible, and if so, how do I do it?
I have managed to do it by destroying and recreating my Irrlicht device, but when I do so, all resources are removed, so if I change the resolution this way while drawing anything it crashes anyway.
Is there another way to do it?
I have managed to do it by destroying and recreating my Irrlicht device, but when I do so, all resources are removed, so if I change the resolution this way while drawing anything it crashes anyway.
Is there another way to do it?
- Sat Aug 22, 2009 11:30 pm
- Forum: Bug reports
- Topic: Drawn 2D images are messed up on some computers (most)
- Replies: 16
- Views: 2173
- Sat Aug 22, 2009 6:56 pm
- Forum: Bug reports
- Topic: Drawn 2D images are messed up on some computers (most)
- Replies: 16
- Views: 2173
- Fri Aug 14, 2009 1:17 pm
- Forum: Game Programming
- Topic: [Peer Review]: "Milliseconds vs. FPS"
- Replies: 10
- Views: 4261
- Thu Aug 13, 2009 6:43 am
- Forum: Project Announcements
- Topic: XEffects - Reloaded - New Release (V 1.4)
- Replies: 826
- Views: 521514
- Wed Aug 12, 2009 7:04 am
- Forum: Bug reports
- Topic: Drawn 2D images are messed up on some computers (most)
- Replies: 16
- Views: 2173
- Wed Aug 12, 2009 6:59 am
- Forum: Project Announcements
- Topic: XEffects - Reloaded - New Release (V 1.4)
- Replies: 826
- Views: 521514
- Wed Aug 12, 2009 6:12 am
- Forum: Project Announcements
- Topic: XEffects - Reloaded - New Release (V 1.4)
- Replies: 826
- Views: 521514
- Mon Aug 10, 2009 10:41 am
- Forum: Project Announcements
- Topic: XEffects - Reloaded - New Release (V 1.4)
- Replies: 826
- Views: 521514
- Mon Aug 10, 2009 10:25 am
- Forum: Bug reports
- Topic: Drawn 2D images are messed up on some computers (most)
- Replies: 16
- Views: 2173
- Mon Aug 10, 2009 8:49 am
- Forum: Bug reports
- Topic: Drawn 2D images are messed up on some computers (most)
- Replies: 16
- Views: 2173
Whyt kind of gfx card do you have? Did you install the latest drivers? IIRC, ATI has major problems with NPOT features, so we might add a work-around if that's the case. We need a proper test for this, though, so maybe you don't want to install latest drivers and lend us a hand while testing the ...
- Mon Aug 10, 2009 5:25 am
- Forum: Bug reports
- Topic: Drawn 2D images are messed up on some computers (most)
- Replies: 16
- Views: 2173
So, you're saying using GUI images instead wouldn't make a difference, either?
Is it notably slow disabling such a feature, or could I use it at least once every frame, to enable for the 3D, and then disable for the 2D (if disabling it means any difference to the 3D, of course; exactly what is NPOT ...
Is it notably slow disabling such a feature, or could I use it at least once every frame, to enable for the 3D, and then disable for the 2D (if disabling it means any difference to the 3D, of course; exactly what is NPOT ...
- Sun Aug 09, 2009 11:57 pm
- Forum: Bug reports
- Topic: Drawn 2D images are messed up on some computers (most)
- Replies: 16
- Views: 2173