Contents

Index

Mount 3D Model in Image

Module(s): Animation

You can use the Mount 3D Model in Image tool to insert 3D models in a photograph of the planned site. In order to create these models, you can use the modules in the Architecture family or the tools in the 3D Modeling module. In addition, you can use this tool to determine the eye point and the target point as well as the vanishing points in the scanned photograph. Optical distortion of photographic lenses, the section scanned of the photograph combined with the resolution of the screen restrict the accuracy of this operation. This means that corrections or even a number of attempts may be required.

Before you insert a complex architectural structure, use a simple outline model of the same shape, consisting of 3D objects. Once it fits, you can save it before you replace it with the complex model.

To mount a 3D model in an image

  1. Select the drawing files with the 3D model.
  2. The 3D model has to be displayed in central perspective (= vanishing point projection mode).
    Click 3D View (How) on the viewport toolbar and select Perspective view.
  3. In the 3D View palette, set a perspective view which roughly corresponds with the one you require for inserting the photo.

    Tip: In the 3D View palette, set the Focal length so that it matches the value used for the photo. For digital photos, you can find this value in the Properties of the file - Details - Focal length of 35mm.

    Tip: You can also set the perspective view in a viewport with the Animation view type.
    All you need to do is click Match parameters in the 3D View palette. Then click within the viewport with the Animation view type. This is only possible if Navigation Mode is not active

    Tip: You can make things easier by creating a hidden line representation of the model: Select the Hidden line image view type at the bottom of the viewport.

  4. Click Mount 3D Model in Image (How).
  5. Select the format and name of the image with the scanned photograph.

    The program opens a window with the 3D model. The window's height:width ratio matches the photograph's height:width ratio.

    If the bitmap of the photograph is larger than the display resolution, it is fitted into Allplan's workspace.

  6. The following steps involve defining the exact perspective view of the 3D model to be inserted. Specify a reference line on the 3D model and two pairs of vanishing lines (see below).

    Note: Then enter the angle included by the two pairs of vanishing lines in plan view.

    (A) 3D model
    (B) Photo
    (C) New building
    (D) This angle must be known in plan view (see step 11).
    (E) First vanishing point (not visible)
    (F) Second vanishing point (not visible)
    Note: The two vanishing points (E) and (F) must be at the same height.
    (1)+(2) Identify the reference line on the 3D model. The photograph is hidden (see step 8).
    (3)+(4) Click a corresponding reference line in the image. The photograph will reappear (see step 9).
    (5)+(6) Specify a second line leading to the same vanishing point (see step 9).
    (7)-(10) Specify two lines leading to the second vanishing point (see step 10).
    (11) Place the target point. You can place it as often as necessary - until you have found the correct one and while the function is still active (see steps 12/13).

    Tip: Draw the required reference lines in a copy of the bitmap and use this copy to fit in the model. To render the model subsequently, click Surroundings (How) and select the image without vanishing lines.

  7. Click a reference line in the 3D model, see illustration (1) + (2).

    The photograph will reappear after you have done this.

  8. Now click a line in the photograph which corresponds to the reference line you just specified in the model, see illustration (3) + (4).
  9. In the photograph, click a second line leading to the same vanishing point, see illustration (5) + (6).
  10. To define the second vanishing point, specify two lines again which lead to it in the photograph, see illustration (7) - (10).

    Note: When the message The horizon is inclined at 1.5 degrees. An inclined horizon cannot be displayed. appears, do the following:

  11. Enter the angle in plan view included by the two pairs of vanishing lines, e.g. the angle between boundary lines, two buildings or cornering walls, see illustration (D).
  12. Click the target point, see illustration (11).
    On photographs, the target point is normally the center of the image. However, it can shift from the center through scanning, magnification, section etc.
  13. You can correct the target point as often as you like.

    The 3D model is redrawn on top of the photograph.

  14. Once you have found the correct target point, press ESC.

    Now you can save the correct target point and use it for the calculation of the complex model.

  15. If you want to render the view while using the image as a backdrop, click Yes.

    Note: Using Surroundings (How), you can select a bitmap for the background later or switch it off.

Note: The perspective view is displayed as a wireframe model. You can use the Render tool to render the perspective view with the photo (bitmap) in the background.

Note: Normally, you do not need a virtual ground plane for rendering an image with a bitmap in the background. So open the Surroundings tool (How) and switch the ground plane off.



(C) Allplan GmbH Privacy policy