Tut 14 & vb.net

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
the_user
Posts: 5
Joined: Tue Sep 13, 2005 8:18 pm
Location: East Germany

Tut 14 & vb.net

Post by the_user »

Hi,
works Irrlicht.net with picturebox handels?

I try:

Code: Select all

Dim device As New IrrlichtDevice( _
			    Irrlicht.Video.DriverType.DIRECT3D9, New Dimension2D(Me.pictureBox1.Width , Me.pictureBox1.Height ), _
                32, False, False, False, False, me.pictureBox1.Handle)
I can't see the engine, but the cpu pull up.
But i try this and this work and the cpu pull up:

Code: Select all

Dim device As New IrrlichtDevice( _
			    Irrlicht.Video.DriverType.DIRECT3D9, New Dimension2D(Me.pictureBox1.Width , Me.pictureBox1.Height ), _
                32, False, False, False, False, me.Handle)
How can i use a picturebox ??
the_bob
Posts: 37
Joined: Fri Dec 09, 2005 6:49 pm
Location: Michigan

Post by the_bob »

Check out Tutorial 9 in the wiki. I used a panel for that particular case, but I would imagine a picture box would work similarly.
3D in .NET - Who would've guessed!
the_user
Posts: 5
Joined: Tue Sep 13, 2005 8:18 pm
Location: East Germany

Post by the_user »

But this is cs.net.
Have anybody a solution for vb.net?
Braneloc
Posts: 68
Joined: Fri Jan 20, 2006 5:12 am
Location: England
Contact:

Post by Braneloc »

There is a converter available online (and in sharpdevelop) that will convert C# into VB (and back again).

To save you some time, I ran the_Bob's suggestion(tutorial 9, c#) through it, and posted the results on the wiki.

http://www.irrforge.org/index.php/VB_Tutorial_9
http://www.irrforge.org/index.php/.cs_to_.vb
Sometimes you've just gotta say, the laws of time and space, who gives a smeg ?!

Irrlicht.Net Information - http://www.irrforge.org/index.php/.net
Irrlicht# (aka the C# port) - http://irrlichtsharp.sourceforge.net
the_user
Posts: 5
Joined: Tue Sep 13, 2005 8:18 pm
Location: East Germany

Post by the_user »

Thank you!
I have use the converter and is work!! :mrgreen: :mrgreen: :mrgreen: :mrgreen:
Locked