Page 1 of 1

Vb.net express edition

Posted: Sun Mar 11, 2007 3:20 am
by s4lbullet
This is confusing me how do I set up irr in vb.net express and import irredit models pls more detail very confused

Posted: Sun Mar 11, 2007 4:44 am
by jingquan
If searching this forum didn't work, then,

1. Create a new solution and select console application.

2. Add Irrlicht.NET.dll as a reference. Save your solution. Compile it and you'll get an error, which you just ignore it.

3. Then navigate to the folder where you compiled (e.g. gamename/bin/debug)

4. Copy Irrlicht.dll and Irrlicht.Net.dll there if they aren't there.

5. I think you are more of less done, try writing some code and build.

Correct if I'm wrong anywhere, I'm a noob too.

Posted: Sun Mar 11, 2007 4:49 am
by jingquan
To import models,

Code: Select all

Dim map As IAnimatedMesh = smgr.GetMesh("map1/map1.3ds")
This is to load a model. Irrlicht can load .x and many other formats as well.

Code: Select all

Dim mapnode As IAnimatedMeshSceneNode = smgr.AddAnimatedMeshSceneNode(map, Nothing, 1)
Create a node and add the model in game, simple. It can be animated or non-animated too.

Posted: Sun Mar 11, 2007 9:50 pm
by s4lbullet
For the load model code where do I put that in
Module Module1

Sub Main()

End Sub

End Module

Posted: Sun Mar 11, 2007 10:17 pm
by s4lbullet
Actually can u post a full code with the declarations and everything to play a irr map file Im new sry

Posted: Mon Mar 12, 2007 8:10 am
by jingquan
See tutorial one, it has more or less the template you can play around with.