Page 1 of 1

IrrlichtBB - Irrilicht Wrapper for BASIC

Posted: Sat Mar 12, 2005 10:37 pm
by theduck
Hi all!

I have been working on an Irrlicht wrapper for 2 days now. It is a thingie that allows people using BASIC (Specifically Blitz3D and BlitzPlus) to be able to use the Irrlicht Engine in it. :) Just thought I'd post it here. Make sure its legal. :P

Worklog & Screenies >> http://blitzbasic.com/logs/userlog.php? ... 16&log=445



Also - Anybody have any webspace for a little subdomain I could have? I don't have anyway to have it Downloaded otherwise. :/

Posted: Sun Mar 13, 2005 8:54 am
by niko
Hehe, very cool, remembers me when I used to write software in GWBasic. :)
So currently it is not possible to download it from anywhere?

Posted: Sun Mar 13, 2005 1:27 pm
by theduck
Yup, Nowhere to download. I got no webspace. Or website. :/
Are you the 'niko' that appeared on blitzbasic.com? There was one there.

Heres some screenies:
Image
http://img191.exs.cx/my.php?loc=img191& ... les8mr.png < Big Pic

Image
http://img57.exs.cx/my.php?loc=img57&im ... pic1oy.png < Big Pic

Image
http://img227.exs.cx/my.php?loc=img227& ... pic4ux.png < Big Pic

Image
http://img165.exs.cx/my.php?loc=img165& ... ire3nx.png < Big Pic

Posted: Sun Mar 13, 2005 3:23 pm
by AlexL
theduck,
Check your PM's, I'm able to help with your webspace problem :)

Posted: Sun Mar 13, 2005 4:17 pm
by theduck
Thanks a lot AlexL!
Replied! ^-^

Posted: Mon Mar 14, 2005 3:38 am
by AlexL
I just gave this a test run through Blitz3D and BlitzPlus, but everytime I tried to run the included demo's or one of my own I got a MAV :? Not sure if it's just me as I haven't updated Blitz3D to the latest yet, or if it's something in the code. Just thought I'd let you know.

Posted: Mon Mar 14, 2005 4:56 am
by theduck
Hmmmm... Post the source and the files located in the folders (you need the dlls in it), if its possible please.

-Did you put BOTH dlls and the decls file in the Blitz userlib folder?
-Did you make sure to create the irrlicht device?
-Are the irrlicht functions hilighted in IDE?
-Are you using GFX modes your computer can use? (Both of my demos on there are 32 bit depth, which may be why)

Thanks. Please respond soon.

P.S. - Also try running it in debug mode, as it might not be an IrrBB problem. If it is, it will most likely say, "Userlib not found"

Posted: Mon Mar 14, 2005 5:14 am
by AlexL
I'm currently testing with your starwars_demo source, and to answer the first three questions; yes. As for the fourth, my graphics card, GeForce FX5800, can support the resolution mode set by the code. Here's a screenshot of the BlitzIDE when I get the error message, hope it helps and we can get this worked out soon.

Image

Posted: Mon Mar 14, 2005 7:48 am
by vermeer
Really interersting thing...There are many Blitz3d coders that surely will like to play with several Irrlicht features, and this way they can have extra projects in which they aim to do things they can't do with the dx7 rendering of B3d...

IE, it does not support spline interpolation...in b3d anims. I am not sure but I suppose irrlicht *.x dx8 can....

Besides having a rendering engine -irrlicht- that is not freezed, and continues evolving (and even is open source!)

Blitz3d is a great product, and I know the b3d coders will love this what you are making. I know already some that have been (and surely are) very interested in Irrlicht.

Posted: Mon Mar 14, 2005 8:34 pm
by Guest
AlexL: Are you running it on Mac!?!?!?!!? 0.o Or windowblinds? I found out that sometimes Blitz messes up with windowblinds themes (!). Why do you have 4 Blitzcc.exe's running? If they are multiple runs, it messes up sometimes. Hope it all works out... Also try running debug on, and see what error it says. :)

vermeer: I know a whollllle bunch of b3d coders wanting it, which is why I started making it! :P Thanks for the kind words! Blitz3D is a pretty good product, but its rendering engine kinda sucks (dx7), so I also thought of making a wrapper. I was thinking OGRE, Irrlicht, or Allegro. And obviously I chose this! :P Maybe a physics wrapper next.... ODE? Newton? Axis? ...hmmm..


I've had a lot more people test it and it works for them now, and a lot volunteer to make demos too! :)

Posted: Mon Mar 14, 2005 9:25 pm
by AlexL
EDIT : Alrighty, I finaly got it working correctly. I ended up having to place the DLL's in the "%b3droot%/bin/" directory for it to be able to run from the IDE, it was able to run from a compiled exe before hand. Bit weird if you ask me, but as long as it's working now :wink:

Posted: Tue Mar 15, 2005 2:15 am
by theduck
Heh! Very strange! Nobody else has had to do that! :P Odd...
Yay! 100% success rate so far! And 10/10 rated on blitzcoder.com! ^-^

Glad to hear it works! :)