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 

Executing plugin at startup

 
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
Basiror
DeleD PRO user


Joined: 12 Dec 2007
Posts: 59

PostPosted: Tue Dec 18, 2007 6:33 pm    Post subject: Executing plugin at startup Reply with quote

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
View user's profile Send private message
Mr.Fletcher
DeleD PRO user


Joined: 07 Aug 2004
Posts: 1772
Location: Germany

PostPosted: Tue Dec 18, 2007 7:26 pm    Post subject: Reply with quote

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 Smile
DeleD on IRC
Back to top
View user's profile Send private message
Basiror
DeleD PRO user


Joined: 12 Dec 2007
Posts: 59

PostPosted: Tue Dec 18, 2007 9:42 pm    Post subject: Reply with quote

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
View user's profile Send private message
Paul-Jan
Site Admin


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

PostPosted: Wed Dec 19, 2007 12:26 pm    Post subject: Reply with quote

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
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
Page 1 of 1

 
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