Search found 7 matches

by groats
Sat Aug 05, 2006 10:04 am
Forum: Irrlicht.NET
Topic: Load a 3ds Modle with Texture
Replies: 4
Views: 3801

Surely you shouldn't need to set the texture, since the 3ds file contains the references to the texture files?

Try loading it in something like delgine http://www.delgine.com/ .

If you export it out as a .x or .dmf file you can open it in a texteditor and see the file links. Also you can fix any ...
by groats
Tue May 02, 2006 5:08 pm
Forum: Irrlicht.NET
Topic: snow
Replies: 3
Views: 2120

For snow go to http://zenprogramming.tripod.com/ has a great solution, unfortunately its written in C++ so heres the C# port. Just pop over to Zenprogramming to download the original to get the images for the snow particles.


private void StartSnowing()
{
IParticleSystemSceneNode ps = device ...
by groats
Tue May 02, 2006 5:02 pm
Forum: Irrlicht.NET
Topic: IMeshBuffer
Replies: 13
Views: 8434

Heres Nezumi's great little Ode trimesh method in C# for anyone that needs it.


protected ODE.Geoms.TriMesh createTriMesh(IAnimatedMesh mesh)
{
int i, j, ci, cif, cv;
int indexcount = 0;
int vertexcount = 0;
IMesh omesh = mesh.GetMesh(0);

// count vertices and indices
for (i = 0; i ...
by groats
Tue May 02, 2006 4:52 pm
Forum: Irrlicht.NET
Topic: Can any write me an example of 3rd Person in c#
Replies: 2
Views: 1554

how about making the Camera a child of the target node ( your character )
something like:



ISceneNode target; /* SceneNode to Chase */

Camera.Position = new Vector3D(0, 150, -250);
Camera.Target = target.Position;
target.AddChild(cam);


just adjust the x,y,z of the vector to position your ...
by groats
Tue Apr 25, 2006 3:48 pm
Forum: Irrlicht.NET
Topic: getMeshBuffer() in 1.0?
Replies: 2
Views: 1521

Nope not in 1.0 :(, however Guest2 has made a class that works just fine for me
http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?t=12493&highlight=imeshbuffer

You need to rebuild the just the irrlicht.NET wrapper again to incorporate the new files ( just add them to the project )
Hope this ...
by groats
Tue Mar 21, 2006 4:13 pm
Forum: Beginners Help
Topic: C# Vectors
Replies: 4
Views: 409

ok, the protoype of the c# is a little different than the C++, the first param
is null if you don't want to set a parent node and you need to set the radius and an id, in this case I have chosen 50 for the radius and -1 (for no id.)

ILightSceneNode light = smgr.AddLightSceneNode(null, new Vector3D ...
by groats
Tue Mar 21, 2006 11:54 am
Forum: Beginners Help
Topic: C# Vectors
Replies: 4
Views: 409

In c# you need to use the new keyword to make a new instance of the Vector3d and Colorf i.e

ILightSceneNode light = smgr.AddLightSceneNode(0, new Vector3D(-15, 5, -105), new irr.video.SColorf(1.0f, 1.0f, 1.0f));

hope this helps