You can map images of various formats, including .bmp, .jpg, and .tif (orthophotos)
on a terrain mesh or surface.
An orthophoto is a geometrically corrected aerial or satellite image of a land area.
When you use many images that are not always geolocated, you can use an Excel file to
retrieve all their coordinates. And you can update the terrain with these texture coordinates
in one shot.
Before you begin:
Specify Shading with Material in the View
mode (available in the View section of the action bar).
To enable the automatic mapping at the 3D Shape loading, select the Apply
image mapping at 3D Shape loading option in the Me > Preferences. For more information, see Display Modes.
To define the orthophotos of the terrain including the coordinates of all the mapped
images, click Create Image Mapping from the Prepare section of the action bar.
The view is modified: The up direction is aligned with True-North.
Notes:
When you select up to 32 images with any type of ambience, the Create
Image Mapping command works with the GLSL technology (shades), enabling
to keep good quality, transparency, and performance.
Display of Image Mapping with Various Sizes and Ambience Activated (GLSL)
Select an element to apply the image mapping to.
An element can be either a terrain mesh or a surface.
Multiselection is not available.
If you select a terrain mesh, the Optimized mode must be turned
off.
Select one or several images (orthophotos) by clicking in the Create Image Mapping dialog box.
You can use the Content Chooser to select and import objects easily from session or
from 3DEXPERIENCE through a direct selection. For more information,
see Using the Content Chooser.
Import one or several images.
The image mapping uses the GLSL technology that lets you:
Take the original graphic material of the input images into account.
Take advantage of the Graphics Processing Unit (GPU) by directly mapping the
images onto the terrain mesh.
Send all the input images to the GPU, which must
have enough memory to store them.
Obtain more details on the displayed output, without any graphic degradation or
blurring caused by image processing.Result Produced with the GLSL Technology
Consider the transparency of the terrain when proceeding to an image mapping. You
can see through the terrain and view the terrain texture.
Manage the quality and transparency parameters only for the image of the preview.
You do not need to edit such parameters for the final result of image mapping. This
image preview is saved in the 3DEXPERIENCE database (.cgr file). The preview parameters (quality and transparency) are
specified under the Visu Mode display parameters section of
the Create Image Mapping dialog box. For more information, see
the steps below.
Manage the order of the images if it applies, taking the images' transparencies
into account, to apply different transparent filters on the terrain image.
Note:
When creating an image mapping on a terrain or surface, the earthwork
surfaces are automatically excluded from the mapped image. The mapped image is not
transparent on the fill, cut, and alignment surfaces of the earthwork. These
excluded zones have the colors corresponding to the stretch elements of the
subgrade.
Accelerate the process, as there is not the step of CPU image merging.
Import images that are not geolocated. A message appears if you use a geolocated
image on a nongeolocated terrain. The table below explains what kind of images you
can use depending on the terrain type.
Geolocated Terrain
Nongeolocated Terrain
Geolocated image
Yes
No
Nongeolocated image
Yes
Yes
Tip:
To enable the automatic mapping during the loading of the 3D shape,
select the Apply image mapping at 3D Shape loading option in the
Me > Preferences.
Notes:
The image mapping uses the GLSL technology that lets you:
In the left pane, select the following commands:
Option
Description
Select an image
Selects an image in the following supported formats: bmp, jpg, png, or tif.
Add a geolocation to the part containing the element, which you assign the
geotiff image. Otherwise an error message appears. For more information, see Handling Geolocation.
If the image (regardless of the format) is not geolocated, the default
coordinates values displayed in the dialog box are often the image dimensions. In
this case, edit the image geolocation coordinates by specifying the upper left and
lower right coordinates. See step 7.
Remove an image from the list
Removes a selected image from the list.
Reorder upward selected image(s) or
Reorder downward selected image(s)
Manages the order and the overlapping of the images. See the image after the
table.
When you select several orthophotos and add them to the
Orthophotos list, use the arrows on the right of the list
to reorder them and manage overlapping images. The selected orthophotos move to the
top or bottom of the list.
Notes:
You can reorder one or more orthophotos.
The arrows are disabled if no reorder is possible, or if there is only one
or no orthophoto.
When there are overlapping images, the last image in the list is brought to
the front of the terrain.
Copy Image Mapping
Copies information from an image mapping to another terrain mesh or surface, in the
same 3D part or in another one. You retrieve the following information on the
selected entity:
Geolocation and coordinates of the images
Quality
Transparency
There is no synchronization link between both mappings. You can edit image
parameters in the created mapping without impacting the reference mapping.
Propagation
Propagates mapping information on the leaf levels having the same terrain as an
input. For more information, see the next steps.
Spreadsheet
Creates a spreadsheet (an .xlsx or .csv file) including the coordinates of all
the mapped images to manage texture coordinates through an Excel file. For more
information, see the next steps.
Quality (%)
Expand the Visu Mode display parameters section to define
the parameters of the image preview in the product. These parameters are only used
in the product and stored after running Save. You can specify
the global quality of mapped images and of the preview image.
Notes:
Quality is driven through a percentage value: 10% is the lower quality value
and 100% the maximum value.
When you add several images in the Orthophotos list, by
default, a medium value is defined according to the dimension of orthophotos and
input terrain.
The quality percentage value is applied on all mapped orthophotos. You cannot
apply a different quality value for each image.
When there is only one selected image, the default value is 100%. Quality is
the maximum value except if it exceeds the limitation, to prevent the creation
of a huge file. In this case, a message is displayed, explaining that the
resolution has been slightly reduced automatically. And you can only decrease
the quality of the mapping image.
When there are several selected images, the default value is 50% and a
message is displayed. You can increase or decrease the quality value.
When the number of images is updated from "n" (a number greater than 1) to
one, the quality value is specified to 100%.
When the number of images is updated from one to n (a number greater than 1),
the quality value is defined to 50%.
When there are several images and you click Apply or
OK, all the images are merged into a single one on the
terrain.
Transparency
Expand the Visu Mode display parameters section to manage
the transparency of the image preview in the product. These parameters are only used
in the product and kept after running Save. You can specify
the global quality of mapped images and of the preview image.
When you select the option, the transparency of the input file is directly taken
into account. The transparent areas of input images are not on the merged
image.
Notes:
By default, the Transparency option is cleared.
When one or several images are mapped on a terrain, it creates one image
with selected orthophotos mapped on the whole terrain surface. Areas without
orthophoto are displayed in black.
When you select an image with transparent pixels and when the
Transparency command is not selected, the transparent
area of the overlapping image is displayed in black on the overlapped image.
When transparency is enabled,
A message appears to explain that transparency management impacts image
mapping computation. And transparent pixels are no longer visible (no
black area). Select the command when the images do not have any
transparent pixels.
The transparent area is black, if an image has a transparent area in the
middle and if no image is positioned under this area,
When the command is running, a progress bar provides an estimation on the
computation progression.
Transparency does not interfere with the overlapping rules explained above.
The transparency of the input file is directly taken into account into the
GLSL technology.
Propagate mapping information
Propagates image mapping information defined on the current terrain on all the
features having this terrain as input.
The displayed mapped image is the one
defined on the modified terrain aggregated under the Road Stretch
Set feature in the tree. With the selected option, the image mapping of the input terrain is propagated
on the last instantiation of the modified terrains.
Note:
Mapping information is
only propagated on the leaf features that are displayed. If the feature is hidden,
there is no propagation.
With the GLSL system, you obtain this kind of results in the 3D area:Fig. 1 and 2 Contain an Illustration Showing the Image Reordering and
Overlapping. Fig. 3 Is an Example of Image Transparency.
The Create Image Mapping dialog box opens the right pane.
It provides an image preview, the image-related information, the geolocation parameters
of the image, and the Destination coordinates.
Notes:
For each image, if a CRS is available inside the geo tiff, the
Source CRS section is filled. If not, you must select it
manually. If you have selected a terrain, the Destination
field is automatically filled with the CRS information of the terrain.
If you mapped an orthophoto to a meshed terrain, it appears in the
Orthophotos list in the left pane. When you click the name
of the orthophoto, the right panel displays the previews of the orthophoto and
indicates if it is associated with a land cover with Land Cover:
Yes or No.
To display the orthophoto in the Windows viewer, click the image preview.
Expand the Destination Coordinates section.
For each image, the coordinates of the upper left point and lower right point
are displayed. They are retrieved from the geo tif when available.
Specify the upper left and lower right coordinates by either:
Modifying them directly or
Clicking the select point button and picking a point in the scene.
A landmark appears for the Lower Right and for the
Upper Left. The
information about the geolocation of these points is displayed in the right pane of the
dialog box.
Verify that the element, the image, the geolocation parameters, and the coordinates
are correctly defined.
Click Apply to map the image on the terrain.
The image is accurately mapped to a terrain mesh or a surface. If the result does not
suit you, adjust the image mapping. If the element is larger than the image, the texture
outside the image appears in black. When there are several (overlapped or not) images,
they are merged into a single one on the terrain.
A feature called Image Mapping is created under the terrain node in the tree. You can delete it, or edit it by double-clicking it.
To hide the image mappings, click Hide All Image Mappings from
the View section of the action bar.
The image mapping icon changes from to
in the tree.
The orthophotos are not loaded or displayed when opening the 3D part containing the
element to which the image mapping is applied. To display the images mapped on all
terrains available in the 3D part, click Show All Orthophotos.
If you mapped a .tif image when the geolocation parameters of the part are
modified, the created mapping is updated accordingly so that the image position
remains correct when an update is performed.
The image mapping is visible in the Explore window.
When exporting a 3D part containing an image mapping to a 3DXML, the image must be exported as well. This ensures a correct image mapping when
importing this 3DXML to another platform.