View previous topic :: View next topic |
Author |
Message |
Basiror DeleD PRO user
Joined: 12 Dec 2007 Posts: 59
|
Posted: Tue Dec 18, 2007 6:33 pm Post subject: Executing plugin at startup |
|
|
Hi,
I am thinking about creating a plugin to load my custom material definitions at startup of Deled
can I do this within the SetCallback function of the plugin or will the material list be overwritten each time you load a difference scene?
Didn t start a plugin yet, but I want to check out the possibilities |
|
Back to top |
|
|
Mr.Fletcher DeleD PRO user
Joined: 07 Aug 2004 Posts: 1772 Location: Germany
|
Posted: Tue Dec 18, 2007 7:26 pm Post subject: |
|
|
You do know that you can set your default material list that gets loaded every time you create a new scene? _________________ Behold! The DeleD Wiki! Please help us expanding it
DeleD on IRC |
|
Back to top |
|
|
Basiror DeleD PRO user
Joined: 12 Dec 2007 Posts: 59
|
Posted: Tue Dec 18, 2007 9:42 pm Post subject: |
|
|
yes i know but I don t want to do this manually, I need some kind of system that reads my custom materials and converts them to a deled readable format
p.s.: fragment and pixel shaders would be an nice extension |
|
Back to top |
|
|
Paul-Jan Site Admin
Joined: 08 Aug 2004 Posts: 3066 Location: Lage Zwaluwe
|
Posted: Wed Dec 19, 2007 12:26 pm Post subject: |
|
|
In DeleD, materials are part of a scene. When opening a new scene, you get the default materials. The plugin system is oriented towards importing and exporting geometry and materials into/from the active scene. So all in all,
a) No, the plugin system doesn't allow that.
b) But replacing the default material list with some 3rd party application should be entirely feasible. |
|
Back to top |
|
|
|