Search found 131 matches

by benny53
Tue Jul 22, 2008 3:43 pm
Forum: Beginners Help
Topic: event receiver alternatives
Replies: 16
Views: 425

I am using this for now until I one to better fit my needs.

http://irrlicht.sourceforge.net/phpBB2/ ... ight=input
by benny53
Mon Jul 21, 2008 6:53 am
Forum: Beginners Help
Topic: #include <irrlicht.h> Error.
Replies: 13
Views: 309

You probably don't have the include path set correctly. To test, right click on the #include <Irrlicht.h> then Open Document. If it opens, thats a little odd as to why it can't find the namespace irr even, but if it doesn't, get everything set.
by benny53
Mon Jul 21, 2008 5:40 am
Forum: Beginners Help
Topic: IAnimatedMesh::getMeshBufferCount() returns 0.
Replies: 3
Views: 120

Ok everybody, solved it. Turns out when I tried to get the mesh buffer count of an IAnimatedMesh it gives a 0 for the count. Which does somewhat make sense. But now I have everything working great + every primitive of havok integrated now ^^
by benny53
Fri Jul 18, 2008 11:21 pm
Forum: Beginners Help
Topic: IAnimatedMesh::getMeshBufferCount() returns 0.
Replies: 3
Views: 120

I'm using 4.1.1. This is aggravating as I have everything but triangle meshes working from Havok in Irrlicht, but these dang mesh shapes are giving me trouble.
by benny53
Fri Jul 18, 2008 4:39 pm
Forum: Beginners Help
Topic: IAnimatedMesh::getMeshBufferCount() returns 0.
Replies: 3
Views: 120

IAnimatedMesh::getMeshBufferCount() returns 0.

It seems that the IAnimatedMesh::getMeshBufferCount() method returns 0 all the time for me. At least, if the mesh does have multiple mesh buffers. Otherwise it will work correctly. Any ideas on why it would do this?
by benny53
Fri Jul 18, 2008 9:44 am
Forum: Project Announcements
Topic: Excellence of Irrlicht
Replies: 14
Views: 4036

Haha, wow, I enjoyed this game. I can't seem to hurt the dragon though!!
by benny53
Thu Jul 17, 2008 4:09 am
Forum: Beginners Help
Topic: [SOLVED]How to add a parameter to the command line?
Replies: 7
Views: 261

You would have to modify the main entry point a bit. You would have: int main(int argc, char* argv[]) { } What this would do is argc would be the number of arguments. And then from there you could get the arguments. argv[0] would be the file name. So if argc isn't equal to two or greater then there ...
by benny53
Thu Jul 17, 2008 1:01 am
Forum: Beginners Help
Topic: Which Map FileFormat is easiest to use with IrrNewt?
Replies: 2
Views: 110

I would assume they'd all be the same unless of course you are using different type of vertices, for instance the S3DVertex versus the S3DVertex2TCoords ( I believe that is the vertex type ). Now, this also assumes you aren't doing any special parsing method for loading the triangle meshes directly ...
by benny53
Fri Jun 13, 2008 4:52 pm
Forum: Beginners Help
Topic: Rotation node by quaternion.
Replies: 25
Views: 1866

If it is the hkQuaternion not being normalized, you could use hkQuaternion::normalize(). If its the vector3df, you can use vector3df::normalize().
by benny53
Fri Jun 13, 2008 6:53 am
Forum: Beginners Help
Topic: Rotation node by quaternion.
Replies: 25
Views: 1866

@Slaine, I basically just morphed some code I was using to test irrlichts ability to integrate with Havok. I had, although, messed the code up I posted before. Here are some working functions for this: Edit - Well now its complaining about the quaternion not being 16 bit aligned or something of that...
by benny53
Thu Jun 12, 2008 4:38 pm
Forum: Beginners Help
Topic: Rotation node by quaternion.
Replies: 25
Views: 1866

Perhaps one of my files will be of some value to you. It is a file called "IHkConversionUtilities.h", which includes using three floats to make a rotation in an hkQuaternion. Here is the file: #pragma once #include <Irrlicht.h> #include "IrrHkInclude.h" using namespace irr; using...
by benny53
Wed Jun 11, 2008 4:12 pm
Forum: Beginners Help
Topic: Rotation node by quaternion.
Replies: 25
Views: 1866

I have started working with the hkpExtendedMeshShape. It seems really easy to use actually, so should be fun. Then I go on to character controllers and such. Only thing is, I'm not sure if I'm going to actually create a framework or library to use this within Irrlicht because the Havok SDK natively ...
by benny53
Tue Jun 10, 2008 4:30 pm
Forum: Beginners Help
Topic: Rotation node by quaternion.
Replies: 25
Views: 1866

Ahh yes, Havok can be quite odd to work with. How far are you on integrating Havok?
by benny53
Mon Jun 09, 2008 5:49 am
Forum: Beginners Help
Topic: Rotation node by quaternion.
Replies: 25
Views: 1866

Chances are, that is what it is. However, thankfully I got everything working. I'm also developing an input system for irrlicht which uses dinput and xinput, so unfortunately ( I believe ) that will only work on windows.
by benny53
Sun Jun 08, 2008 3:36 pm
Forum: Beginners Help
Topic: Rotation node by quaternion.
Replies: 25
Views: 1866

Yeah, its probably Havok, as it uses a meter scale. They also recommend using a meter scale. But if anyone wants it, I suppose I'll start working on one. IrrHk I guess I'll call it.