Search found 12 matches

by weloveyouclark22
Thu Mar 03, 2011 1:17 am
Forum: Beginners Help
Topic: Remove Scene Node from SceneGraph
Replies: 10
Views: 1851

Hm, well it appears that my method of creating and destroying beams is extremely inefficient. Any recommendations as to how I should do it?
by weloveyouclark22
Wed Mar 02, 2011 4:22 pm
Forum: Beginners Help
Topic: Remove Scene Node from SceneGraph
Replies: 10
Views: 1851

Thanks for the recommendations, but this happens even when I only create one Beam Node. When I put the smgr->addToDeletionQueue(beam); before the scene ends, it deletes them, but I am unable to see the beams before they are deleted. Also, beam->drop(); and beam->remove(); show no results.
by weloveyouclark22
Wed Mar 02, 2011 1:25 am
Forum: Beginners Help
Topic: Remove Scene Node from SceneGraph
Replies: 10
Views: 1851

Remove Scene Node from SceneGraph

Hello all. I am experiencing that when I attempt to remove a sceneNode from the scenegraph, I am unable to do so. This is the part of my game loop that is supposed to execute this code. while(device->run()) if (device->isWindowActive()) { rcv.endEventProcess(); smgr->addToDeletionQueue(beam); ray.st...
by weloveyouclark22
Sun Feb 27, 2011 3:11 pm
Forum: Beginners Help
Topic: Set up event receiver to work like FPS camera
Replies: 4
Views: 608

I see now, I apologise. Thank you for your time.
by weloveyouclark22
Sun Feb 27, 2011 5:26 am
Forum: Beginners Help
Topic: Mast Event Receiver
Replies: 19
Views: 2044

random, thank you for that post. I was confused about such until you said that. Would you recommend a different event receiver?
by weloveyouclark22
Sun Feb 27, 2011 2:17 am
Forum: Beginners Help
Topic: Set up event receiver to work like FPS camera
Replies: 4
Views: 608

I beg your pardon, but may you please delineate further?
by weloveyouclark22
Sun Feb 27, 2011 12:48 am
Forum: Beginners Help
Topic: Set up event receiver to work like FPS camera
Replies: 4
Views: 608

Set up event receiver to work like FPS camera

After I got a working event receiver working, I noticed that when I add the parameter to my createDevice function, mouse and key input is lost. Seeing that this is sensible, I want to allow the event receiver to work like an FPS camera. But even after looking through the documentation and other thre...
by weloveyouclark22
Sat Feb 26, 2011 9:37 pm
Forum: Beginners Help
Topic: Mast Event Receiver
Replies: 19
Views: 2044

Oh, well that is embarrassing. I thought the OnEvent function looked fishy, but I didn't touch it for some reason. And it created a chain of problems, because I had to change the object to a pointer, which messed a lot of things up in the code and apparently caused a segmentation fault. Nonetheless,...
by weloveyouclark22
Sat Feb 26, 2011 7:21 pm
Forum: Beginners Help
Topic: Mast Event Receiver
Replies: 19
Views: 2044

Tried that as well, the program has a segmentation fault when I have either for loop uncommented.
by weloveyouclark22
Sat Feb 26, 2011 5:35 pm
Forum: Beginners Help
Topic: Mast Event Receiver
Replies: 19
Views: 2044

Tried that as well, still has a segmentation fault.
by weloveyouclark22
Sat Feb 26, 2011 5:16 pm
Forum: Beginners Help
Topic: Mast Event Receiver
Replies: 19
Views: 2044

for (u32 i = 0; i <= KEY_KEY_CODES_COUNT; i++) for (u32 i = 0; i <= 2; i++) You try to write beyond the array bounds. Try for (u32 i = 0; i < KEY_KEY_CODES_COUNT; i++) Likewise for the mouse buttons. Tried that, and I surprisingly had no success. I have narrowed it down to this line: keyState[i] = ...
by weloveyouclark22
Fri Feb 25, 2011 10:08 pm
Forum: Beginners Help
Topic: Mast Event Receiver
Replies: 19
Views: 2044

Thank you for the advice, I will look into that. I am the original poster's partner. Our issue is that after we call the initialise function, we get a segmentation fault. The initialisation function looks good to me, but I am unsure. void init() { //KeyBoard States. for (u32 i = 0; i <= KEY_KEY_CODE...