Absol Posted December 30, 2021 Share Posted December 30, 2021 I want to write plugin for drawing 3D maps in 2D mode like my old tool https://gamebanana.com/tools/5715 After download codelab i can't find any needed manuals... How to working with layers. (Get names, options. And select and access to pixels) How to get access to current colors (first and second) Quote Link to comment Share on other sites More sharing options...
MJW Posted December 30, 2021 Share Posted December 30, 2021 Read BoltBait's tutorial How to Write an Effect Plugin Also read What is and isn't possible when writing plugins. You will discover that it's not currently possible for an Effect plugin to access any layer except the currently active layer. If you look at the list of recent topics, you will see that there's a discussion of that very matter. Quote Link to comment Share on other sites More sharing options...
Absol Posted December 30, 2021 Author Share Posted December 30, 2021 (edited) 30 minutes ago, MJW said: Read BoltBait's tutorial How to Write an Effect Plugin Also read What is and isn't possible when writing plugins. You will discover that it's not currently possible for an Effect plugin to access any layer except the currently active layer. If you look at the list of recent topics, you will see that there's a discussion of that very matter. I don't know, I need create 3 in 1 plugin? (for access effect menu, read / write layers, read and write files ?) How I can create univesal one plugin ? I can't get access to layers from effect plugin? For what needs effect plugin if I can't get access layers to apply this effect? 😄 😄 😄 😄 😄 😄 😄 I think paintnet has very bad sdk and need use another tool ??? Edited December 30, 2021 by Absol Quote Link to comment Share on other sites More sharing options...
midora Posted December 30, 2021 Share Posted December 30, 2021 1 hour ago, Absol said: I can't get access to layers from effect plugin? For what needs effect plugin if I can't get access layers to apply this effect? Reading the linked topic would tell you that you can access the selected layer. 1 hour ago, Absol said: I think paintnet has very bad sdk and need use another tool ??? A plugin interface is not very bad just because you can not do what you like to do. Quote Link to comment Share on other sites More sharing options...
Absol Posted December 30, 2021 Author Share Posted December 30, 2021 34 minutes ago, midora said: Reading the linked topic would tell you that you can access the selected layer. A plugin interface is not very bad just because you can not do what you like to do. Sorry but I can't found how to work with layers in effect plugin. I need access layers options, names, pixels... Please help. Quote Link to comment Share on other sites More sharing options...
midora Posted December 30, 2021 Share Posted December 30, 2021 Maybe you should first describe what you like to do and someone will tell you if it can be done. Quote Link to comment Share on other sites More sharing options...
Absol Posted December 30, 2021 Author Share Posted December 30, 2021 (edited) Yes! I need direct access to layers(ALL LAYERS) from effect plugin, read/write pixels, read/write name and options. Edited December 30, 2021 by Absol Quote Link to comment Share on other sites More sharing options...
TrevorOutlaw Posted December 30, 2021 Share Posted December 30, 2021 1 hour ago, Absol said: Yes! I need direct access to layers(ALL LAYERS) from effect plugin, read/write pixels, read/write name and options. You cannot access all layers when writing a plug-in because of how Paint.NET is structured. That is clearly spelled out in what is and isn't possible in the link provided by MJW above, and was also pointed out by MJW, there is a discussion thread which Rick indicated a willingness to "revamp" the plug-in system. So, at this time, you can program the plug-in to access only 1 layer. IIWII. Quote Link to comment Share on other sites More sharing options...
midora Posted December 30, 2021 Share Posted December 30, 2021 You are still not telling what your plugin would do. You are only telling what you think that your plugin needs. Quote Link to comment Share on other sites More sharing options...
Absol Posted December 30, 2021 Author Share Posted December 30, 2021 (edited) Access to layers, read / write pixels (Or only read if possible to set current/secondary color) , also read write names, options. Sorry if you can't understand bad english language. (I use translate) Possible Paint.NET has very bad sdk and I need to forget about this possibility and using better tools like GIMP, etc ? Edited December 30, 2021 by Absol Quote Link to comment Share on other sites More sharing options...
AndrewDavid Posted December 30, 2021 Share Posted December 30, 2021 8 hours ago, Absol said: 3D maps in 2D mode Have you looked at It has a 2D mode for 3D maps. Also shows you the capabilities of designing everything on one layer. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.