CAD_Appli_en.htm

##

    TextureEditor

     Textures can be applied to the following types of Surfaces:
      - Planar surfaces
      - Meshes.

    Preparatory work:
      Prepare the Images; eg with Gimp:
      - remove distortion: Tools/transformation/perspectiv
      - crop image: Tools/transformation/crop
      - scale image: Image/Image scale
        For automatic scaling you should scale the image to 100 pixels per meter
          (see "fixed size")

    Activation of the TextureEditor:
      select a surface with the right mousebutton, select - "Texture".
      Exit with Esc-key or return-key or right mousebutton.

      While the TextureEditor is active, you can move, scale and rotate
      the active texture with the mouse.
      The normal displayfunctions (moving and scaling the display with
      the mouse) are not active.
      Move: move the mouse with the Shift-key pressed.
      Scale: move the mouse with the Shift-key and the Ctrl-key pressed.
      Rotate: move the mouse with the Ctrl-key pressed.

    Load image
     Load and activate a texture from a file:
     Select a JPG or BMP file;
     the texture name is now displayed as active texture
     and applied to the active surface.

    activate a Texture already in use:
      Select a textured surface.
       the texture will be activated
       and applied to the active surface.

    reload
      Reloads the image of the active texture.
      (if eg. an image already loaded has been modified ..)

    mirror vertical

    mirror horizontal

    remove
      Removes the texture of a surface.

    fit into
      scales the image to the size of the surface

    fixed size
      100 pixels of the scaled image will cover 1 meter of the surface.
      Example: a tile has 100 cm x 50 cm;
        the Image should have 100 x 50 pixels;
        a surface of 5 x 2 units will have 5 x 4 tiles.

    Analyze dimensions from a photo:
      Equalize the photo.
      Create a surface from a rectangle (in Z=0) with the size of the photo;
      If the photo displays a area of 3 x 5 meters:
          S20=REC P(0 0 0) D(5 0 0) D(0 3 0)
          A20=S20
      Apply the texture.
      Set points  (Select / PT -- Position)
      Measure between points (Analyze Dist).

    Open / ToDo:
     Export of textures with VRML ..
     Support of 16-bit-display
     Transparent textures ..
     Billboards ..

    Send bugreports and suggestions for improvement
      to franz.reiter@cadcam.co.at