Blender (jusqu'à 2.49)
Tips and tricks(6)
The Disp_paint script : 
Description: using the vertice's color values 
 to carry out a displacement in space.
updated : 7/08/2005
(version française)
    Début   Index
previous Script Python: modelling a staircase
Painted Faces Erazer Next
Version integrated into the Blender  2.3x versions
New interface
the functions
User instructions and various advices 
  • divide
  • uvmap
  • vertexpaint
  • dist_paint
  • dist_normal

  • dist_selected
      The page dedicated to this script on Elysiun

    This script displaces mesh vertices according to vertex color values.


    Select the mesh, enter Edit Mode and run this script to open its GUI.  Options include setting mode, orientation, size and number of repetitions of the displacement.  You can enter Vertex Paint mode and alternate applying displacements and painting parts of the mesh.

    Orientation includes vertex normals, local coordinates and noise (you may need to resize the scripts window to view the noise menu below the "Last Error:" lline.  This menu lets you define noise type from the many options available in Blender.

        The "Create" button will make at any time a copy of the active mesh in its current state, so you can keep it and continue working on the copy; One of the great possible uses of this script is to "raise" terrain from a subdivided plane, for example, with good control of the process by setting options, defining orientation and alternating vertex painting with displacements.

    Version that can be integrated into Blender 2.32/2.33 menus and following :

    New interface

    The functions

    Tex colors
    UV colors
    Save colors
    Mode Find color
    Closer to the current esthetic of Blender .
    Create : duplicate the current mesh object.
    Action : apply the selected parameters. If the repeat value is superior with 1, Action is applied again on the preceding result . This process can give original blisters.
    Tex colors : apply a mesh.update on the selected object so that it takes the colors of textures 
    UV colors : collect the colors of the first picture found in the mesh . 

    Example : the result depends on the smoothness of the grid.

    Save colors : records the vertexcolors values in a temporary buffer.  Note that the button disappears to be replaced by Rest colors that will restore the colors.


    Mode Find color : find the vertices and the faces that carry or touch a specific color

    Works in FaceSelect too .

    User intructions and various advices

  • divide
  • Dividing sufficiently the mesh object : 
    1/ edit menu 


    The page dedicated to this script on Elysiun

    previous Script Python: modelling a staircase
     Painted Faces Erazer Next
    To the  Top of the page

    Questions concerning this page can be asked on  :



    Livre en français
    Blender : apprenez, pratiquez, Créez, livre, Ed. Campus Press, coll. Starter Kit
    Blender Starter Kit

    Blender python
    API python (eng)
    Archives nzn
    Doc flash Sculptris
    Galerie Sculptris

    mon site de démos sur youtube