Space Monkey Boybands
Space Monkey Boybands by BLENDER SUSHI. Image created with Blender and Stable Diffusion.
Space Monkey Boybands by BLENDER SUSHI. Image created with Blender and Stable Diffusion.
Using the gpu module from the Blender Python API, we can draw not only images on the 3D viewport area, but also print arbitrary text. Printing text is carried out using the blf module – a wrapper over OpenGL.
Information about the mesh vertices colors is stored in its vertex_colors property, as well as in its color_attributes property. To remove vertex color data from the mesh, we need to clear these mesh properties.
Creating procedural caution stripes material in Blender by Ryan King Art.
To execute an operator from a context that was not intended for it correctly, it is necessary to override the context for it using bpy.context.temp_override.() selected objects. However, using temp_override, we can override not only the context of the operator call, but also, for example, the stack of selected objects.
Overriding the selected objects list for the transform.translate operatorRead More »
Mesh vertices don’t have a “color” property. Vertex colors specified by coloring in Vertex Paint mode or any other way are stored in an attribute – a separate list of values. To select a vertex by the color assigned to it in an attribute, we need to associate the attribute’s index with the vertex index.
Creating procedural desert camouflage material in Blender by Ryan King Art.
The common icons used in the UI and operators are packed inside Blender, and therefore we cannot edit or add new icons without a complete recompile of Blender. Icons for toolbars are not tied to the Blender assembly, they are stored in separate files, and we can replace or create and add new toolbar icons.
The ID of the tool icons correspond to the names of the files in which they are stored and they can be obtained simply by looking in the appropriate Blender folder. However, icon IDs can also be obtained through the Blender Python API with the help ot the ToolSelectPanelHelper class.