Search found 38 matches

by docWild
Sat Dec 24, 2011 2:38 am
Forum: Beginners Help
Topic: BMP-Loader not working
Replies: 3
Views: 308

Re: BMP-Loader not working

Ijon wrote:Got it to work now finally. After desparating awhile I tried installing TDM-GCC and recompiling the Irrlicht.dll. Apparently I was just too stupid to set up MinGW w64 on my own. :cry:
We're all stupid in our own beautiful way. The joy is in learning.
by docWild
Tue Dec 20, 2011 6:53 pm
Forum: Beginners Help
Topic: My computer cant do math, can your's do ?
Replies: 5
Views: 534

Re: My computer cant do math, can your's do ?

Write it out as binary operations, then it makes perfect sense. Check out the IEEE floating point standards for proper explanations. Integer casting and division has its place, but it can also be the source of the worst kind of bug.. that which generates no errors.
by docWild
Tue Dec 20, 2011 2:06 pm
Forum: Beginners Help
Topic: Render To Texture
Replies: 4
Views: 306

Re: Render To Texture

It seems strange that the image is generated with the correct background colour, and not just a junk file. However, thanks for the replies. I suppose the workaround is to use a second device with the software renderer in setup to precalc the textures.
by docWild
Mon Dec 19, 2011 10:05 pm
Forum: Game Programming
Topic: Simulating wind movement?
Replies: 17
Views: 4921

Re: Simulating wind movement?

Even our greatest supercomputers don't model the planet's entire weather system. \studied meteorology many moons ago (no pun intended) Modelling local conditions is more manageable and effects from outside the local system can be averaged. High pressure from north, low from west etc. My suggestion w...
by docWild
Mon Dec 19, 2011 9:45 pm
Forum: Off-topic
Topic: Windows 8
Replies: 43
Views: 8098

Re: Windows 8

I'm no fan of windows but I do have to acknowledge the superiority of Office. Especially Word. However, their move to the ribbon style menus means that I will never buy another copy.
by docWild
Mon Dec 19, 2011 9:42 pm
Forum: Beginners Help
Topic: Render To Texture
Replies: 4
Views: 306

Render To Texture

I've reduced to the simplest form I can: #include <irrlicht.h> #include "driverChoice.h"   using namespace irr;   #ifdef _MSC_VER #pragma comment(lib, "Irrlicht.lib") #endif   int main() {       video::E_DRIVER_TYPE driverType=driverChoiceConsole();     if (driverType==video::EDT...
by docWild
Sun Dec 18, 2011 8:02 pm
Forum: Code Snippets
Topic: IProgressBar: A progress-bar gui element
Replies: 19
Views: 7380

Re: IProgressBar: A progress-bar gui element

The problem with this implementation is that the position setting does not take into account the element's parent's position so the call to the IVideoDriver drawing methods will draw the progress bar at an absolute position regardless of the parent window/element updates. My plan is to do a rewrite ...
by docWild
Thu Dec 15, 2011 6:00 pm
Forum: Project Announcements
Topic: Planet Wars - interactive control
Replies: 12
Views: 4175

Re: Planet Wars - interactive control

Will you adopt me?... I'm 30.
by docWild
Thu Dec 15, 2011 1:26 pm
Forum: Advanced Help
Topic: Relative Joint Rotation
Replies: 17
Views: 3658

Re: Relative Joint Rotation

I may be telling you wrong, but don't you need two matrices to set a relative rotation?  irr::core::matrix4 m;     m.setRotationDegrees(bodyNode->getRotation());     irr::core::matrix4 n;     n.setRotationDegrees(rot);     m *= n;     bodyNode->setRotation( m.getRotationDegrees() );     bodyNode->up...
by docWild
Tue Dec 13, 2011 11:18 pm
Forum: Beginners Help
Topic: GUI events, button click when child of parent window...
Replies: 1
Views: 301

Re: GUI events, button click when child of parent window...

Umm... sorry but it isn't a problem anymore. Turns out it was a P.I.C.N.I.C error, as suspected. Was staring at it for three hours and as soon as I gave in and asked for help it occured to me. I'd left a switch in another file which was cancelling my button press. Hopefully I've come forward before ...
by docWild
Tue Dec 13, 2011 10:37 pm
Forum: Beginners Help
Topic: GUI events, button click when child of parent window...
Replies: 1
Views: 301

GUI events, button click when child of parent window...

I have an odd problem:     IGUIButton* button;     m_pGUINavigationWindow = m_pGUIEnvironment->addWindow(rect<s32>(0,0,220,415),false,0,0,GUI_NAV_WINDOW);     m_pGUINavigationWindow->setVisible(false);     m_pGUINavigationWindow->setDrawTitlebar(false);     m_pGUINavigationWindow->getCloseButton()->...
by docWild
Tue Dec 13, 2011 5:41 pm
Forum: Off-topic
Topic: Learning Irrlicht
Replies: 2
Views: 741

Re: Learning Irrlicht

If anyone is interested here are some progress videos:

Part 2:
http://www.youtube.com/watch?v=aocCcfSY4BA

Part 3:
http://www.youtube.com/watch?v=I7LnpIv4dxQ

There is info in the video descriptions.
by docWild
Sun Dec 11, 2011 1:55 am
Forum: Beginners Help
Topic: 2D game - FPS to fast
Replies: 8
Views: 1175

Re: 2D game - FPS to fast

Your code is confusing me. It seems like: u32 curTime = device->getTimer()->getTime();                         world.deltaTime =curTime-world.time;                         world.time = curTime; You are defining your time variables, one after the other. This defeats the purpose. What you want to do i...
by docWild
Sun Dec 11, 2011 1:42 am
Forum: Beginners Help
Topic: Custom fonts from an already created image.
Replies: 12
Views: 484

Re: Custom fonts from an already created image.

it is for a fan project. there is really no way of doing this? I tried using incscape and some program (Fontforge I think) But it didn't want to work :( It can be done. Those coloured control characters can be found within a loop which will "scan" the bitmap data of the image. From that y...
by docWild
Sat Dec 10, 2011 1:10 pm
Forum: Beginners Help
Topic: [solved]mingw pragma warning disable
Replies: 12
Views: 2507

Re: mingw pragma warning disable

But disabling warnings separately for each file is possible only in visual studio as far as I know. You can use pragma. #pragma GCC diagnostic ignored "-Wwrite-strings" I believe you can use "#pragma GCC diagnostic pop" and "#pragma GCC diagnostic push" to do it on a p...