Search found 71 matches
- Tue Feb 27, 2007 7:33 pm
- Forum: Advanced Help
- Topic: Portal effect
- Replies: 2
- Views: 541
Portal effect
Hi, I've been trying to create a portal affect similar to what is seen in the game Narbacular Drop (And Prey it seems) whereby there are two portals and as you look out of one you see whats on the other side of the other. I haven't done very well. I've been looking at the tech docs for the game and ...
- Fri Dec 29, 2006 6:50 pm
- Forum: Beginners Help
- Topic: triangle3df, getTriangles
- Replies: 2
- Views: 244
For arraySize you could just do: sizeof(TriangleDatas) But this would only work if you gave TriangleDatas a size i.e. triangle3df TriangleDatas[99]; As for triangle3df I guess it's a vector and you should be able to access the data you want like you would any other data structure: triangle3df.X tria...
- Fri Dec 29, 2006 11:24 am
- Forum: Beginners Help
- Topic: undefined reference to blah blah blah....
- Replies: 4
- Views: 196
- Wed Dec 27, 2006 8:46 pm
- Forum: Beginners Help
- Topic: [SOLVED] return i = crash!? :S
- Replies: 11
- Views: 418
- Wed Dec 27, 2006 6:17 pm
- Forum: Beginners Help
- Topic: [SOLVED] return i = crash!? :S
- Replies: 11
- Views: 418
I think you are right. I just replaced the function contents with this: int x; x = 0; return x; With the same crash. This is how I'm calling the function: int elementNo; elementNo = this->getElementNoFromName(onSelectName); It is being called from within another function which belongs to the same cl...
- Wed Dec 27, 2006 6:09 pm
- Forum: Beginners Help
- Topic: [SOLVED] return i = crash!? :S
- Replies: 11
- Views: 418
- Wed Dec 27, 2006 5:35 pm
- Forum: Beginners Help
- Topic: [SOLVED] return i = crash!? :S
- Replies: 11
- Views: 418
- Wed Dec 27, 2006 5:15 pm
- Forum: Beginners Help
- Topic: How to lighten screen when look to sun?
- Replies: 7
- Views: 596
- Wed Dec 27, 2006 4:49 pm
- Forum: Beginners Help
- Topic: [SOLVED] return i = crash!? :S
- Replies: 11
- Views: 418
- Wed Dec 27, 2006 4:36 pm
- Forum: Beginners Help
- Topic: [SOLVED] return i = crash!? :S
- Replies: 11
- Views: 418
No, I've done debugging and m_elements[0] is definatly a valid pointer. If it wasn't surely it would not like the line where I compare the two strings? Anyway it is valid as this is an excerpt from a menu system I'm writing and it gets set through the menu file which has all worked up until now when...
- Wed Dec 27, 2006 4:12 pm
- Forum: Beginners Help
- Topic: [SOLVED] return i = crash!? :S
- Replies: 11
- Views: 418
[SOLVED] return i = crash!? :S
int cMenu::getElementNoFromName(std::string name) { int i; for(i = 0; i < 20; i++) { if(m_elements[i]->getName() == name) break; else continue; } return i; } For some reason this function will crash on the return i line with this error: Unhandled exception at 0x1048c1fe (msvcp80d.dll) in Metal Gear...
- Tue Dec 26, 2006 9:26 pm
- Forum: Beginners Help
- Topic: Image sizes
- Replies: 5
- Views: 326
- Tue Dec 26, 2006 10:05 am
- Forum: Beginners Help
- Topic: Image sizes
- Replies: 5
- Views: 326
Image sizes
OK So I know I can't use textures that are not a square size i.e. 512 x 512 etc. So what if I want to display a logo which is 500 x 200 or something short of splitting it up into several square textures? I'm using IGUIImage to display 2D images on the screen.
- Sat Dec 23, 2006 6:38 pm
- Forum: Beginners Help
- Topic: Is model collided with model
- Replies: 4
- Views: 269
- Sat Dec 23, 2006 12:51 pm
- Forum: Beginners Help
- Topic: walls intro my racegame issues
- Replies: 8
- Views: 518
Well first you need to create a Triangle Sleecter for your mesh: scene::ITriangleSelector* selector = 0; selector = smgr->createOctTreeTriangleSelector(levelmesh->getMesh(0), levelnode, 128); levelnode->setTriangleSelector(selector); selector->drop(); Then you need to apply a Collision Animator to w...