Search found 30 matches

by steveybop
Wed Apr 20, 2005 1:50 pm
Forum: Beginners Help
Topic: How to make GUI controls with FPS camera??
Replies: 3
Views: 328

What i have is more like a simulation than a game, what i need is to allolw the user to specify some values using scroll bars and some options using (probably) combo box. They dont have to be "in game", i just thought it may be easier to have them always there as opposed to popped up once....
by steveybop
Wed Apr 20, 2005 12:43 pm
Forum: Beginners Help
Topic: How to make GUI controls with FPS camera??
Replies: 3
Views: 328

How to make GUI controls with FPS camera??

I have a program using the FPS style camera, which uses the mouse to control the direction the camera is pointing. What i want is a GUI to allow the user to control some values, but how do you make the GUI accessable if the mouse is used for the camera?? i was thinking that the only way to do it is ...
by steveybop
Tue Apr 12, 2005 5:03 pm
Forum: Beginners Help
Topic: How to get the Mouse wheel value?
Replies: 9
Views: 1692

thanks, thats working now. Question though, min and max? when i roll the mouse wheel forward it zooms once by 2 then thats it, it checks if Wheel > 0, if so it zooms, how did you get it to zoom that much over again? :oops: I didnt really put loads of thought into this, just saw setFOV() method and t...
by steveybop
Tue Apr 12, 2005 4:57 pm
Forum: Beginners Help
Topic: On Event Callback not calling back!
Replies: 6
Views: 406

Thanks a million jox, you have now achieved guru status in my books. Simple problems are always the hardest to solve without experts around! Completely forgot the event reciever was even dealt with in createDevice. Threw in a 'this' at the end and everythin was hunky-dorey!!!! I now have poop flying...
by steveybop
Tue Apr 12, 2005 4:38 pm
Forum: Beginners Help
Topic: How to get the Mouse wheel value?
Replies: 9
Views: 1692

How to get the Mouse wheel value?

I am trying to implement a zoom function in my FPS style camera. in my event reciever i check to see if the event is a mouse and mouse wheel event, but i cant figure out how to get the f32 Wheel value that is in the EMIE_MOUSE_WHEEL event here is the code im using: else if(event.EventType == irr::EE...
by steveybop
Tue Apr 12, 2005 3:14 pm
Forum: Beginners Help
Topic: On Event Callback not calling back!
Replies: 6
Views: 406

I dont think i did: device = createDevice(EDT_OPENGL, core::dimension2d<s32>(640, 480), 16, false,false,false); After checking the documentation, i think it should be this, no? device = createDevice(EDT_OPENGL, core::dimension2d<s32>(640, 480), 16, false,false,false,OnEvent); Do i put in the name of...
by steveybop
Mon Apr 11, 2005 8:33 pm
Forum: Beginners Help
Topic: On Event Callback not calling back!
Replies: 6
Views: 406

ok so it should only return false at end if none of the relevent events happened, right? So when should i return true? Like this: bool CGame::OnEvent(SEvent event) { if (event.EventType == irr::EET_MOUSE_INPUT_EVENT && event.MouseInput.Event == EMIE_LMOUSE_PRESSED_DOWN) { // make a cube wher...
by steveybop
Mon Apr 11, 2005 7:20 pm
Forum: Beginners Help
Topic: On Event Callback not calling back!
Replies: 6
Views: 406

On Event Callback not calling back!

I have tried to implement an event reciever in my program, i used a lot of the code form the Mercior Irrlicht/Newton tutorial. But when i click the mouse or hit escape nothing happens, put in breakpoints and execution never reaches callback. Any ideas? here is the class definition class CGame : publ...
by steveybop
Mon Apr 11, 2005 3:44 pm
Forum: Beginners Help
Topic: which physics engine to choose?
Replies: 18
Views: 1898

As mentioned by cartoonit: Newton may not be the fastest but as Julio Jerez (the creator) says: it uses no tweaks, just the real life physic laws. He made a beautiful post about this, a while ago. Any chance at all that you could give me the link to this thread bal?? or at least the subject line so...
by steveybop
Fri Apr 08, 2005 5:56 pm
Forum: Beginners Help
Topic: which physics engine to choose?
Replies: 18
Views: 1898

I was in the same position before, i was going to use ODE but due to various posts on this forum stating that Newton was more stable and easier to integrate with irrlicht, i picked that. I dont know about the others but i found newton relatively easy to implment with irrlicht (usual teeting problems...
by steveybop
Fri Apr 08, 2005 5:47 pm
Forum: Beginners Help
Topic: Newton
Replies: 1
Views: 261

There is the Mercior tutorial, it is in the tutorial section, on Irrlicht homepage http://www.mercior.com/tut-newton.shtml I am also working on an irrlicht/newton integrated program and have had many teething problems (due too my newbie status, not cuz integration is difficult) any problems you'll h...
by steveybop
Wed Apr 06, 2005 3:35 pm
Forum: Beginners Help
Topic: CAN ANYONE HELP?? Meshs crashing program
Replies: 17
Views: 983

okay, some major progress. I tried using OpenGL instead and the floor.obj loaded and DIDNT crash Windows. Which is a first!! :roll: Now the major question, if i leave it as OpenGL for the rest of the project should that make any difference to the code itself. is there anything, anywhere ill have to ...
by steveybop
Wed Apr 06, 2005 3:22 pm
Forum: Beginners Help
Topic: CAN ANYONE HELP?? Meshs crashing program
Replies: 17
Views: 983

If you don't see a node This is my problem, if it was just a case of not SEEING meshes, that i could deal with. When i try to load any mesh but the sydney.md2 or the object.obj, my whole operating system crashes im guessing that this is not an Irrlicht feature!?! :?: Nobody has ever encountered thi...
by steveybop
Wed Apr 06, 2005 1:33 pm
Forum: Beginners Help
Topic: CAN ANYONE HELP?? Meshs crashing program
Replies: 17
Views: 983

this is my main loop Acki, straight outta the tutorials: // Main Loop while(Game.device->run()) { Game.MainLoop(); } Acki, when you say the .obj files worked, you mean floor.obj too? the object.obj worked for me(well it loaded with the foremost faces missing), but not the floor. But if i could get t...
by steveybop
Wed Apr 06, 2005 11:04 am
Forum: Beginners Help
Topic: CAN ANYONE HELP?? Meshs crashing program
Replies: 17
Views: 983

Is there ANYBODY on this forum, who can help me?

why are these meshes crashing my program. loads of formats are supposed to be compatible but i have only succesfully loaded 2, all the rest crash it WITH THE SAME CODE!!!!!!