 |  |
IGES, PLY and OBJ formatted surfaces can be imported into CySlice for
texture map extraction. These surfaces may be created entirely from
scratch in another package, or they might be surfaces created by
CySlice but edited further in another package. Regardless of the
origin, imported surfaces must be correctly scaled and oriented to
match the loaded polymesh for the map extraction tools to work.
Figure 171. Surface Import |  |
Surface importing uses the same
Scale
and
Rot
controls that surface exporting uses, with one difference. You can
see by comparing
Figure 171
with
Figure 170
that the unit and axis choices are the same, but the field values are
inverted. This is on purpose; a surface that's exported as
cm
and scaled down by
0.1
needs to be scaled back up by
10
when imported back in.
 | Imported NURBS Surfaces |  |
Each patch of an imported NURBS surface can be picked using the usual
Texture Maps
tools, and mapping properties assigned. The global
All Type,
All Size
and
All Err
buttons can also be used to assign default parameters.
Once map properties are assigned, texture maps can be generated as
per usual.
Note:
If you want to preserve the imported surface's mapping properties,
you can save it out to a SLICE file.
 | Imported SUBD Surfaces |  |
An imported SUBD surface is represented by a single patch. All
texture map properties should be assigned to this patch, and as with
the imported NURBS surface, maps are rendered out in the usual way.
Unlike imported NURBS surfaces, imported SUBD surface can be edited
to some degree. You can't add or remove faces, or change the
connectivity of existing faces at all, but you can move the
vertexes.
Figure 172. Editable Imported SUBD Surface |  |
When an imported SUBD surface is loaded, the
Patches
panel
Rebuild
button changes to
Editable.
If you click on this, then every vertex in the surface is given a
shape point (see
Figure 172);
these points can be moved over the polymesh to change the shape of
the SUBD surface.
Note:
As with imported NURBS surfaces, if you want to preserve the imported
SUBD surface's mapping properties, you can save it out to a SLICE
file.
 | Copying SUBD UVs |  |
With imported SUBD surfaces you have the option to copy UVs from
another polymesh.
Note:
This tool is still in development, and at the moment it can only deal
with simple UV mappings like cylindrical projections. If there are UV
seams throughout the source surface, odd results will be produced.
Figure 173. Copy UVs Options |  |
What you do is:
(2) | | |
Import the destination SUBD surface into CySlice (see "Importing
Surfaces" above). The source and destination polymeshes need to be
perfectly aligned (i.e. the same size, position and orientation); if
the imported SUBD surface doesn't lie on top of the source polymesh
you'll need to modify the surface import
Scale
and
Rot
options until they
are
aligned.
|
Once the UVs are copied, you can use the
View UVs
button to check the results. See
Eg 5: UV Mapped Meshes
for one example of the use of this tool.
|