Search found 14 matches

by Kim2
Wed Sep 26, 2007 6:34 pm
Forum: Game Programming
Topic: Importing a large number of objects from 3d studio
Replies: 1
Views: 990

Importing a large number of objects from 3d studio

What's the best way to import larges number of the same kind of object? Is there a way to export object position/orientation data to a text file?

Thanks
by Kim2
Sat Sep 15, 2007 1:26 pm
Forum: Game Programming
Topic: ISceneNode -> Newton body
Replies: 2
Views: 1854

Here's the full code for the class: #include "StdAfx.h" #include "physicsman.h" #include "Material.h" #include "dMatrix.h" #include "dVector.h" #include <Irrlicht.h> dMatrix playerLocNewt; float playerLocX; float playerLocY; float playerLocZ; dMatrix...
by Kim2
Sat Sep 15, 2007 4:37 am
Forum: Game Programming
Topic: ISceneNode -> Newton body
Replies: 2
Views: 1854

ISceneNode -> Newton body

Hello guys. I am wondering how I can pass an ISceneNode in my project: mesh = Sys.smgr->getMesh("data/plate.3ds"); node = Sys.smgr->addAnimatedMeshSceneNode(mesh); physicsman.createCube(node); That is how I am calling the function which will create the physics body; this function needs the...
by Kim2
Sat Sep 15, 2007 4:27 am
Forum: Game Programming
Topic: Need Newton Tutorial ?
Replies: 4
Views: 2149

See my reply to Dejai in his thread for a small working newton project.
by Kim2
Sat Sep 15, 2007 4:23 am
Forum: Game Programming
Topic: Terrain and objects collision with IrrNewt...
Replies: 6
Views: 2063

This might help you Mushketer, it's a small project I made that uses convex hulls, static meshes, materials and a few other functions of newton with 3ds files. You control a space ship that moves with the application of forces and torque, and if you uncomment a few things you can shoot projectiles. ...
by Kim2
Sat Sep 15, 2007 4:20 am
Forum: Game Programming
Topic: Physics, Reliability And Open Source? I need a physics engin
Replies: 44
Views: 7905

This might help you dejai, it's a small project I made that uses convex hulls, static meshes, materials and a few other functions of newton with 3ds files. You control a space ship that moves with the application of forces and torque, and if you uncomment a few things you can shoot projectiles. Turn...
by Kim2
Tue Sep 11, 2007 12:09 am
Forum: Beginners Help
Topic: Object oriented with Irrlicht
Replies: 3
Views: 306

Never mind, got it. Should have been:

Code: Select all

	
mesh = Sys.smgr->getMesh("data/smallcube.3ds");
node = Sys.smgr->addAnimatedMeshSceneNode(mesh);
Thanks for your help!
by Kim2
Mon Sep 10, 2007 11:52 pm
Forum: Beginners Help
Topic: Object oriented with Irrlicht
Replies: 3
Views: 306

#include "StdAfx.h" #include "Newton/physicsman.h" #include "IrrlichtMan.h" #include "Plate.h" extern IrrlichtMan Sys; // Default constructor Plate::Plate() { printf("\nPlate created.\n"); mass = 2; width = 3; length = 4; //platePos = (0, 0, 0); mes...
by Kim2
Mon Sep 10, 2007 11:16 pm
Forum: Beginners Help
Topic: Object oriented with Irrlicht
Replies: 3
Views: 306

Object oriented with Irrlicht

Hello guys. I am working on a basic physical simulation using Irrlicht in combination with Newton but being new to programming I have run into some problems. #include "StdAfx.h" #include "Newton/physicsman.h" //________________________________________________________ // Default c...
by Kim2
Fri Jun 01, 2007 3:32 pm
Forum: Beginners Help
Topic: Mouse pos reported as 0, clicks work, irrlicht & DX8
Replies: 4
Views: 218

Also wondering, if I use the maya cam but I want to change it so it rotates without needing a button hold and is slower to rotate, how would I do this?

Edit:

Found it in ISceneManager.h and edited the values, now I just need to work out the freeform rotation without needing to click!
by Kim2
Thu May 31, 2007 10:39 am
Forum: Beginners Help
Topic: How to set the init view of a FPS camera?
Replies: 2
Views: 198

In your init function

Code: Select all

// add the camera
cam = smgr->addCameraSceneNodeFPS();
cam->setPosition(vector3df(x, y, z));
cam->setTarget(vector3df(x, y, z));
That will set it up. If you want to move the camera around and change its target you do that with the same calls in your render function.
by Kim2
Thu May 31, 2007 6:14 am
Forum: Beginners Help
Topic: Mouse pos reported as 0, clicks work, irrlicht & DX8
Replies: 4
Views: 218

I changed the camera from FPS to just camerascenenode and it still gives a position locked at 0. Guess it wasn't that. Edit: If someone could just tell me why the event receiver doesn't work in this code and how to fix it the problem would be solved because I could use the irrlicht mouse input. The ...
by Kim2
Thu May 31, 2007 5:59 am
Forum: Beginners Help
Topic: Mouse pos reported as 0, clicks work, irrlicht & DX8
Replies: 4
Views: 218

Damn that might be it.

Is there any way around this or do I need to use my own camera class?
by Kim2
Thu May 31, 2007 12:56 am
Forum: Beginners Help
Topic: Mouse pos reported as 0, clicks work, irrlicht & DX8
Replies: 4
Views: 218

Mouse pos reported as 0, clicks work, irrlicht & DX8

Hi guys, Because I read that the eventreceiver is not functioning correctly in .NET at this time I am trying to use directInput for my mouse control but I am having some problems. The mouse functions are executing and I can get the mouse button clicks but the movement of the cursor (which is stored ...