Simple extension for conversion of vertex color from linear to gamma color space and the other way around.
Useful when a game development or production project change color space amidst development and all vertex colors need to change too in order to keep the same appearance.
Location: 3D View, "N" Side Menu, "Tools" Tab, "CoSpace Converter" drop down.
Usage: Select a single object that has vertex colors and click on the desired conversion button.
Added init.py
This extension does not require special permissions.
Hi, Thank you Dalai, the extension name is "Co.Space-Converter" but the "dot" char made it appear simply as "Co".
Thank you for the feedback I´ll make the necessary changes.
Probably I´ll need to delete and create another addon to fix the name, but it was not possible before.
Dalai, thank you again, I´ve re-uploaded a new version but the name didn't self updated. I believe I´ll really need to delete and create a new extension.
Did you try to add vertex color data before using the tool?
You are right (regarding rename). It will be supported eventually, for now I added the task here: https://projects.blender.org/infrastructure/extensions-website/issues/111
I will manually rename your extension here (and re-test the extension).
I still get an error Error: invalid syntax (__init__.py, line 1)
.
I haven't tested it, but I believe you need to replace the following code:
from . import CoSpace-Converter
from . import ColorSpaceConverter
Thank you
We've added new mandatory fields: Featured Image and Icon. Featured Image is shown at the home page instead of the first preview image, and icon is shown in the extension's title (and later will be shown in Blender as well).
Could you please update your extension with an icon and a featured image?
Apologies for the late heads up.
Sure, I´ll update it
Just letting you know that if you have made changes asked you need to mark this as "Awaiting Review" so that moderators see it.
Thank you @nickberckley. Now it has new picture!
I sill need to update the readme and check if its working properly.
Unfortunately invalid syntax error Dalai mentioned is still there.
Checking code side, nothing to worry about, suggest to rename CoSpace Converter.py
-> color_space_converter.py
to avoid issues with spaces in module names.
Also, the operators should check a mesh object is selected, currently they assume there is a mesh with vertex colors.
Thank you for the tips, I´ll make the changes soon.
Hey everyone,
Just a heads-up about a recent change regarding the licensing of add-ons on the Blender extension platform. Moving forward, all add-ons will need to be released under the GNU/GPL 3.0 license (SPDX:GPL-3.0-or-later). This is mainly to keep things simple and consistent across the board.
Previously, we accepted various licenses as long as they were compatible with Blender’s distribution. However, to avoid any confusion and streamline the process, all add-ons using the bpy API should now be presented as GPL 3 (the same license the Blender bundle is distributed). Regardless of whether the original code was under GPL 2, or something else like MIT or ZLIB.
Existing add-ons versions won't be affected. However, new updates will need to comply to the revised requirements.
Thanks for understanding, and feel free to reach out if you have any questions.
Sign in to comment.
Hi, thanks for submitting this.
Out of curiosity, what did you have to change " Name fix for compatibility with extensions site." ?
Now, there are a few issues with the add-on at the moment:
You need a
__init__.py
inside your folder for it to work. Border Buddy does it in a nice way.I could not get the add-on to work at all, even if I bypass the issue above: