Search found 26 matches
- Tue Mar 23, 2010 11:50 pm
- Forum: Beginners Help
- Topic: really quick question concerning nodes from .irr file
- Replies: 8
- Views: 781
- Sun Mar 21, 2010 8:03 pm
- Forum: Beginners Help
- Topic: really quick question concerning nodes from .irr file
- Replies: 8
- Views: 781
hmm... thank you, I got it it to run without crashing now. However, now, the sphere is not lighted for some reason, all though there are lights in the scene (created using irrEdit, I did not set the lights in the programming), and it does not seem to be rotating. Any thoughts? The code is still the ...
- Sat Mar 20, 2010 8:14 am
- Forum: Beginners Help
- Topic: really quick question concerning nodes from .irr file
- Replies: 8
- Views: 781
What's the exact problem? No rotation? Crash? For finding a single node in an irr scene I don't iterate the scene, I just use the "getSceneNodeFromName" or "...fromID" in (IIRC) ISceneManager. You just have to give a name (or an ID) to your sphere for that method, and (of course) check the returned ...
- Thu Mar 18, 2010 4:55 am
- Forum: Beginners Help
- Topic: really quick question concerning nodes from .irr file
- Replies: 8
- Views: 781
really quick question concerning nodes from .irr file
Hello,
I am basicly just trying to control a node that is created in a .irr scene. Just so I know what I am doing, I am just trying to have a sphere created in IrrEdit rotate. The concerning code is right here:
ISceneNode* sphere1 = 0;
cout<<"Size of nodes: "<<nodes.size()<<endl;
for( u32 i=0 ...
I am basicly just trying to control a node that is created in a .irr scene. Just so I know what I am doing, I am just trying to have a sphere created in IrrEdit rotate. The concerning code is right here:
ISceneNode* sphere1 = 0;
cout<<"Size of nodes: "<<nodes.size()<<endl;
for( u32 i=0 ...
- Sat Mar 29, 2008 9:51 pm
- Forum: Beginners Help
- Topic: help converting IMesh node to IAnimatedMeshSceneNode node
- Replies: 0
- Views: 229
help converting IMesh node to IAnimatedMeshSceneNode node
hi, the title says it all, but I need help on converting a IMesh to a IAnimatedMeshSceneNode. I know its a very nooby question but I need help.
the code i need help with is here:
IMesh* roommesh = smgr->getMesh(roommesh_name.c_str())->getMesh(0);
ITriangleSelector* field1_selector = smgr ...
the code i need help with is here:
IMesh* roommesh = smgr->getMesh(roommesh_name.c_str())->getMesh(0);
ITriangleSelector* field1_selector = smgr ...
- Fri Dec 21, 2007 6:54 am
- Forum: Beginners Help
- Topic: help please, saying pointer is undeclared when it was!!??
- Replies: 1
- Views: 328
help please, saying pointer is undeclared when it was!!??
Hi again, sorry but I need help again. For somereason, the compiler is saying that a pointer/variable (not sure), is undeclared, but was obviously declared before it. Are there any reasons why it would do that?(other than misspelling ;) ).Sorry, its in middle of a if statement, but heres the code ...
- Thu Dec 20, 2007 6:36 pm
- Forum: Beginners Help
- Topic: Need help with getting code to work IMesh to IAnimatedMesh?
- Replies: 2
- Views: 266
- Thu Dec 20, 2007 7:41 am
- Forum: Beginners Help
- Topic: Need help with getting code to work IMesh to IAnimatedMesh?
- Replies: 2
- Views: 266
Need help with getting code to work IMesh to IAnimatedMesh?
Hi, I'm a beginner, and I was using this topic as a reference: http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?t=17247, and I just need to get the last part. ok, so I have the code:
//get the mesh name out
stringc roommesh_name = attribs->getAttributeAsString("Mesh");
attribs->drop ...
//get the mesh name out
stringc roommesh_name = attribs->getAttributeAsString("Mesh");
attribs->drop ...
- Thu May 31, 2007 4:50 am
- Forum: Beginners Help
- Topic: node deletion
- Replies: 20
- Views: 1421
- Thu May 31, 2007 1:27 am
- Forum: Beginners Help
- Topic: node deletion
- Replies: 20
- Views: 1421
yea, I have a thing for the bullets alread. its not an array though. I still have a question about making the array because I dont know how to do it. I tried a way and no errors but the program crashed so i guess i did it wrong. I still dont understand how the "node" came from. this is what i did ...
- Wed May 30, 2007 7:41 am
- Forum: Beginners Help
- Topic: node deletion
- Replies: 20
- Views: 1421
- Wed May 30, 2007 6:29 am
- Forum: Beginners Help
- Topic: node deletion
- Replies: 20
- Views: 1421
sorry
..sorry guys, i thought i can figure it out by my self but aprerently not. I have question for the array of nodes part (sorry i think i wasnt paying enough attention to what you wrote vitek). First question is, on the second snippet, it says;
// assuming 'node' is the scene node you want to remove ...
// assuming 'node' is the scene node you want to remove ...
- Wed May 30, 2007 6:07 am
- Forum: Beginners Help
- Topic: node deletion
- Replies: 20
- Views: 1421
- Tue May 29, 2007 3:49 am
- Forum: Beginners Help
- Topic: node deletion
- Replies: 20
- Views: 1421
- Tue May 29, 2007 1:36 am
- Forum: Beginners Help
- Topic: node deletion
- Replies: 20
- Views: 1421
thanxs everybody for your replys. They are helping me a lot. I have a nother quetion, and im afraid this one is too noobie. well anyways, in addCameraSceneNodeFPS() ,there is a EKA_JUMP_UP ,but i'm not sure how to exactly use it. can anybody show me a example code, or snippet that makes the scene ...