Search found 34 matches

by Thomas_
Sat Sep 13, 2008 2:31 am
Forum: Advanced Help
Topic: Tiny problem with irrlicht that creates a warning?
Replies: 1
Views: 598

Tiny problem with irrlicht that creates a warning?

I've been working to get rid of the last few warnings from my program and found one that seems to be caused by irrlicht, I thought I'd mention it in case anyone else agrees with me. line 695 in irrString.h: for (s32 i=0; i<used-len; ++i) that line is giving me a unsigned and signed integer compariso...
by Thomas_
Mon Jan 29, 2007 4:42 am
Forum: Beginners Help
Topic: Pointer Error inside irrlicht
Replies: 10
Views: 432

Hmm Sounds about right, but all members of the class Goal are initialized in the constructor, and the instance of goal itself is initialized in the class Ship. The error seems to still be there... I brought up a call stack and there was only one entry: Nr: 0 Address: 7C901231 Function: ntdll!DbgUiCo...
by Thomas_
Mon Jan 29, 2007 3:07 am
Forum: Beginners Help
Topic: Pointer Error inside irrlicht
Replies: 10
Views: 432

Huh, This time I ran the code: GetDriver()->beginScene(true, true, SColor(0,0,0,0)); DrawStars(); std::cout << "Flag 1" << std::endl; //GetManager()->drawAll(); std::cout << "Flag 2" << std::endl; GetGui()->drawAll(); GetDriver()->endScene(); And the result was: Flag1 Flag2 Flag1...
by Thomas_
Mon Jan 29, 2007 2:43 am
Forum: Beginners Help
Topic: Pointer Error inside irrlicht
Replies: 10
Views: 432

Ok... So this is a really odd bug, I have written some testing flags around my code like this: GetDriver()->beginScene(true, true, SColor(0,0,0,0)); DrawStars(); std::cout << "Flag 1" << std::endl; GetManager()->drawAll(); std::cout << "Flag 2" << std::endl; GetGui()->drawAll(); ...
by Thomas_
Sat Jan 27, 2007 11:41 pm
Forum: Beginners Help
Topic: Pointer Error inside irrlicht
Replies: 10
Views: 432

Wow, This might be IRRelevant (bad pun) to my problem, but: I ran it just now, in the hopes that it would crash and I could click debug and perhaps get a call stack, but it lasted almost 15 seconds before crashing, and I noticed that all the Ship::EnemyShip::BasicEnemy1 objects sought out their Goal...
by Thomas_
Sat Jan 27, 2007 11:35 pm
Forum: Beginners Help
Topic: Pointer Error inside irrlicht
Replies: 10
Views: 432

sure, Ill try getting a stack dump. Ive used them a bit before, but i doubt it will help too much because I know basically where it crashes. Basically, My code runs, manipulates billboards, does a bunch of other stuff, maybe calls remove() on a few billboards it doesn't need and then calls my Draw()...
by Thomas_
Sat Jan 27, 2007 7:52 am
Forum: Beginners Help
Topic: Pointer Error inside irrlicht
Replies: 10
Views: 432

Nope,

I never use drop...

just remove()

...
by Thomas_
Sat Jan 27, 2007 5:54 am
Forum: Beginners Help
Topic: Pointer Error inside irrlicht
Replies: 10
Views: 432

I figure i must have somehow deleted an internal object or perhaps messed one up somehow... but I have been looking over my code with a fine tooth comb and havent found anything... I just dont see how this is possible! Also, if it matters, the error doesn't always happen at the same time, usually ar...
by Thomas_
Sat Jan 27, 2007 3:13 am
Forum: Beginners Help
Topic: Pointer Error inside irrlicht
Replies: 10
Views: 432

Pointer Error inside irrlicht

So I have been getting a pointer error: An Instruction at [HEX-address] referenced memory at [HEX-address]. The memory could not be "read". I have tracked down the error and it always occurs during the method GetSceneManager()->drawAll(); I have been trying to figure out what could be the ...
by Thomas_
Tue Jan 23, 2007 3:27 am
Forum: Beginners Help
Topic: Orthographic View not working...
Replies: 4
Views: 547

Alright,

Thanks a bunch!

-Tom
by Thomas_
Mon Jan 22, 2007 7:34 pm
Forum: Beginners Help
Topic: Orthographic View not working...
Replies: 4
Views: 547

Many MANY thanks! Its working. I only have one problem left right now, and i think my own code is to blame... The orthographic view is working now! I am still not sure I get why the coordinates are where they are, but even if I cannot change the coordinates to be lowest in the upper left, i can mana...
by Thomas_
Mon Jan 22, 2007 6:12 am
Forum: Beginners Help
Topic: Orthographic View not working...
Replies: 4
Views: 547

Orthographic View not working...

So, I found a thread: (http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?t=2643) which in the end did have a solution for how to enter an orthographic mode, but I am having two problems. Here is the code i am using to enter the ortho view: GetManager()->addCameraSceneNode(0, vector3df(0,0,100), v...
by Thomas_
Fri Jan 19, 2007 1:38 am
Forum: Beginners Help
Topic: Textures being displayed as they are loaded??? Problem...
Replies: 0
Views: 138

Textures being displayed as they are loaded??? Problem...

I have been having a very strange problem for several days now and have been scraping my code with a fine comb to find the problem, but as far as I can tell, all my code is working fine. My only explaination is that perhaps irrlicht is just really messing stuff up internally... but i doubt this is t...
by Thomas_
Wed Jan 17, 2007 1:39 am
Forum: Beginners Help
Topic: Cleaning up textures
Replies: 3
Views: 190

Thanks!

removeTexture is exactly what I wanted!
by Thomas_
Wed Jan 17, 2007 12:55 am
Forum: Beginners Help
Topic: Cleaning up textures
Replies: 3
Views: 190

Cleaning up textures

So I was told that manually deleting a scene node that you added with add___SceneNode or similar messes up the system. I understand this and have changed my code to fix using the remove() method. I was wondering however, does this apply to textures or can I just delete (ITexture* variable)? If I can...