There is a post in a python about this conversion: I think the material's diffuse color is using blenders gamma corrected HEX value by transforming the linear color space to sRGB (or whatever color space you are using in the color management section, typically this is set to sRGB) and then to HEX. foing from (0.5,0.5,0.5) to (128,128,128) to HEX #808080 (or 0x808080 if you are working with python code) basically it is converting red channel from 128 to hex 80, same for green channel, same for blue channel and storing them in the 6 place holders r=80 g=80 b=80 go from linear to 8 bit color by multiplying the linear decimal value by 256 and then converting each channel's 8 bit value to a combined HEX value #RRGGBB) i.e. I think the texture color is directly converting a hex value of 808080 to linear color space (i.e. When I color sample the color from another application I get 808080and the 8bit RGB code of So, now for my question: Why the difference between texture brush color and diffuse color? The values on the diffuse color shrink to 0.215861 if I enter the HEX code of 808080 The values on the brush color grow to 0.737255 if I enter the HEX code of BCBCBC I would also like to remember that this was originally a collaborative project between me and and I would like to thank him very much as well.Can someone explain what is happening on the following settings in 2 different parts of blender?Ī texture brush color of (0.5,0.5,0.5) gives me a "(Gamma Corrected)" HEX of #808080īut a Diffuse Material Color of (0.5,0.5,0.5) gives me a Gamma Corrected HEX of #BCBCBC? A huge thank you goes out to and who, along with providing an incredible amount of help in designing the program, provided feedback and guided me along the process. Loading a scheme will overwrite code boxes, so make sure you save anything you care about before loading.Īs always, reach out to me with any questions at all on Discord (Daveed#1234), or in PMs. Please note that while saving the file, you do not need to specify the type of the file, only the name.Īs for loading in schemes, press load, and navigate to where the file is stored. txt documents, mainly so they can be shared in the SS Discord. If you have a scheme of colors you REALLY don't want to lose, or if you want to share it with others, you can click save, and you will be prompted to choose a filename. The second option is to utilize the " Copy to clipboard" function, which I feel is pretty self explanatory:įinally, the feature I am most excited about is the saving/loading of code schemes: The first is to manually copy the preview, as the menu will show you the hex code: Copy only the six digit hex code, do not include the #. Once you have a color you are happy with, you have two choices for using that color in the program. Once you have selected a color in this menu, be sure to hit save/use to confirm the selection. If you want a more specific color, clicking "Custom Color." will give you a full RGB spectrum selector: By clicking on the "⬛ Black" menu, you will be prompted to choose a color:Ĭlicking on a color in this menu will select it, and the change will be reflected in the large circle above the menu. (There is also a "Clear all" button, which will remove the codes, as well the current nickname, and current color selection) If, however, you do not want to manually enter codes into the box, you can use the color picker Clicking on the text to the left of the box will generate a random hex code, and clicking on the color preview will clear the box. The area to the right of the textbox will preview the color. Code boxes will only unlock if the previous box is filled with a valid hex code. These boxes are used to enter hex codes (up to 6). The first thing to talk about is the code boxes and their related items And although there's a lot going on here, all will be explained in this thread.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |