Search found 17 matches
- Wed May 02, 2012 11:37 pm
- Forum: Beginners Help
- Topic: Using matrices
- Replies: 2
- Views: 314
Using matrices
Hy, To put things into context, I'm tryingto make the active camera rotate around the camera target, when the mouse is moved while holding the middle mouse button (just like in so many RTS games). I never learnt about matrices in school. I did now, through the web, to understand their concept. I'm s...
- Sun Apr 29, 2012 12:37 pm
- Forum: Beginners Help
- Topic: Access scene nodes from out of Main.cpp
- Replies: 20
- Views: 1100
Re: Access scene nodes from out of Main.cpp
?... Are you high?
- Sat Apr 28, 2012 2:24 pm
- Forum: Beginners Help
- Topic: Access scene nodes from out of Main.cpp
- Replies: 20
- Views: 1100
Re: Access scene nodes from out of Main.cpp
It turns out the Irrlicht scene I was loading had an active camera already (set up through IrrEdit), so in spite of adding a camera with exactly the same position and target, It wasn't the active one, it was a clone. So, I was changing the position of the clone (inactive) camera. Fixed it with ICame...
- Fri Apr 27, 2012 10:59 pm
- Forum: Beginners Help
- Topic: Access scene nodes from out of Main.cpp
- Replies: 20
- Views: 1100
Re: Access scene nodes from out of Main.cpp
main.cpp: // head of the file before this int main() { IrrlichtDevice* device = createDevice( video::EDT_OPENGL, dimension2d<u32>(640, 480), 16, false, false, false, 0); if (!device) return 1; IVideoDriver* driver = device->getVideoDriver(); ISceneManager* smgr = device->getS...
- Fri Apr 27, 2012 11:52 am
- Forum: Beginners Help
- Topic: Access scene nodes from out of Main.cpp
- Replies: 20
- Views: 1100
Re: Access scene nodes from out of Main.cpp
Alright, serengour, dotProduct and CuteAlien, I get your points of view. :) Sorry if it seemed like I wanted to have someone do the job for me, it was unintentional. I've already come a long way figuring it out by myself, just asked for help on this for a change. :) Thanks, CuteAlien, I appreciate y...
- Thu Apr 26, 2012 10:05 pm
- Forum: Beginners Help
- Topic: Access scene nodes from out of Main.cpp
- Replies: 20
- Views: 1100
Re: Access scene nodes from out of Main.cpp
You guys must be oversensitive to these guys who come in here asking for guidance to do the MMORPG of the century... Smaller steps than trying to make a camera that is user-controllable? It doesn't get much smaller than that... What am I supposed to do, keep examining examples my whole life without ...
- Thu Apr 26, 2012 9:45 pm
- Forum: Beginners Help
- Topic: Access scene nodes from out of Main.cpp
- Replies: 20
- Views: 1100
Re: Access scene nodes from out of Main.cpp
Ok, I added a private ICameraSceneNode pointer (named "intcamera") to my MyEventReceiver class, set up a function to allow passing on the camera from Main.cpp to Receiver.cpp, like this: void MyEventReceiver::setCamera(ICameraSceneNode *passedCamera) { intcamera = passedCamera; //int...
- Thu Apr 26, 2012 7:54 pm
- Forum: Beginners Help
- Topic: Access scene nodes from out of Main.cpp
- Replies: 20
- Views: 1100
Re: Access scene nodes from out of Main.cpp
Oh, now I get what you mean!! Yeah, that should work alright! Thanks!
- Thu Apr 26, 2012 7:36 pm
- Forum: Beginners Help
- Topic: Access scene nodes from out of Main.cpp
- Replies: 20
- Views: 1100
Re: Access scene nodes from out of Main.cpp
I do know all that (what classes are, and that MyEventReceiver is a class). But both the definition and implementation of MyEventReceiver are outside the scope of the Irrlicht device and scene nodes definitions/initializations, so the problem persists even with your solution. I mean, I could create ...
- Thu Apr 26, 2012 7:09 pm
- Forum: Beginners Help
- Topic: Access scene nodes from out of Main.cpp
- Replies: 20
- Views: 1100
Access scene nodes from out of Main.cpp
I've been trying to code an Event receiver on a dedicated .cpp file. At certain point, I need to access the camera scene node from Main.cpp... But on Receiver.cpp's scope, there is no such thing as "camera", "smgr", etc (which gives me a compile error). I've tried using extern ke...
- Sat Apr 21, 2012 10:36 pm
- Forum: Beginners Help
- Topic: Need a simple-animated model to start off...
- Replies: 2
- Views: 468
Need a simple-animated model to start off...
Is it possible I can't find a SINGLE model online with an animated soldier? Not even a basic one? All I need is a character who will run and duck aiming a gun. Any format. Any clothes. Anything. But I can't even find a soldier model with a run animation. I've been looking for one for almost a week n...
- Fri Apr 20, 2012 8:06 pm
- Forum: Everything 2d/3d Graphics
- Topic: How to use Blender .b3d exporter?
- Replies: 16
- Views: 12326
Re: How to use Blender .b3d exporter?
The problem is... I don't know how to install irrlicht plugins. Do I copy the .py file to blender\scripts\addons? I do know how to work with blender, though... btw, I also found the DirectX Exporter for Blender at http://xoomer.virgilio.it/glabro1/python241.html . I read at Irrlicht wiki that .b3d i...
- Fri Apr 20, 2012 7:32 pm
- Forum: Everything 2d/3d Graphics
- Topic: How to use Blender .b3d exporter?
- Replies: 16
- Views: 12326
How to use Blender .b3d exporter?
I'm trying to learn how to export a blender animation into .b3d format with the new converter: http://supertuxkart.svn.sourceforge.net ... runk/util/
But how do I use this? It's a java file... How does this work?
But how do I use this? It's a java file... How does this work?
- Thu Apr 19, 2012 8:31 pm
- Forum: Project Announcements
- Topic: Commands of War RTS project -beginner looking for volunteers
- Replies: 3
- Views: 2925
Re: Commands of War RTS project -beginner looking for volunt
Yes, the point is to focus on the gameplay side (that includes the AI suggestions you gave) instead of the graphic bells-and-whistles-and-hollywood-explosions! :) Mainstream commercial industries already focus enough on the graphical approach; and it would be ideal to keep those system requirements ...
- Tue Apr 17, 2012 11:32 pm
- Forum: Project Announcements
- Topic: Commands of War RTS project -beginner looking for volunteers
- Replies: 3
- Views: 2925
Commands of War RTS project -beginner looking for volunteers
Hello, everyone! I'm a novice C++ programmer and I started recently to dive into the world of game programming. After a lot of research and self-teaching, I found out about Irrlicht, and tried to get familiarised with this API. The main motivator for all this is an idea for a Real Time Strategy game...