Search found 12 matches

by jerky
Thu Sep 29, 2005 5:40 pm
Forum: Irrlicht.NET
Topic: ISceneNodeAnimator
Replies: 2
Views: 1555

Here's one workaround using the .NET System.Threading.Timer


class MySceneNodeAnimator {
private ISceneNode nodeToAnimate;
MySceneNodeAnimator(ISceneNode nodeToAnimate) {
this.node = nodeToAnimate;
}
public void animate() {
/* do animation stuff on scene node here */
}
}

class MainClass ...
by jerky
Thu Sep 29, 2005 4:28 pm
Forum: Irrlicht.NET
Topic: Problem with GetCollisionPoint(). Help me !
Replies: 2
Views: 1656

Just test the triangle against one that has a value of (0,0,0)


Triangle3D zeroTriangle = new Triangle3D();
if(scene.SceneCollisionManager.GetCollisionPoint(line, selector, intersection, triangle) && !triangle.Equals(zeroTriangle))
{ /*etc. */ }


The same problem exists in "normal c ...
by jerky
Thu Sep 29, 2005 4:18 pm
Forum: Irrlicht.NET
Topic: ISceneNodeAnimator
Replies: 2
Views: 1555

ISceneNodeAnimator

In "normal" c++ Irrlicht, you could make your own scene node animators by inheriting the ISceneNodeAnimator class

class MySceneNodeAnimator : public ISceneNodeAnimator {
void animateNode(ISceneNode node, timeMs) {
// animation stuff here
}
}


But in C#, you can no longer inherit ...
by jerky
Tue Sep 27, 2005 6:00 pm
Forum: Irrlicht.NET
Topic: Is it possible to use Irrlicht and Windows Forms?
Replies: 12
Views: 4710

nice job, trg!

to be a bit more concise, i'll add some simple c# code.
notice that:
1) to keep Irrlicht from hogging all of your resources, run it in a different thread (see below)
2) as an interesting side note, the Dimension2D that you pass to the IrrlichtDevice has no effect on the size of the ...
by jerky
Mon Sep 19, 2005 1:13 pm
Forum: Project Announcements
Topic: JohnnyAppleseed: Irrlicht Terrain Editor
Replies: 26
Views: 32706

i want to compile the example from ur site but theres a linker error
hmmm...
I compiled the .lib file from Visual Studio 7.0 using a "static
library" compile option. To be honest, I'm not really that competant
with all of the options of Visual Studio.

I'd suggest downloading the source code ...
by jerky
Sat Aug 27, 2005 4:47 pm
Forum: Project Announcements
Topic: JohnnyAppleseed: Irrlicht Terrain Editor
Replies: 26
Views: 32706

Thanks for the feedback.
I did notice the JohnnyAppleseedReader::getSceneNode error, and have released an updated version.

http://home.cwru.edu/~jcp16/johnnyappleseed/download.html

Please take note that there were other changes as well; they are documented on the above web page.

As for the ...
by jerky
Tue Aug 23, 2005 11:02 am
Forum: Project Announcements
Topic: JohnnyAppleseed: Irrlicht Terrain Editor
Replies: 26
Views: 32706

No, no mfc. It's written using Microsoft .NET and Windows Forms.

The resource GUI used for the scene node properties is called a "property grid". A nice tutorial is at http://www.codeproject.com/vb/net/using ... tygrid.asp
by jerky
Sat Aug 20, 2005 7:32 pm
Forum: Advanced Help
Topic: Big problem with engine shutdown after loading a mesh file
Replies: 9
Views: 1300

Whoops! ok, thanks.
by jerky
Thu Aug 18, 2005 10:00 pm
Forum: Project Announcements
Topic: JohnnyAppleseed: Irrlicht Terrain Editor
Replies: 26
Views: 32706

I hope that the application is not that difficult to use. You can, for instance, select a whole group of scene nodes, and if they all require the same texture, add it only once.

As for the extra file created, the reason I implemented this (and didn't add a directly compile option) was so that the ...
by jerky
Thu Aug 18, 2005 6:02 pm
Forum: Project Announcements
Topic: JohnnyAppleseed: Irrlicht Terrain Editor
Replies: 26
Views: 32706

Sorry about all of the confusion...

JohnnyAppleseed was written with Irrlicht v0.10, so running it with v0.11 will cause this "Failed to load resources from resource file. Please check your setup" error.

I have included Irrlicht.dll v0.10 with the download! Any will upgrade to Irrlicht v0.11 as ...
by jerky
Wed Aug 17, 2005 8:41 am
Forum: Project Announcements
Topic: JohnnyAppleseed: Irrlicht Terrain Editor
Replies: 26
Views: 32706

JohnnyAppleseed: Irrlicht Terrain Editor

I've been working on a terrain editor for Irrlicht for several months now. Please take a look at it. I hope it is a help. It was awfully fun to write.

JohnnyAppleseed offers dynamic alteration of scene nodes, textures, etc., point-and-click scene node addition, first-person shooter camera with ...
by jerky
Sun Aug 14, 2005 5:03 am
Forum: Advanced Help
Topic: Big problem with engine shutdown after loading a mesh file
Replies: 9
Views: 1300

i have had this problem also.

here are some of the symptoms:

ISceneNode* node = smgr->addMeshSceneNode(mesh->getMesh(0));
while (device->run()) {
//...
}
device->drop();

this gives run-time error "Unhandled Exception at.... "

however, both

ISceneNode* node = smgr->addMeshSceneNode(mesh ...