Vb.net express edition

Irrlicht.Net is no longer developed or supported, Irrlicht.Net Cross Platform is a much more complete wrapper. Please ask your C# related questions on their forums first.
Locked
s4lbullet
Posts: 3
Joined: Sun Mar 11, 2007 3:19 am

Vb.net express edition

Post 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
jingquan
Posts: 222
Joined: Sun Aug 20, 2006 4:10 am
Contact:

Post 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.
jingquan
Posts: 222
Joined: Sun Aug 20, 2006 4:10 am
Contact:

Post 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.
s4lbullet
Posts: 3
Joined: Sun Mar 11, 2007 3:19 am

Post by s4lbullet »

For the load model code where do I put that in
Module Module1

Sub Main()

End Sub

End Module
s4lbullet
Posts: 3
Joined: Sun Mar 11, 2007 3:19 am

Post by s4lbullet »

Actually can u post a full code with the declarations and everything to play a irr map file Im new sry
jingquan
Posts: 222
Joined: Sun Aug 20, 2006 4:10 am
Contact:

Post by jingquan »

See tutorial one, it has more or less the template you can play around with.
Locked