Page 1 of 4 123 ... LastLast
Results 1 to 20 of 76
  1. #1
    Member
    Join Date
    Apr 2012
    Location
    Pennsylvania, USA
    Posts
    290

    [ADDON] Material IO + Material Library

    Hey guys, I have been working for the past few weeks on an addon that allows you to export and import Blender material node trees. It saves the materials out into a .bmat file which is XML based, I also made it so that the file is easy to read, for the most part. It has the ability to pack all the images in the material into a folder along with the main file so that it all can be moved easily. Let me know of any bugs that you find, you can find more info about it on my website.

    --DEPRECIATED: features have been moved to NodeIO--

    Download Link

    Current Version: 1.3

    #Update 1.3:
    Fixed some more issues with certain nodes.
    Cleaned up code and got rid of a fair bit by switching part of it to a recursive type meaning that now things can be grouped infinitely.

    If you want to report a bug, either do it here, or submit it to me on my website.

    #Update
    I just posted the material library, there isn't a ton on there yet, but I will add some of my own stuff and feel free to submit as many as you would like. Here is the link to the material library.
    Last edited by Jacob Morris; 27-Nov-16 at 16:55.



  2. #2
    Hi, this is very interesting. It competes however a little bit with the Append/Link function, what I would call a "big win" is to iterate all of the items in the destination directory and be able to add them at once, something like a material library.

    Thanks for making it.



  3. #3
    Member
    Join Date
    Apr 2012
    Location
    Pennsylvania, USA
    Posts
    290
    Originally Posted by const View Post
    Hi, this is very interesting. It competes however a little bit with the Append/Link function, what I would call a "big win" is to iterate all of the items in the destination directory and be able to add them at once, something like a material library.

    Thanks for making it.
    I love the idea of iterating through the folder, I will work on that. I does compete with append, but it much less clunky, uses a smaller file, and is overall quicker to use.



  4. #4
    Member Spirou4D's Avatar
    Join Date
    Jul 2010
    Location
    Lille, France
    Posts
    1,257
    Very good work Jacob, I love this idea.
    i propose you to bzip this folder with .bmt extension to reduce the weight of mat+ xml file and to exchange it easely like others CAD software.
    So you have create the first mat of Blender easy to exchange.
    Congratulations.
    Words are Images that loosed Light!
    Linux Mint 18.2 Saunya - Bi-Quad Intel 2.66Ghz x64Bytes - Nvidia OpenGL GT 630 4Go-vram



  5. #5
    Member Spirou4D's Avatar
    Join Date
    Jul 2010
    Location
    Lille, France
    Posts
    1,257
    For your information: name your python file like this: io_material.py , please.
    Words are Images that loosed Light!
    Linux Mint 18.2 Saunya - Bi-Quad Intel 2.66Ghz x64Bytes - Nvidia OpenGL GT 630 4Go-vram



  6. #6
    Member
    Join Date
    Apr 2012
    Location
    Pennsylvania, USA
    Posts
    290
    Originally Posted by Spirou4D View Post
    Very good work Jacob, I love this idea.
    i propose you to bzip this folder with .bmt extension to reduce the weight of mat+ xml file and to exchange it easely like others CAD software.
    So you have create the first mat of Blender easy to exchange.
    Congratulations.
    not sure what exactly you mean by using the .bmt format, but I will work on making it zip the folder when there are images. I also updated the name like you suggest on the file.



  7. #7
    Member Spirou4D's Avatar
    Join Date
    Jul 2010
    Location
    Lille, France
    Posts
    1,257
    What I mean is the same as .kmz format for Geo model in google earth: this format content images and .skp file, all bzipped in .kmz format.
    In Cinema4D and Modo the material format is the same.
    Voilą!
    Words are Images that loosed Light!
    Linux Mint 18.2 Saunya - Bi-Quad Intel 2.66Ghz x64Bytes - Nvidia OpenGL GT 630 4Go-vram



  8. #8
    Member
    Join Date
    Apr 2012
    Location
    Pennsylvania, USA
    Posts
    290
    Originally Posted by Spirou4D View Post
    What I mean is the same as .kmz format for Geo model in google earth: this format content images and .skp file, all bzipped in .kmz format.
    In Cinema4D and Modo the material format is the same.
    Voilą!
    I have been playing around on zipping the folder and it really doesn't save that much room, on a 73 mb file only 3 mb is save. I am going to look into some different methods before I continue.



  9. #9
    Member Spirou4D's Avatar
    Join Date
    Jul 2010
    Location
    Lille, France
    Posts
    1,257
    Ok good research...
    Words are Images that loosed Light!
    Linux Mint 18.2 Saunya - Bi-Quad Intel 2.66Ghz x64Bytes - Nvidia OpenGL GT 630 4Go-vram



  10. #10
    Member
    Join Date
    Apr 2012
    Location
    Pennsylvania, USA
    Posts
    290
    Version 0.2 is out, check out my website for a complete list of what all is new plus other stuff.



  11. #11
    This seems very useful. Perhaps it can become a standard for sharing materials across repositories too.



  12. #12
    Member
    Join Date
    Apr 2012
    Location
    Pennsylvania, USA
    Posts
    290
    Originally Posted by Auuman Anubis View Post
    This seems very useful. Perhaps it can become a standard for sharing materials across repositories too.
    Thanks, I have started working on a repository use this which I hope to release soon.



  13. #13
    Member
    Join Date
    Apr 2012
    Location
    Pennsylvania, USA
    Posts
    290
    Version 0.3 is out, now with support for Frames, plus several bug fixes with some of the node inputs and outputs.



  14. #14
    Member
    Join Date
    Apr 2012
    Location
    Pennsylvania, USA
    Posts
    290
    Version 0.4 is out and RGB and Vector curves are now supported! I was sure if it was possible, but it ended up being.



  15. #15
    Member
    Join Date
    Feb 2014
    Location
    South Africa
    Posts
    68
    Very useful, thank you!



  16. #16
    Member
    Join Date
    Apr 2012
    Location
    Pennsylvania, USA
    Posts
    290
    Originally Posted by Arcan View Post
    Very useful, thank you!
    No problem!



  17. #17
    Member
    Join Date
    Apr 2012
    Location
    Pennsylvania, USA
    Posts
    290
    Version 0.5 is out, you can check out the info in my first post. I was thinking about how the .bmat files would have to be updated with each version I have been releasing. So from now on, I will make the add-on work with an .bmat created started using version 0.5. Sorry for the inconvenience of having to update your .bmat files.



  18. #18
    Member
    Join Date
    Apr 2012
    Location
    Pennsylvania, USA
    Posts
    290
    Version 0.6 is out, check out my first post to see what all has been changed



  19. #19
    Member Spirou4D's Avatar
    Join Date
    Jul 2010
    Location
    Lille, France
    Posts
    1,257
    Thanks a lot Jacob....At soon.
    Bye.
    Words are Images that loosed Light!
    Linux Mint 18.2 Saunya - Bi-Quad Intel 2.66Ghz x64Bytes - Nvidia OpenGL GT 630 4Go-vram



  20. #20
    Member
    Join Date
    Apr 2012
    Location
    Pennsylvania, USA
    Posts
    290
    I just posted a link to the material library I started



Page 1 of 4 123 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •