Search found 18 matches

by Skomakarn
Sun Aug 30, 2009 4:12 pm
Forum: Code Snippets
Topic: physics for a hovercraft
Replies: 2
Views: 1432

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
by Skomakarn
Tue Aug 25, 2009 1:53 pm
Forum: Beginners Help
Topic: How to change resolution?
Replies: 8
Views: 957

Maybe one could go into the source code of the IrrlichtDevice, and copy whatever's in the destructor/drop function, and remove the code that removes all resources, and make a new function out of that.
by Skomakarn
Sun Aug 23, 2009 4:25 pm
Forum: Beginners Help
Topic: Change resolution during runtime
Replies: 1
Views: 209

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?
by Skomakarn
Sat Aug 22, 2009 11:30 pm
Forum: Bug reports
Topic: Drawn 2D images are messed up on some computers (most)
Replies: 16
Views: 1723

hybrid wrote:No, these problems only arise if the base texture's dimension is NPOT.
That is great. Then I think I know how I can make a working workaround.
by Skomakarn
Sat Aug 22, 2009 6:56 pm
Forum: Bug reports
Topic: Drawn 2D images are messed up on some computers (most)
Replies: 16
Views: 1723

Would I get this problem if I use a POT texture, but try to draw an NPOT part of it, using a clipping rectangle in draw2DImage?
by Skomakarn
Fri Aug 14, 2009 1:17 pm
Forum: Game Programming
Topic: [Peer Review]: "Milliseconds vs. FPS"
Replies: 10
Views: 3870

I have written some classes to help me with this kind of problem. With help from the ITimer value, as it ticks on, I have made timer classes of my own. The most important one in this case, is my TimeScroller , which increases or decreases a value over time. Maybe I want to move an object from positi...
by Skomakarn
Thu Aug 13, 2009 6:43 am
Forum: Project Announcements
Topic: XEffects - Reloaded - New Release (V 1.4)
Replies: 826
Views: 433772

I compiled this myself: http://i375.photobucket.com/albums/oo191/Skomakarn/xfx3.png Looks good to me, so I guess it must be something wrong with my setup. I will try using your plugin to get the right values, and see if it helps. Thanks. EDIT: ... In your video tutorial, the cube is affected by the ...
by Skomakarn
Wed Aug 12, 2009 7:04 am
Forum: Bug reports
Topic: Drawn 2D images are messed up on some computers (most)
Replies: 16
Views: 1723

The table, cup, pen and notebook all are one image, the size of the window. Then every item in the menu is one menu, but only half the image is drawn, using clipping. One half of the image is the unhovered button, and one part is the hovered one. Then the pencil cursor is semitransparent, with antia...
by Skomakarn
Wed Aug 12, 2009 6:59 am
Forum: Project Announcements
Topic: XEffects - Reloaded - New Release (V 1.4)
Replies: 826
Views: 433772

Yeah, I think this looks a lot better to me. The shadows are working. On my statue, the shadow of the stick it is holding is casted very strangely onto the body.

Yes, I am still using the computer with that video card.
by Skomakarn
Wed Aug 12, 2009 6:12 am
Forum: Project Announcements
Topic: XEffects - Reloaded - New Release (V 1.4)
Replies: 826
Views: 433772

I just get a segmentation fault when trying to get the video driver after creating the Irrlicht device with D3D (both 8 and 9, so is it just not installed?), so I can't try it out, it seems. Here are two screenshots from the first example, running at the settings 123 (OpenGL, 1024, 8): http://i375.p...
by Skomakarn
Mon Aug 10, 2009 10:41 am
Forum: Project Announcements
Topic: XEffects - Reloaded - New Release (V 1.4)
Replies: 826
Views: 433772

When I include XEffects, I get plenty of errors saying me that I don't have dimension2du specified. What's the problem? I'm using 1.5.1. Thanks, Geo. Either you do a quick replacement of any occurence of dimension2du and change it to dimension2di, or you make a type definition, after loading Irrlic...
by Skomakarn
Mon Aug 10, 2009 10:25 am
Forum: Bug reports
Topic: Drawn 2D images are messed up on some computers (most)
Replies: 16
Views: 1723

Well, the work-around would be to disable NPOT for some card lines - so we'd need to know which hw driver and card type this happens on. I'll boot her computer up right away, and see if it happens on this one. If it does, I'll tell you about the card it has. Still I'm wondering, though, if disablin...
by Skomakarn
Mon Aug 10, 2009 8:49 am
Forum: Bug reports
Topic: Drawn 2D images are messed up on some computers (most)
Replies: 16
Views: 1723

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 wo...
by Skomakarn
Mon Aug 10, 2009 5:25 am
Forum: Bug reports
Topic: Drawn 2D images are messed up on some computers (most)
Replies: 16
Views: 1723

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-...
by Skomakarn
Sun Aug 09, 2009 11:57 pm
Forum: Bug reports
Topic: Drawn 2D images are messed up on some computers (most)
Replies: 16
Views: 1723

Are your texture non-power-of-two? In that case it depends if the cards to support that - and many cards don't. To test if that's the reason just use some textures with sizes like 256, 512, 1024 and check if is fine then on other computers. Yes, they are. I know that might cause problems when using...