Search found 18 matches
- Thu Sep 10, 2009 12:17 am
- Forum: Beginners Help
- Topic: problems when loading relative files referenced by an IRR
- Replies: 2
- Views: 153
problems when loading relative files referenced by an IRR
I have been trying to load irr files from my code, just like the tutorials do. Simple example load with no problems, but if I create an irr file and reference textures from it, irr licht just can't find the textures when I load the irr file from my program. The solution for me was to edit the irr fi...
- Tue Sep 02, 2008 6:12 pm
- Forum: Beginners Help
- Topic: animation?
- Replies: 16
- Views: 1029
- Mon Sep 01, 2008 12:35 am
- Forum: Beginners Help
- Topic: animation?
- Replies: 16
- Views: 1029
Have you seen tutorial 3, custom scene node? If you can create a custom loader, you could use a custom scene nodo and do whatever you want. However, I see no problems in loading a mesh using IMeshLoader (see reference api). This interface has a method virtual IAnimatedMesh * createMesh (io::IReadFil...
- Fri Aug 29, 2008 7:14 pm
- Forum: Beginners Help
- Topic: video multiplatform
- Replies: 6
- Views: 346
- Fri Aug 29, 2008 7:07 pm
- Forum: Beginners Help
- Topic: video multiplatform
- Replies: 6
- Views: 346
I found a lib which seems to do what I want:
http://www.arjanhouben.nl/SDL_ffmpeg/
However, it's based on SDL... There is no way to integrate it with an irrlicht video device, is there?
http://www.arjanhouben.nl/SDL_ffmpeg/
However, it's based on SDL... There is no way to integrate it with an irrlicht video device, is there?
- Thu Aug 28, 2008 4:51 pm
- Forum: Beginners Help
- Topic: video multiplatform
- Replies: 6
- Views: 346
so... I could use ifdefs... And I am trying some things here with that post of open cv. However, the post says nothing about sound and you need to advance in frames manually... There is no file buffer done automatically or thing like that... I was not expecting to worry this much about technology, I...
- Thu Aug 28, 2008 2:20 pm
- Forum: Beginners Help
- Topic: video multiplatform
- Replies: 6
- Views: 346
video multiplatform
Hello, I would like to display a video (with sound) when my game starts. I looked for it on the forum and I found some messages describing ways to display video on irrlicht, but it seems all of them are specific for windows. I am developing my game on windows, using mingw + eclipse, but the producti...
- Tue Aug 12, 2008 2:06 am
- Forum: Beginners Help
- Topic: screen coordinates, from the camera point of view
- Replies: 6
- Views: 4230
- Tue Aug 12, 2008 12:23 am
- Forum: Beginners Help
- Topic: 3d in front of camera
- Replies: 6
- Views: 370
No, it happens to basic cameras as well... I will try to compile it with visual studio and on linux later, to see it that still happens, but it's weird... It seems the screen is being draw at the same time the coordinates are being updated. Here is the full code I have used: #include <irrlicht.h> us...
- Mon Aug 11, 2008 4:50 pm
- Forum: Beginners Help
- Topic: screen coordinates, from the camera point of view
- Replies: 6
- Views: 4230
Now it worked fine! Thanks a lot!! Just to understand a little better what I am doing, may you tell me what exactly this line means? core::line3df topRay = smgr->getSceneCollisionManager()->getRayFromScreenCoordinates( topScreenPosition, smgr->getActiveCamera()); Is it getting an horizontal line tha...
- Mon Aug 11, 2008 4:46 pm
- Forum: Beginners Help
- Topic: 3d in front of camera
- Replies: 6
- Views: 370
rogerborg, Thanks a lot, that was exactly what I needed to know! I set the camera's target up and now it works the way I want, but... when I run your sample app with that line uncommented (and the same happens to my app), the node kind of flickers on the scene... It is not really stopped (from the c...
- Mon Aug 11, 2008 12:21 pm
- Forum: Beginners Help
- Topic: screen coordinates, from the camera point of view
- Replies: 6
- Views: 4230
rogerborg, Thanks a lot for replying my message. I tried what you suggested, but it didn't work... Could I have done something wrong? I have a screen resolution of 720 x 480. I have used the following piece of code: { smgr->setActiveCamera(camera); enum { DRAW_DISTANCE = 100 /* adjust empirically ba...
- Mon Aug 11, 2008 12:14 pm
- Forum: Beginners Help
- Topic: 3d in front of camera
- Replies: 6
- Views: 370
JP, Thanks for replying my message. and Thank you for saying it wasn't clear, I need to keep improving my english and any feedback is good for me! :D What I want is really have my object in a position relative to my camera. If my camera is at world screen coordinates 100,100,100 and my object have c...
- Sun Aug 10, 2008 4:40 am
- Forum: Beginners Help
- Topic: screen coordinates, from the camera point of view
- Replies: 6
- Views: 4230
screen coordinates, from the camera point of view
I would like to animate an object from the top of the screen to the bottom of the screen. How can I get the coordinates of a 3d point in the top of the screen and the coordinates of a 3d point in the bottom?
Thanks in advance
[]s
Thanks in advance
[]s
- Sun Aug 10, 2008 4:37 am
- Forum: Beginners Help
- Topic: 3d in front of camera
- Replies: 6
- Views: 370
3d in front of camera
Hello, I created a camera like this: camera = smgr->addCameraSceneNode(0, core::vector3df(0, 0, -300), core::vector3df(0, 0, 0)); camera->addAnimator(smgr->createFlyCircleAnimator(core::vector3df(0, -120, 0), 70, 0.002, core::vector3df(0.01f, 0.01f, 0.01f))); I tried to put a scene node as child of ...