View previous topic :: View next topic |
Author |
Message |
Jeroen Site Admin
Joined: 07 Aug 2004 Posts: 5332 Location: The Netherlands
|
Posted: Sun Aug 29, 2004 8:35 am Post subject: Developing plugins |
|
|
I'd like to see more import/export plugins being developed. People like to see the MAP, X import, and 3DS fileformats supported but of course, I don't have the time to code all that myself. So... where are all you hotshot coders out there? You wanna give it a shot?
EDIT: i've started coding an X import plugin. It's already working except for UV coordinates. I'll get to that soon. |
|
Back to top |
|
|
Mr.Fletcher DeleD PRO user
Joined: 07 Aug 2004 Posts: 1772 Location: Germany
|
Posted: Sat Oct 09, 2004 9:09 am Post subject: |
|
|
Can somebody explain to me in a few sentences how to code a plugin with Delphi? Is it possible anyway? I've never come to face those issues.. _________________ Behold! The DeleD Wiki! Please help us expanding it
DeleD on IRC |
|
Back to top |
|
|
dirkk Member
Joined: 09 Aug 2004 Posts: 238 Location: Germany
|
Posted: Sat Oct 09, 2004 10:41 am Post subject: |
|
|
I'll try. At first, yes it is possible. Jereon provided a sample in the plugins/example directory.
With Il Buzzos exporter/importer example code (which AFAIK is a direct translation from Jereons Delphi Code) you get all object/vertex/line information from string arrays in a central routine. As an exporter writer you take this stream and format it the way you want it. In most cases this is it. If you try to export to a more exottic format you might have to do some arithmetic to get the format you want.
With Jereons new effort I expect that there will be slight changes in both the C++ and Delphi exporter code, so if you try to engage then you might want to wait for this. |
|
Back to top |
|
|
Jeroen Site Admin
Joined: 07 Aug 2004 Posts: 5332 Location: The Netherlands
|
Posted: Sun Oct 10, 2004 7:25 am Post subject: |
|
|
Yes it is perfectly possible to create your own plugins. Using Delphi would be most easy but you can also use C++ if you want to. I have yet to create extensive documentation on plugins (again, a time issue) but looking at the examples should make a lot clear already.
The new system is more advanced than the current system but generally uses the same principle to transmit data between DeleD and plugins. I'll update the examples and will try to write (some) documentation if given enough time so you can start building your own plugins soon. |
|
Back to top |
|
|
Mr.Fletcher DeleD PRO user
Joined: 07 Aug 2004 Posts: 1772 Location: Germany
|
Posted: Sun Oct 10, 2004 8:37 am Post subject: |
|
|
Ah damn, I did never look into the plugin folder..
Well i doubted because I heard that there is some trouble to write dll files with Delphi.
Gonna see for the examples now! _________________ Behold! The DeleD Wiki! Please help us expanding it
DeleD on IRC |
|
Back to top |
|
|
Paul-Jan Site Admin
Joined: 08 Aug 2004 Posts: 3066 Location: Lage Zwaluwe
|
Posted: Sun Oct 10, 2004 11:56 am Post subject: |
|
|
There is no problem whatsoever writing DLL's in Delphi. You just have to know what you are doing (which holds for every language). |
|
Back to top |
|
|
|