Page 1 of 1

Code conversion examples for (Visual) Basic(.NET) users?

Posted: Thu Apr 09, 2009 1:24 pm
by bogo911
i'm writing this on behalf of my friend who is illiterate to English:

my friend recently got to know of Irrlicht and is totally fascinated with it. But the problem is that he still is a (Visual) BASIC(.NET) person with an intention to learn C++/C# soon (simply to use Irrlicht).

for the time being, he desperately needs:

1) C++ --> BASIC Code converter for Irrlicht SDK, OR
2) examples of Irrlicht SDK code coverted into BASIC.

your help will be greatly appreciated!

David.

Now is the time

Posted: Thu Apr 09, 2009 9:36 pm
by vipergc
You said your friend has the intentions of learning C... if he intends on using Irrlicht... now is the time for him to do just that... I have written a boatload of code in visual basic and while it is certainly conceivable to use the DLL in VB... I would highly suggest that now is the time for your friend to delve into C.... visual basic is a great language and in the hands of an experienced programmer can exhibit amazing speed ... however.. due to the intense nature of 3D games and in spite of the fact that a great portion of that is handled by Irrlicht, C would be the better choice for 3D application development. VB does so much in the background in handling types and conversions, that even with a very knowledgeable programmer, its going to be difficult to write truly playable 3D applications in VB.

Posted: Fri Apr 10, 2009 1:08 am
by Sylence
C will not help using Irrlicht since it's written in C++

Posted: Fri Apr 10, 2009 3:37 am
by vipergc
Technically you are absolutely correct... C and C++ are two different entities.... however, I used C in my text since most compilers invoke C++ in one form or another anyway... I was being generic.. not to mention... I would wager that most people couldn't list the differences between the two.. I still have the white book sitting on my shelf...LOL

Posted: Fri Apr 10, 2009 6:34 am
by Ion Dune
The differences are stark, especially because we are talking about an object oriented API here.

Posted: Fri Apr 10, 2009 4:11 pm
by vipergc
Indeed.. the differences are stark... however.. I think some are missing the main point here... and that is... that the better choice for them is not VB.. but C++

Posted: Fri Apr 10, 2009 4:24 pm
by hybrid
Mabye the FreeBasic wrapper for Irrlicht would help here, or you check the .NET wrapper together with VB.