Search found 16 matches

by Mindl
Fri Mar 04, 2011 4:15 am
Forum: Beginners Help
Topic: Im struggeling with hello world Prodject
Replies: 6
Views: 433

There are a couple of places in the unmodified helloworld.cpp that test to make sure a resource was loaded properly and if not it doesn't try to "robustly" handle the error, but rather, "fails gracefully". In particular... IAnimatedMesh* mesh = smgr->getMesh("../../media/sy...
by Mindl
Sun Feb 27, 2011 7:21 am
Forum: Beginners Help
Topic: Im struggeling with hello world Prodject
Replies: 6
Views: 433

I'm having this problem as well when I compile the Hello World demo. The pre-compiled demo works as it should. Also when I run a debug on the source it works fine. Only doesn't when I compile and try to run on its own.
by Mindl
Tue Jul 13, 2004 1:42 am
Forum: Advanced Help
Topic: Terrain w/ Newton
Replies: 1
Views: 570

Not sure why it would do that with the addTerrainMesh, maybe try using the Terrain generator plugin of Milksahp and generating the terrain mesh that way, then load it as a regular mesh and collision should work with that no problem.

-Mindl
by Mindl
Sat Jul 10, 2004 2:24 am
Forum: Advanced Help
Topic: Collision & BSP
Replies: 5
Views: 899

Well what exactly is the getSceneNodeFromRayBB function returning? Is it returning another scenenode or is it returning 0? Also are you just trying to see if the user has clicked on the BSP house on the screen? Or are you trying to find out where exactly at on the BSP house they have clicked? -Mindl
by Mindl
Sat Jul 10, 2004 2:05 am
Forum: Beginners Help
Topic: Access Violation for run->()
Replies: 9
Views: 402

You should make "device" a public variable of the CIrrlichtManager class by declaring it in the public section of the class definition. public: IrrlichtDevice *device; Then you use as warui said device = createDevice(EDT_OPENGL, dimension2d<s32>(800,600), 32, true, false, 0); In the initil...
by Mindl
Fri Jul 09, 2004 2:20 am
Forum: Beginners Help
Topic: Question about ITriangleSelector and animated models
Replies: 7
Views: 484

I would think you only need to create the triangle selcetor for the model once and then use it to initialize a collision animator for the models IAnimatedMeshSceneNode. That should take care of the collision for that node every frame. Hope this helps.

-Mindl
by Mindl
Fri Jul 09, 2004 2:16 am
Forum: Beginners Help
Topic: Switching Game Screens
Replies: 2
Views: 252

I had the same problem when I started working in the engine, but there is a good example program just sitting there waiting for you. Just open up the Demo program code, should be included with the other tutorial code. It is a great place to look for a lot of the basic stuff such as this. It uses a g...
by Mindl
Fri Jul 09, 2004 2:12 am
Forum: Beginners Help
Topic: Access Violation for run->()
Replies: 9
Views: 402

What are you initializing your device as? Just like the tutorial but with EDT_OPENGL ? Maybe post the initialization code for us.

-Mindl
by Mindl
Fri Jul 09, 2004 2:09 am
Forum: Beginners Help
Topic: A little problem with the Hello World tutorial
Replies: 7
Views: 412

You can also try adding the /nodefaultlib:"LIBCD" to the project options. Also if i remember right you need to make sure you have your project is selected as Win32 app if you try to call WinMain. Calling winmain witht he console project will give this error if my memory serves me, so if yo...
by Mindl
Fri Jul 09, 2004 2:02 am
Forum: Beginners Help
Topic: changing distance from camera before nodes are not drawn
Replies: 1
Views: 315

I think you want to set the far value of your camera with camera->setFarValue(f32) the default is 2000.0.f. This sets the far clipping plain to 2000.0f units. So raising or lowering it will affect how long it will take for the map and bullets to stop rendering. Hope this helps.

-Mindl
by Mindl
Thu Jul 08, 2004 11:03 pm
Forum: Advanced Help
Topic: Collision & BSP
Replies: 5
Views: 899

BSP & Collision

Is this BSP node a BSP map of the house? And you want to send a ray out from the camera to see if it intersects somewhere inside of the BSP house? Not to clear on exactly what you want to do. Theoretically it should send back the BSP node if that line intersects with it at all. You might want to try...
by Mindl
Wed Jul 07, 2004 3:45 am
Forum: Beginners Help
Topic: Skybox, is this something done in the level editor or what?
Replies: 2
Views: 283

You add the SkyBox with Irrlicht using irr::scene::ISceneManager::addSkyBoxSceneNode http://irrlicht.sourceforge.net/docu/classirr_1_1scene_1_1ISceneManager.html#a15 For example: ISceneNode* SkyBoxNode = smgr->addSkyBoxSceneNode( "top.jpg", "bottom.jpg", "left.jpg", &qu...
by Mindl
Wed Jul 07, 2004 2:48 am
Forum: Beginners Help
Topic: Camera Position Change on Mouse move
Replies: 2
Views: 361

Moving camera with mouse

You can add a conditonal statement to the OnEvent function to check if the mouse has changed since the last frame using EMIE_MOUSE_MOVED, then use the event.MouseInput.X or event.MouseInput.Y to compare to the old value of the mouse position which you would need to store in a variable. Based on how ...
by Mindl
Wed Jul 07, 2004 2:16 am
Forum: Advanced Help
Topic: a problem of logic with the cursor and a line3D
Replies: 10
Views: 1052

Kind of an annoying problem

I've implemented the code for the collision of the ray sent out from the camera where the mouse is located. I've got a plane with a scene node for the sydney model located on it. Then I have a camera behind and above the model looking down at it with about a 45 degree angle. When I choose a spot on ...
by Mindl
Mon Jul 05, 2004 6:37 am
Forum: Advanced Help
Topic: a problem of logic with the cursor and a line3D
Replies: 10
Views: 1052

Works like a charm

Yep, tried the above out and it works like a charm.

-Mindl