Professional Documents
Culture Documents
Surfaces
Surfaces
1/54
_______________________________________________________________________
Copyright 2005 Surpac Minex Group Pty Ltd. All rights reserved.
This software and documentation is proprietary to Surpac Minex Group Pty Ltd.
Surpac Minex Group Pty Ltd publishes this documentation for the sole use of Surpac
licenses. Without written permission you may not sell, reproduce, store in a retrieval
system, or transmit any part of the documentation. For such permission, or to obtain extra
copies please contact your local Surpac Minex Group Office.
(08) 94201383
(08) 94201350
While every precaution has been taken in the preparation of this manual, we assume no
responsibility for errors or omissions. Neither is any liability assumed for damage
resulting from the use of the information contained herein.
All brand and product names are trademarks or registered trademarks of there respective
companies.
About This Manual
This manual has been designed to provide a practical guide to the many uses of the
software. The applications contained within this manual are by no means exhaustive as
the possible uses of the software are only limited by the users imagination. However, it
will give new users a starting point and existing users a good overview by demonstrating
how to use may of the functions in Surpac Vision. If you have any difficulties, or
questions whist working through this manual feel free to contact your local Surpac Minex
Group Office.
2/54
SURFACES
FILES USED................................................................................................................................................. 4
DISCUSSION................................................................................................................................................ 4
Nomenclature........................................................................................................................................ 6
DTM CONVENTIONS:............................................................................................................................... 7
Creating a Digital Terrain Model......................................................................................................... 8
Strings to act as break lines .................................................................................................................. 8
CREATE A DTM ......................................................................................................................................... 9
Graphical Creation............................................................................................................................... 9
File Based Creation ............................................................................................................................ 10
Common point check distance............................................................................................................. 11
VALIDATING SURFACES ................................................................................................................. 11
SECTIONING A DTM .............................................................................................................................. 12
CONTOUR EXTRACT ............................................................................................................................. 14
ACTIVITIES .............................................................................................................................................. 18
1.
2.
3.
4.
5.I)
5 II)
5 III)
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
REVIEW OF SURFACES......................................................................................................................... 54
3/54
SURFACES
OBJECTIVES
FILES USED
Files used in this lab exercise are found in the following folder:
C:\ SURFACES\DATA
DISCUSSION
A digital terrain model is a surface joining adjacent strings. It is formed as a combination
of those string lines, and lines joining points on strings.
The joining continues until the surface consists only of non-overlapping triangles. The
software chooses the joins to produce the best-conditioned triangles - that is, those closest
to equilateral triangles.
4/54
The resulting DTM can then be thought of as an undulating patchwork quilt made of
triangular patches.
Therefore a Digital Terrain Models (DTM) is how Surpac models surfaces. Surfaces are
used in Surpac for such things as 3D visualization & calculating volumes. Most any
superficial feature can be modelled as a DTM: natural topography, lithological contacts,
bedrock/overburden contact, or water table are such examples.
DTMs must come from String data. String files contain the raw data, where as DTM
files contain a mapping of trios of points in the String file that constitute a triangle.
DTMs are made of triangles, with each point of each triangle matched to a point in the
original String file.
Consequently DTM files are not valid without the original String files. That is, a DTM
file cannot be opened if the original String file of the same name does not exist.
Another rule as far as DTMs are concerned is that DTMs cannot fold back on
themselves. That is, a DTM cannot have multiple Z values for a given XY coordinate.
Therefore you cannot model overhanging or vertical surfaces.
5/54
Once created, if the surfaces are to be used to further processing for volumes or more
high end functionality within the surface menu, then the object must be named object 1
trisolation 1. Consider this when creating the surface, as each surface must then be
placed in a separate file.
Nomenclature
The object you create are numbered by a system analogous to that of string and string
segment numbers.
string
object
segment
trisolation
point
triangle
When you define an object you explicitly assign it both an object number and a
trisolation number. That object is then always referred to by the object and trisolation
number originally assigned.
The object number may be any in the range of 1 to 32000.
The trisolation number may be any positive integer.
6/54
DTM CONVENTIONS:
cannot model overhangs or vertical surfaces
one surface to a layer
spot heights v breaklines
7/54
Spot height strings contain random points, which when connected by a string line, do not
represent any physical feature ie. randomly surveyed points, borehole collars.
When modelling surfaces with DTM'
s, it is important that no triangles are formed across
any breakline strings. If however, the string data consist of spot heights only, then the
triangles will be formed in the most robust manner without taking into account the string
files between the points.
8/54
CREATE A DTM
A digital terrain model can be created in two ways to best suit the data you wish to
model.
1.
Graphically
2.
File Based
Graphical Creation
Recall the file you wish to triangulate into graphics
Select SURFACES | CREATE DTM FROM LAYER
Selecting APPLY from this form will allow the creation of a surface.
Save the file by selecting FILE | SAVE| STRING/DTM or select the save icon
NOTE: The graphical creation of a surface will always enforce the breakline test. You
cannot specify spot heights and the file must always be saved after creation.
9/54
Define the string file from which the DTM is to be formed. The resultant DTM file will
have the same Location Name and Id Number as the string file it was created from, but
have an extension of .dtm.
Are strings to be used as break lines, if so, check the box. The data may contain spot
heights as well as string data and if so, if you wish to treat these differently to string lines
you must also identify the range of spot height strings.
10/54
VALIDATING SURFACES
The function also validates each trisolation of the object. Validation consists of looking
for:
Duplicate triangles (i.e. identical triangles in the same trisolation)
Invalid trisolation edges (i.e. edges in a trisolation which have more than two
attached triangles). Note that the triangles attached to the invalid edges are
highlighted.
Self intersecting triangles (i.e. triangles in a trisolation that intersect other
triangles in the same trisolation).
If triangles satisfying any of the above are found these are highlighted on the screen in a
user chosen colour and the trisolation is evaluated as having been validated as false. If no
triangles satisfying the above are found then the trisolation is evaluated as having been
validated as true.
NOTE: a dtm can have open sided triangles and be valid as it is not a closed surface.
11/54
SECTIONING A DTM
This function allows you to create horizontal, vertical or inclined slices through a surface
(or solid). The plane of intersection of the slices is defined by entering the Y, X, Z
coordinates at each end of a three dimensional axis line and by specifying the interval
along that axis at which slices are to be taken. The first slice is taken at the start of the
axis and then slices are taken at the specified intervals along the axis until the length of
the axis is exceeded.
Select SOLID TOOLS
CREATE SECTIONS
File: Pit1.DTM
The axis start is the co-ordinates for the starting point of the axis line. The first slice is
extracted at this starting point. The axis end requires the ending point of the axis line.
Slices are extracted PERPENDICULAR to this defined line by the start and end points.
Slices will not be extracted past the axis end point.
Axis Line
12/54
Define the axis line, the co-ordinates shown above. Enter a new layer name to store the
sliced range and then name the files which will be created. The distance range is also
specified. The form definition below will create:
There are two results produced by this function. The first is a range of string files which
contain the extracted sections in section coordinates. These files are saved to disk. The
second result is a file which contains the extracted sections in real world coordinates.
These sections are automatically displayed on the screen in a different layer. You may
then activate this layer and save this file to disk.
13/54
The segments produced from the Slice Object function will have the same string number
as the object number from which they were extracted. The segments produced may be
open or closed segments. Closed objects will always produce closed segments when they
are sliced. Open objects may produce open or closed segments when sliced. Closed
objects are significant, because the slices generated from slicing a closed object can
automatically be used for further processing where closed segments are required.
One reason to slice a 3DM is to show one section at a time through a geological model
along with the drill holes for that section posted to it. Each of these sections is
represented by a single string file where the ID number of the string file created by the
slicing function represents the section Northing, Easting or Elevation.
CONTOUR EXTRACT
This function extracts contours from a DTM and then stores them in a string file for
viewing or plotting. The contours are created by interpolating line segments across all of
the triangles and then joining them into continuous strings. The contours will exactly
honour the original data from which the DTM was created.
These contours can then be used for plotting or volume calculations and polygon
intersections with other string files.
If contours are required for volumes, or polygon intersection they must be closed strings.
You must ensure that the original DTM is constructed to guarantee this will happen.
Usually this will involve adding an extra boundary string enclosing the string data in the
DTM but with a Z value just greater than the maximum Z value in the data (in the case of
a pit, for example) or just less than the minimum Z value in the data (in the case of a
stockpile, for example).
14/54
Define the DTM to be contoured by entering its Location, ID number and the DTM field
to be contoured (e.g. Z, D1, D2 etc.).
This method also permits you to extract contours at irregular intervals thus making it
possible to extract contours at values of particular interest.
16/54
String 1 in the annotation string file will contain all the annotation data for the
"NORMAL" contours while string 2 will contain the annotation data for the index
contours.
17/54
ACTIVITIES
1. Create a dtm from the string file topo1.str using the graphical dtm creation
method.
2. Create a dtm from the string file pit1.str using the file based dtm creation using
the breakline test and spot heights
3. Create a boundary string of the pit to be used in volume calculations
4. Use the function CUT AND FILL BETWEEN DTMS from the VOLUMES
menu to calculate the surface-to-surface volume between pit1.dtm & topo1.dtm
and create a resulting volume report
5. Create a dtm of the file DHC2.str which is a survey of drillhole collars prior to
mining and will be used to model the natural surface.
ii)
Create a dtm of the file pit2.str using spot heights and using
the breakline test
iii)
Using these two files, calculate a surface to surface volume
6. Applying a boundary string to trim a DTM
7. Section the pit by elevation, creating contours every 10 metes over pit1.dtm
8. Colour a dtm by elevation
18/54
PROCEDURE
1.
The Create DTM function allows you to create a digital terrain model from any string file
loaded in graphics. This creation method will no allow you to turn off the breakline test
or to include spot heights within your creation.
Therefore always consider any data issues that may arise when creating the dtm from the
string file.
-Are there any vertical or overhanging surfaces
-Do I require the breakline test during creation
-Are there any spot heights that must be considered
If any of these conditions are present within the data, these can cause problems when
creating a DTM.
To create a DTM file graphically
a)
b)
This function will create a DTM from the string file that is loaded into graphics and will
automatically apply the breakline test during creation.
19/54
c)
2.
Create a dtm from the string file pit1.str using the file based dtm
creation using the breakline test and spot heights
A surface can also be created file based, or not graphically by selecting a file and then
determining if spot heights or breakline tests are required.
a) Load the file pit1.str into graphics and display the string numbers (ps) to determine if
there are any spot height strings. This file does not contain spot height strings and so do
not need to be included within this form
Select SURFACES | DTM FILE FUNCTIONS | CREATE DTM FROM STRING FILE
Do not tick on Strings to act as break lines
Review how the triangles have formed
Do not save this DTM
Select SURFACES | DTM FILE FUNCTIONS | CREATE DTM FROM STRING FILE
20/54
The message window informs you of the processing as the DTM is created. The
LOG file is a small report containing information about your DTM.
The DTM file is saved automatically as '
PIT1.DTM'
.
It is important to know that for a DTM to be valid, both the DTM and the STR file
must exist. If points are added to or deleted from the string file after the DTM has
been created, the DTM is rendered invalid and must be recreated.
For volume calculations to be valid the Break Line Test must always be selected
during creation.
3.
Create a boundary string of the pit to be used in volume
calculations.
a)
Recall the files pit1.dtm and topo1.dtm into graphics. Note that the pit extends
past the natural topography. To determine the volume of the pit, we need to know this
boundary where the topography cuts the pit design, otherwise our volume estimates will
be incorrect. We do this by creating a boundary string of the intersection between both
dtms.
21/54
b)
Select SURFACES DTM FILE FUNCTIONS Line of intersection between
two DTMs. Once we have this line we can use it to constrain our volumes. Complete
the line as shown below.
Select both of the dtms which you wish to find the intersection and then define the
output file you wish to create.
c)
Once this has processed, a message will appear in the message window.
22/54
d)
This process can also be completed graphically. Ensure that both the dtms are
loaded into graphics and then select SURFACES | CLIP OR INTERSECT DTMS | Line
of Intersection between two dtms and complete the form as shown below.
This outputs the same results, but the fields can be selected graphically.
4.
Use the function CUT AND FILL BETWEEN DTMS from the
VOLUMES menu to calculate the surface-to-surface volume between
pit1.dtm & topo1.dtm and create a resulting volume report
23/54
24/54
b)
Choose Surfaces DTM File Functions | Create DTM from string file
and complete the following form.
25/54
Note that when creating a DTM by the file based method we can turn off the
option '
Strings to act as break lines'
c)
5 ii) Create a dtm of the file pit2.str using spot heights and using
the breakline test
a)
Load the file pit2.str into graphics and display the string numbers (ps)
to determine if there are any spot height strings. The string 9999 are spot
heights and can be used during the creation of the dtm.
b) Select SURFACES | DTM FILE FUNCTIONS | CREATE DTM FROM
STRING FILE
c)
26/54
b)
complete the form below, this is the output file name for the report.
27/54
The results from the DTM volume calculations can be saved to a csv file and
optionally to a boundary string file. This string file contains details of the calculations
in the Description Fields. The results that are saved to the D fields and the order in
which they are saved are described below. These values can be found starting with the
D1 field.
Once again a prompt to save the modified DTM is presented, this is for the second
DTM PIT2.
d)
6.
This function applies a boundary string to trim a DTM. The boundary string can
consist of any number of closed segments and may contain clockwise and internal
anticlockwise segments, i.e. representing pillars or waste volumes. This function is
used to prepare a file for viewing solids modelling or contouring within a restricted
area.
a)
Select Surfaces
d)
30/54
Note that when the DTM was created, no distinction was made between clockwise or
anti-clockwise strings. The result is a rather untidy DTM which does not accurately
model the original survey data. By using the floor string as a boundary string, the anticlockwise segments will act as areas of exclusionThe DTM Clip function does exactly
this.
e)
f)
Select Surfaces
Select a point on the string to perform the clipping operation. Save the
resultant data to DTM file LEV1665.DTM
31/54
Note how the triangles outside the boundary strings have been clipped. This is one
way of beginning to create a 3D model of these underground workings.
7.
Section the pit by elevation, creating contours every 10
metes over pit1.dtm
a)
Recall the file pit1.dtm into graphics. We now wish to extract or create
contours by elevation every 10 metres over the pit.
b)
Plot a grid over the area to determine the minimum and maximum extents of
the pit. The elevation of this DTM goes from 45 to 245 metres.
c)
Select CONTOURING
determine if you wish to contour by interval or range and select a contour layer to
output the string file.
32/54
d)
If you wish to save the sliced string file, change your active layer to slice
and then save the file.
8.
a)
b)
blue - 0 to 200ppm
green - 200 ppm to 400 ppm and so on
33/54
34/54
9.
35/54
10.
Image Drape
This function permits you to apply advanced rendering techniques to Digital Terrain
Models and Solid Models by draping an image stored in a GIF file over the model.
This technique is very useful when:
An aerial photograph has been scanned and saved in a GIF file and you wish
to drape it over a DTM of the surface to give a photo-realistic representation
of the land surface. This technique requires you to digitise a number of control
points, known as registration points in the image and in the DTM.
This technique requires some effort to produce reasonable results as matching
points in the image and the DTM must be selected with care otherwise the
image will not match the DTM very well. The co-ordinates of the control
points may be saved to a registration file (.rgf) to simplify future image
rendering.
You want to display solid models of orebodies with a texture appropriate for
rock type which it represents. In this case, you require a GIF file of a suitable
texture which is then '
tiled'over the model.
Display: EOM_PIT.DTM
Choose IMAGE | Drape an Image file over a DTM from the FILE menu to display
the prompt:
36/54
The registration file stores the parameters used for registering a GIF file over a DTM
so that the image can be made to match the DTM precisely. In addition to the name of
the GIF file and the filter colour, the registration file records the image coordinates (X
37/54
and Y pixel values) and the corresponding real world coordinates for each of the
registration points.
If you are using either of the tiling options then any file name which you might enter
into this field has no effect on the result.
A minimum of 3 registration points are required and a maximum of 100 can be used.
As more registration points are used, the image will develop a progressively better
match with the DTM.
Enter a name to create a new registration file.
If the registration file named does not exist then it is created and all the details are
saved to it after the registration points have been defined.
If the registration file already exists, the parameters are displayed on the form to
permit you to alter them to suit your requirements.
Registration files are commonly used to simplify the task of draping an image over a
DTM as defining registration points repeatedly for the same image/DTM can be quite
time consuming.
Image file
This is the GIF file which contains the image to be draped over the DTM.
Image draping method
The image can be draped over the trisolation using one of two different methods, with
each method having two variations. These methods are:
Registering the image.
This is where the image and the DTM over which it is to be draped are displayed side
by side, in different viewports, and matching pairs of points are selected, using the
mouse, to control the process of draping the image over the DTM.
This method is most suitable when the image is of an aerial photograph and the DTM
is the land form at the time the photograph was taken.
The two variations for this method are:
register with new points
This method will use whatever registration points are displayed in the registration
points scrolling region and will require more registration points to be defined. You
may find that this method will be used a number of times with an image and DTM to
progressively improve the match between the image and the DTM.
register with existing points
This method will only use the registration points displayed in the registration points
scrolling region. If fewer than 3 registration points are present in the scrolling region
when you press Apply, you will be required to define some more registration points.
38/54
This method is useful for applying images of different material textures to make solid
models of orebodies, for example, appear more realistic. The best results will be
achieved with images which have no obvious pattern especially when tiling over solid
models as the image may be distorted considerably when folding underneath the solid
model.
tiling
This tiling method simply places the image in tiles of the specified size over the
trisolation.
mirror tiling
This tiling method creates a mirror image of every second tile, in both the X and Y
directions.
Define registration points by
When using registration points, you always use the mouse to select the registration
point locations in the image. To define the registration point coordinates in the DTM
however you may choose from:
graphics
The mouse is used to select the location of the registration point on the DTM. Use this
method when only approximate locations for the registration points are known or
when surface features, roadway intersections for example, are being used.
39/54
keyboard
The coordinates of the registration points are entered into a data entry form using the
keyboard. This method is appropriate when the registration points are surveyed targets
which are clearly identifiable.
Transmission colour
The textured image may be made transparent by specifying a transmission colour.
This colour is allowed to shine through the textured object when another object falls
behind it. Best results can be obtained by using a grey colour.
Ambient colour
Some graphics cards adaptors may cause a dimming of the textured image. This can
be countered by specifying an ambient colour that is reasonably light in colour.
To cancel the effect of the transmission colour and ambient colour as applied by the
IMAGE DRAPE function, you can use either the CLEAR SCREEN or ERASE
OBJECTS functions.
Image colour filter
The image colour filter works in a manner similar to colour filters in photography. By
leaving the colour filter blank, the image is presented in the colours as defined in the
image file.
Image and Real World coordinates for registration points
If an existing registration file is being used, all the saved parameters, including
previously defined registration points are displayed here. There must be a minimum
of 3 registration points to register the image to the DTM with the maximum number
of registration points being 100.
Complete the DRAPE IMAGE OVER A DTM or TRISOLATION form and choose
Apply to either drape the GIF image over the selected trisolation or to define
registration points for controlling the image registration process.
The registration points must now be defined by first selecting, using the mouse, a
location in the image.
Digitise registration point # in viewport 2
Locate the mouse over the required point in the image and press the mouse button to
define the image coordinates for a new registration point. The following prompt will
be displayed:
Digitise registration point # on the DTM in viewport 1
Locate the same point in viewport one and press the mouse.
40/54
After digitising the location of the registration point in the DTM or entering the
coordinates of the registration in the DEFINE COORDINATES FOR IMAGE
REGISTRATION POINT form, you will be prompted to digitise another registration
point. When sufficient registration points have been defined, press Escape to display
the REVIEW REGISTRATION POINT COORDINATES form.
These are the real world coordinates of the corresponding locations for registration
points in the DTM.
Complete the REVIEW REGISTRATION POINT COORDINATES form and choose
Apply to drape the image over the selected trisolation.
Helpful Hints
Adjusting the view
When defining the registration points either in the image or in the DTM, it is
generally necessary to adjust the view by either windowing in or out to find the best
location for the registration point. By pressing the ASSIST key, generally F11 you
can invoke the Viewer to adjust the view. On exiting from the Viewer you will be
prompted to select the point of interest.
Resizing the viewports
The original viewport containing the selected trisolation is split vertically so the the
image and trisolation can be displayed side by side. You may find that the viewports
are too small. It is possible to resize and move the active viewport while in the midst
of a point digitise action if you find it necessary to alter the viewport size and/or
location. If the two viewports overlap then the viewport in which the point must be
digitised is brought to the front when necessary.
Finding the registration points
It is generally easier to locate the position of registration points in the DTM if the
image has been rendered with a Light Source before starting the process of defining
the registration points. This is because surface features are much more obvious when
rendered with a light source and easier to relate to the image.
Memory usage
Image files, especially if they are large, can consume a considerable amount of
memory. To estimate the memory requirements for displaying an image, use the
following formula:
41/54
11.
Now that we have an gif image draped over a DTM, we can now digitise a string to
follow and then the view along string function allows you to effectively fly in the
direction of a string. This is an excellent method for viewing files.
Close all files that are open in graphics.
Drag and Drop EOM_PIT.RGF
You will now digitise a line that you wish to fly along.
The first step is to set the string number for any digitising that will be done. On the
toolbar, click on the design string icon
.
Set the string number to 500, and then click on the
apply button.
Next you will create a new layer for the digitising work to be
placed into.
On the toolbar, select the layer selection box, and click on the
<new layer> option.
42/54
The final step before you start creating your line is to tell Surpac that when you
digitise a point it should snap onto the DTM surface.
From the toolbar, select the snapping list options and click on the
Triangle option.
Now you are ready to digitise your line.
43/54
Enter the expression as shown, which will lift the string 10 metres above the DTM
surface.
Another helpful hint will be to smooth the string out. This will remove any very sharp
turns in the line.
44/54
45/54
46/54
Any time you wish to run the animation again, click on Zoom All, and then go to the
View along string function as shown earlier.
Saving the images to make a movie
top
Run the view along string function again, but this time on the right of the form, enter
a name to be given to images that will be saved at set points.
47/54
This will create better images, but will also create bigger files for each image.
This option will create a very large number of files, so be careful about how much
memory you have free on you computer.
48/54
12.
Use some of the tools from the Attributes menu for
enhancing the display of DTMs.
a)
b)
There are a number of functions for enhancing the display of objects. Try the
following icons to display the pit with rendered surfaces.
c)
h)
Toggle the Faces on/off icon back to on.
Shading is redrawn.
This is a fairly lengthy set of steps that has been made easier with the advent of
function icons but has been inproved even further by recording a similar series of
steps and using the ability to assign a SCL macro to an icon.
i)
Toggle the Render icon and observe the effect on the displayed DTM.
49/54
13.
Upper triangles of 2 DTM'
s - This function takes two DTM'
s
as input and creates a new DTM, which is an upper surface
combination of the two input files.
Combining a DTM representing a proposed waste stockpile and a DTM representing a
topological ground profile to produce a new DTM of the ground profile containing the
waste stockpile.
a)
Recall the two DTM'
s called `TOPO_DUMP1.DTM'and `DUMP1.DTM'
,
appending them both into the same layer.
b)
Go to Surfaces
The DTM/DTM UPPER RESULTS STORAGE form is displayed. The layer name
cannot be the same as any of the current layers.
c)
Now follow the prompt by picking each of the DTM'
s. The order of selection
is not important.
The program will go through the process of joining the two DTM'
s, finishing with the
statement `Calculations are completed'
.
You will now be in the layer you specified with the resultant DTM displayed.
The result is the waste stockpile surface incorporated into the topographic surface.
50/54
14.
51/54
15.
b)
c)
d)
52/54
The program will go through the process of joining the two DTM'
s, finishing with the
statement `Calculations are completed'
.
You will now be in the layer you specified with the resultant 3DM displayed. The
result is a solid 3DM representing the material that will have to be removed from the
designed pit. The image below shows before and after the DTM/DTM Intersection.
e)
Choose Report volume of solids from the Solids Tools menu to create a note
file with the volume of the Pit below the topography
53/54
REVIEW OF SURFACES
Uses:
Surface to surface volumes
model weathering surfaces, topography
visualisation
extract sections and plans
CONVENTIONS
1 DTM surface per file
Breakline v SpotHeight
No vertical or overhanging surfaces
Breakline strings are those strings which represent physical features that you
can see in the real world e.g. crest of a pit, a fault in a geological model, a
contour. No breakline strings should cross over other breakline strings, unless
the two strings cross at a common point.
The breakline test is an important concept to understand if DTM is to
accurately model terrain
Spot heights are random points so will triangulate nearest neighbour
54/54