Jump to content

Au3IrrLicht


A. Percy
 Share

Recommended Posts

He will be developing and dropping by, but he is busy with married life, his volkswagon, and various other things.

Link to comment
Share on other sites

  • 1 month later...
  • Replies 231
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Time to bring this addition back to the top!

I'm not sure if it is something I did, or what yet (I have not had time to do any real testing as I just found out last night before bed)

This doesn't appear to work with windows 7 :(

I pulled out my project I was working on before my hard drive passed away and went to run it. The dlls are in my system32 folder and this au3 file is in my plugins folder. No errors show up when I check syntax, but when I go to run my script, the Irrlitch functions return the error "Unknown Function"

I can't paste the actual code as I am at work right now and it all works on windows xp (what I have at work)

When I get home I will post the exact error message and do some testing and messing around.

010101000110100001101001011100110010000001101001011100110010000

001101101011110010010000001110011011010010110011100100001

My Android cat and mouse game
https://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueek

We're gonna need another Timmy!

Link to comment
Share on other sites

The dlls should be in the project folder, be sure the includes are in the appropriate folders. This works on windows 7 x64, Windows 7, and Vista.

Link to comment
Share on other sites

I just sat down at home. Tried what you said, and yep, it works. Although it does not need to be that way for xp. I installed my project (everything included and extracted from an exe to specific places) on my work pc (xp) which put the dlls in the system32 folder and it ran fine.

I'll have to make some modifications to my install, but thank you, I can continue my project :(

010101000110100001101001011100110010000001101001011100110010000

001101101011110010010000001110011011010010110011100100001

My Android cat and mouse game
https://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueek

We're gonna need another Timmy!

Link to comment
Share on other sites

I believe when you put stuff in the system folders, you need to register them through regserv, or something like that. Most projects using dlls I've seen usually keep the dlls in the same project directory (this avoids cluttering up your system and potentially damaging it.)

Link to comment
Share on other sites

hmmm, no something is still wrong.

The only copy of my project that will run on my pc is the one compiled before I upgraded my pc (it runs with no problem). I have a copy of the au3 file and tried to run that, same unknown function error. I tried to compile the au3 file into an exe (should be the exact same as the previous mentioned exe) same unknown function (also tried to compile in x86 but that didn't help)

I don't have xp installed yet on this pc to test on that OS.

Ok not sure why but when I changed

$toonbox=CreateDeviceOnWindow( $gui,$EDT_OPENGL,100,60, 300, 500, 32,1,1)

to

CreateDeviceOnWindow( $gui,$EDT_OPENGL,100,60, 300, 500, 32,1,1)

(just removed the variable name) it worked. Maybe it's a 3.3.6 thing (I started the program in an earlier version)

Edited by kaotkbliss

010101000110100001101001011100110010000001101001011100110010000

001101101011110010010000001110011011010010110011100100001

My Android cat and mouse game
https://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueek

We're gonna need another Timmy!

Link to comment
Share on other sites

Post the exact error you're getting. It could be anything from unidentified plugin functions to something wrong in your code to something totally new.

Link to comment
Share on other sites

It was

Unknown function $toonbox=CreateDeviceOnWindow

________________________^error

*edit*

I wasn't getting the error before, but the project went on hold when my hard drive crashed. I upgraded Ram, new hard drives and went from XP 32 bit to windows 7 64 bit. Also I think I was at autoit ver 3.2.12.1 before, and now am at v3.3.6

Edited by kaotkbliss

010101000110100001101001011100110010000001101001011100110010000

001101101011110010010000001110011011010010110011100100001

My Android cat and mouse game
https://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueek

We're gonna need another Timmy!

Link to comment
Share on other sites

  • 3 weeks later...

Project Update: I've since discovered that there is a complete, extensive wrapper for Irrlicht that suits our purposes perfectly. Over on the Freebasic forums, FrankDodd has spent the last 4 years creating his Irrlicht Wrapper. There are 299 functions in the current release (and some 9 additional functions being added on Wednesday, it looks like.)

I've wrapped them all. I'm currently working out some kinks and testing the DllStructs.

We've now got:

  • Mesh/Node: General Animation (bone based and mesh morphing), child/parent tree manipulation
  • Scene: Node management, Octtree, collision optimization, Save/Load using IrrEdit
  • 2D: Billboards, Sprites, RenderToTexture
  • Terrain: Tiled Terrain manager (paging terrains), Spherical Terrains, configurable LoD and zone manager
  • Environment: SkyBox, SkyDome, Water, Clouds, Grass
  • Special Effects: Particles, Emitters, Mesh Emitters, Lens Flare, advanced shaders
  • GUI: Image, EditBox, ListBox, Window, Text, IrrFonts
There's lots more.

As soon as I finalize the library, I'll start a new thread with all the updates. My plans are to integrate A.Percy's unique functionality into the new wrapper, and maintain it alongside FrankDodds innovations. The documentation is pretty good, and I've tried to wrap each function directly, so the documentation applies one to one. Some things will change, such as the passing of arrays ByRef to be filled, instead of a function returning a filled array. There are also some low level Vertex structs and so on that can be used to create and alter your own meshes dynamically.

Newton and ODE physics are supported, but I will have to spend some time working through how exactly we get them to work with AutoIt - I might just have to pass pointers, or I might be in for some struct juggling.

Link to comment
Share on other sites

  • 1 month later...

To jRowe:

I am following this thread a long time because using autoIt for a longer time and also interested in 3D (especially irrLicht). Was a pitty to see aPercy quitting with his wrapper, and nice to see you pronouncing a new one with much more features.

Of course, I could start also with freeBasic or, more directly, with C++. But using autoIt during worktime anyway, it would prefer to use what I already know to add some hobby fun with irrLicht without switching to another language. I guess it's also helpful and fun for others to have a simple way to "play" with 3D. I mean, not everybody wants to become a C++ guru, yet or in general?

To make it short: Can you give a status about your work on the autoIt wrapper for this nice irrLicht thing? Is it still alive, is it worth waiting? Would be really great to hear some good news!

Link to comment
Share on other sites

I'm involved in work right now, but as soon as the current project I'm working with is done, I'll devote a day to updating the wrapper. I have some fixes and documentation, and I'll add a dozen or so more examples.

http://www.autoitscript.com/forum/index.php?showtopic=113881

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...