Delgine 3D Tools & Content DeleD Community Edition
Forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Lua Plugin System
Goto page 1, 2  Next
 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    DeleD Community Edition Forum Index -> DeleD Plugins
View previous topic :: View next topic  
Author Message
Il Buzzo
DeleD PRO user


Joined: 12 Aug 2004
Posts: 271
Location: Italy

PostPosted: Sun Dec 18, 2005 12:07 pm    Post subject: Lua Plugin System Reply with quote

Hi Guys,
I would like to create a new plugin that is just an interface to load all lua scripts in plugins dir and execute....this way changing a script you'll create a new plugin each time....without acting on dll code (it will be good for those that don't want to be concerned with compilation and so on...)...
Obviously I'll release in scripting plugin some basic functions too....
What do you think about?
Please let me know, and suggest some particular functions I can add....
Bye all guys Wink...
Back to top
View user's profile Send private message Visit poster's website
condrula
Member


Joined: 07 Oct 2004
Posts: 62
Location: Rome, Italy

PostPosted: Mon Dec 19, 2005 11:58 am    Post subject: Reply with quote

oh yeah!! Great Idea!!!
Which language for scripting do you choose?
..I vote for vbscript.. Laughing
_________________
PM 1.73GHz, ATI X700
Back to top
View user's profile Send private message
Twixn
DeleD PRO user


Joined: 01 Dec 2005
Posts: 136
Location: Melbourne Australia

PostPosted: Mon Dec 19, 2005 12:11 pm    Post subject: Reply with quote

He plans to use Lua id imagine Razz

If you have't started yet, take a look at http://www.somedude.net/gamemonkey/
before you do, im researching scripting languages at the moment
and its a coin toss between this and lua for my Engine.

-Twixn-
_________________
Failure is not an option!....It comes bundled with the software.
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
condrula
Member


Joined: 07 Oct 2004
Posts: 62
Location: Rome, Italy

PostPosted: Mon Dec 19, 2005 1:46 pm    Post subject: Reply with quote

Twixn wrote:
He plans to use Lua id imagine Razz


Doh! you are right!

Rolling Eyes
_________________
PM 1.73GHz, ATI X700
Back to top
View user's profile Send private message
Il Buzzo
DeleD PRO user


Joined: 12 Aug 2004
Posts: 271
Location: Italy

PostPosted: Thu Dec 22, 2005 10:48 am    Post subject: Reply with quote

Hi Guys,
Owing to the fact I have started to work on Lua plugin system and the core is working yet, I'm releasing a version (you can't do much yet but it's a way to play with it).
I've implemented just the following functions:

-Message(string message,string title) : pop up a message
-AddTestCube() : send a cube to DeleD to test main functionality

plugin will read "test.lua" file present in plugins dir at the moment (it's just a test)...
Well if you want you can test yourself downloading at:
http://www.ilbuzzo.net/downloads/LuaPluginSys.zip
I'm starting implementation of objects classes and of other inner functions...
I hope to have an almost complete version before this year's end...
Bye all Wink
Back to top
View user's profile Send private message Visit poster's website
Twixn
DeleD PRO user


Joined: 01 Dec 2005
Posts: 136
Location: Melbourne Australia

PostPosted: Thu Dec 22, 2005 9:32 pm    Post subject: Reply with quote

Ha, thats great...nice work so far! Very Happy

-Twixn-
_________________
Failure is not an option!....It comes bundled with the software.
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Il Buzzo
DeleD PRO user


Joined: 12 Aug 2004
Posts: 271
Location: Italy

PostPosted: Fri Dec 30, 2005 6:27 pm    Post subject: Reply with quote

Hi Guys,
Great news, I'm releasing LuaPluginSys to public to collect eventual bugs (testing for some days without problems), prior to release a fully documented version, since now added:

-Full DeleD Scene support (Objects,Materials and Lights are exported cleanly to classes to be simply modified, give a look to test files)
-Added some utilities (GetColor, OpenFileName,SaveFileName,.....)
-Added functions to pass to DeleD each class (object,materials and lights)
-Created some support classes as Vertex, UVCoords, Color, Poly etc...
-Added console and error console
-Don't have time to explain all but....give a look to all *.lua function given
to know more
-There is a sample to write a scene from DeleD to a dmf file...

Well if you want you can test yourself this new version you can download at:
http://www.ilbuzzo.net/downloads/LuaPluginSys.zip
Bye all Wink.
Back to top
View user's profile Send private message Visit poster's website
Il Buzzo
DeleD PRO user


Joined: 12 Aug 2004
Posts: 271
Location: Italy

PostPosted: Mon Jan 02, 2006 8:45 pm    Post subject: Reply with quote

Hi All,
I'm releasing full version of Lua Plugin System, in this version you'll find a full help guide, in which each aspect of Plugin System is documented.
There are also code samples for each class and function.
So now you have no excuses, it's time to write your own plugins without using a compiler or having to create a dll for each plugin.
You can do everything you want with this plugin (add your favourite shapes, do particular operation on scene to obtain parameters etc...).
As usual you can download from:
http://www.ilbuzzo.net/downloads/LuaPluginSys.zip
You'll find 4 simple examples (one is to save a scene directly to a compatible DMF file), and full documentation.
Please read it to know more.
Bye All Wink
and enjoy this plugin.
Back to top
View user's profile Send private message Visit poster's website
Il Buzzo
DeleD PRO user


Joined: 12 Aug 2004
Posts: 271
Location: Italy

PostPosted: Tue Jan 03, 2006 2:57 pm    Post subject: Reply with quote

Back to top
View user's profile Send private message Visit poster's website
Paul-Jan
Site Admin


Joined: 08 Aug 2004
Posts: 3066
Location: Lage Zwaluwe

PostPosted: Tue Jan 03, 2006 7:00 pm    Post subject: Reply with quote

Simply awesome work, you obviously put a lot of work into this! I like the LUA scripting system a lot, and I really hope a lot of people will pick up this new and very convenient way of writing new plugins.

Just put it online. May it get the attention it deserves! Very Happy

p.s. Any tips for a nice structured way of developing these scripts, for a LUA-noob like me? Using notepad feels a bit... spartan. Getting a fullblown LUA IDE won't give me the DeleD-specific data structures, will it?
Back to top
View user's profile Send private message Visit poster's website
Il Buzzo
DeleD PRO user


Joined: 12 Aug 2004
Posts: 271
Location: Italy

PostPosted: Wed Jan 04, 2006 10:20 am    Post subject: Reply with quote

Hi Paul Jan,
No, Lua Ide won't give you DeleD specific, information, I personally use JEdit, that highlight lua basic command.
I've downloaded Lua Edit 2.5, so if I can I'll add informations about DeleD Lua Plugin sys.
I'll let you know.
Bye Wink.
Back to top
View user's profile Send private message Visit poster's website
Paul-Jan
Site Admin


Joined: 08 Aug 2004
Posts: 3066
Location: Lage Zwaluwe

PostPosted: Wed Jan 04, 2006 4:15 pm    Post subject: Reply with quote

Cool Smile
Back to top
View user's profile Send private message Visit poster's website
Il Buzzo
DeleD PRO user


Joined: 12 Aug 2004
Posts: 271
Location: Italy

PostPosted: Tue Jan 10, 2006 4:04 pm    Post subject: Reply with quote

Hi Guys,
Strangely on my Windows 2000 powered Laptop I'm having troubles showing Lua Plugin System console, do you have the same troubles with Windows 2000? Tested with XP home and pro and things work....
Let me know Bye Wink.
Back to top
View user's profile Send private message Visit poster's website
Il Buzzo
DeleD PRO user


Joined: 12 Aug 2004
Posts: 271
Location: Italy

PostPosted: Tue Jan 10, 2006 11:01 pm    Post subject: Reply with quote

Hi Guys,
Solved Lua Plugin System problem, so now debug console is well shown.
I've also included in main documentation Lua 5.0 and ToLua++ manual reference.
I've added IUP reference manual but it caused the package to became really big [3,66 MB].
So I've decided to release two versions, one called full version that contains full IUP reference but it's [3,66 MB], that you can download from:
http://www.ilbuzzo.net/downloads/LuaPluginSys.zip

And the other one called lightweight [1,12 MB] that contains basic Documentation plus Lua and ToLua++ but not IUP, and you can download from:
http://www.ilbuzzo.net/downloads/LuaPluginSysLV.zip

Note that plugin functionalities are the same as well as examples, the only difference between these two versions is documentation.

Bye All Wink.
Please Jeroen or Paul-Jan update this version on site as soon as possible (debug console is really usefull, i forgot to init pagers (XP does automatically so on XP console worked but other OS no) ), thanks.
Back to top
View user's profile Send private message Visit poster's website
Paul-Jan
Site Admin


Joined: 08 Aug 2004
Posts: 3066
Location: Lage Zwaluwe

PostPosted: Wed Jan 11, 2006 9:58 am    Post subject: Reply with quote

Great work (as always)! Just updated the plugin section.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    DeleD Community Edition Forum Index -> DeleD Plugins All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum