Partilhar via


Convert a 2D image into 3D

This page applies to WPF projects only

To change a 2D image into 3D, you must first add the image as an item to the project folder. For more information about adding items, see Add an image, audio, or video file to a project.

To convert a 2D image into a 3D object

  1. Under Files in the Project panel, right-click the name of the image file, and then click Insert.

    The image file is added as an Image object that you can resize and modify on the artboard.

  2. In the Toolbox, click Selection Cc295367.2ff91340-477e-4efa-a0f7-af20851e4daa(en-us,Expression.10).png, and then select the image that you just inserted.

  3. On the Tools menu, click MakeImage3D.

    The Image object is converted to a Viewport3D object. Within the Viewport3D object are containers for the cameras and lights. A perspective camera, an ambient light, and a directional light are created by default. For instructions about how to manipulate the 3D object, see the Howto topics listed under 3D.