SpeedSix.Edger

PURPOSE
Allows the creation of Inventor format 2D or 3D surface data via edge detection, editing and digitising. This can then be imported into Action.
The clip may contain more than one shape but the physical relationship within the frame of each component will influence the distribution of CONTOURS generated. The contour can be converted into a CURVE which can be edited to perfect the outline prior to saving the data in Inventor format. It is also possible to digitise a curve or curves directly, skipping the contour stage.

INPUT CLIP
Edges to Find (High Contrast): The image to convert. Ideally the input clip should be a high contrast image of the shape to be translated into geometry.

This monster is not intended to be an all singing and dancing modelling package. It can create a triangulated Inventor format:

What makes a good shape? If you can take your pencil for a walk and end up where you started without crossing over the line or leaving the paper then you have the ideal image. If you can do this to discreet areas of the image then you will probably succeed too. Shapes with holes will be fine for a box section model, but not a bevelled model. The crop circle design used here is a single closed line, therefore successful.

How To Do It

CREATING A CONTOUR
The first thing to determine is the contour of any edge(s) found in the current frame. The contours are displayed as green lines. Where the contours are found is controlled by the following.

Invert Input (Default: Off)
On: Invert the input image.
Off: Use the input image as is.
Why swap the input? If you get a negative curve, the shape is black, framed with white when you view Filled Curves:

The inside/outside effect should be reversed.

Threshold (Min: 0.0 Max: 1.0 Default: 0.5)
The intensity level to create a contour. As this value changes, the contour line generated will match the edge found at this intensity level in the image.

THE BOUNDING BOX
You may want to selectively create geometry from discrete areas of the image or limit the search area for speed. Drag the purple overlay to size and center it using the white cross. The bounding box controls are on the second control page.

XY Center (Default: image center)
The center of the bounding box. Only the image within the box will be considered when the edge contours are found.

Match Scales (Default: On)
On: the X and Y will scale together, keeping the current aspect ratio of the bounding box.
Off: the X and Y scales are independent.

X/Y Scale (Min: 0.01 Max: 2.0 Default: 1.0)
Scales the size of the bounding box and hence the area of the image to create contours from.

POINTS CREATED
The Weld Radius should be set prior to creating any curves.

Weld Radius (Min: 0.0 Max: 100.0 Default: 0.0)
When curves are created, points that are within the weld radius tolerance are simplified to one point. Judicial use of this will reduce the complexity of the contour while maintaining its integrity. Once a curve is created, changing the Weld Radius will not have any affect. You must choose the radius first, then create the contour. Unwanted contours can then be deleted or you can delete them immediately.

CREATING THE CURVES
When you have the contour that you think is OK, you need to generate a curve from the contour. The curve can then be edited to suit. You cannot edit the contours.

Get Curves
Click here to generate the curves. Check your Weld Radius first.

Display (Default: Contours)
The output display can be any one of these options:
Input+Curves: Any curves created over the input clip.
Contours: The contour line derived from the input clip.
Input+Contour: The derived contour over the input clip.
Outline of Curves: The outline only of the current curves.
Filled curves: The filled surface information described by the curves.
Black+Curves: The current curves on black.

ALERT: Whatever my settings I always get a black image; no contours, nothing. Check what you are displaying. If any of the Curve options are selected and you have no curves, then switch back to Contours.

REFINING THE CURVES
The following help to refine the selected curve without too much work!

Flatness (Min: 20.0 Max: 300.0 Default: 100.0)
The lower the value, the smoother the edges of filled curves become; closer to the edges of the displayed curve. This value is also used when the geometry is created. The smoother the edges, the lower the Flatness value, the finer the the model structure on a curved surface.

Relax Current Curve
Select the curve to relax and click on Relax Current Curve. When the curves are created the lines joining the points are straight. Relaxing the curve will smooth the line using the settings of RelAng and RelLenRat.

Relative Angle (Min: 0.0 Max: 179.0 Default: 20.0)
Angles between the handles that are less than this value will be "relaxed". That is, both handles will be set to the average of their directions while their lengths are preserved, making the the curve slope continuous at that control point.

Relative Length Ratio (Min: 1.0 Max: 20.0 Default: 5.0)
If the ratio of the lengths of the two handles at a control point is greater than this value, the curve will NOT be relaxed at that point. SAVING AND RESTORING DESIGNS
The contours created and edited to date can be saved to file. Regular saving at key points in the editing stage of a curve is advised. You know why, or should do by now!

Design File: text box
Click here then enter the name you want to call the design file. This file will contain all the curve data. The file will be saved in the setups/SpeedSix.Edger directory. Any extension is optional. Call it what you will, just remember what you called it!

Save Design After naming, click here to actually save the curve data.

Restore Design
The named design file is restored. ALL CURRENT WORK WILL BE OVERWRITTEN.

CREATING GEOMETRY FILES
When you have done all the work you think you need to, save the geometry to file and then check it out either by loading the geometry into Action or running SceneViewer, sometimes known as iiview. The latter options allow you to see what you have made without exiting SpeedSix.Edger. You can then adjust your curves etc, save again and reload. I know it would be nice to be able to do this within the spark. Mail support@five-d.com with your requests!

Bevel/Box/Flat (Default: Bevel)
Bevel: The defined bevel is added to the model.
Box: the shape is extruded to the given Z Depth.
Flat: only a single surface is written.
With Box and Bevel the following files will be written:

and The Flat option only writes my_name_FLAT.iv.

ALERT: The separate components are useful in action to allow smoothing and colouring to be individual BUT remember to turn of Fit or all the pieces will not align themselves correctly!

Geom File: text box
Click here then enter the name you want to call the geometry file. This file will translate all the curve data to Inventor format. The file will be saved in the setups/SpeedSix.Edger directory. The required extension, ".iv" is automatically added to the base file name.

Save Design
After naming, click here to actually save the curve data.

Z Depth (Min: 0.0 Max: 2000.0 Default: 50.0) The depth of the 3D model, used when writing either a Box or Bevel model. The bevels are scaled in proportion to the Z depth.

RESTART
Totally remove/delete/expunge all work done to date on curves.

Delete All Curves
Click to initiate destruction of all curve data. Then click on the red Confirm box if you really want to start again.

POSITIONING THE GEOMETRY
The movement controls on Ctrl2 will let you set the size, orientation and origin of the model to be created. All curves will be moved.

Rotation XY Origin (Default: image center)
Drag the red cross to position the center of rotation and what will be the origin of the model when read into Action.

Rotation Angle (Min: -360.0 Max: 360.0 Default: 0.0)
Drag the red arrow to set the orientation of the model.

XY Scale and Scale (Min: 0.5 Max: 20.0 Default: 1.0)
The size of the model, which can be independent in x and y, or overall.

XY Translation (Min: -5000.0 Max: 5000.0 Default: 0.0)
The location of the model.

PERSONALISING THE BEVELS
The bevel controls let you design your own bevel proportion. The blue bevel curves created are only a guide as to the resulting bevel which will be written into the geometry. If you edit, move or play around with the blue bevel lines then you will be wasting your time. The bevels written out will ignore any changes and the current bevel setting will be used for ALL curves when the geometry file is written out.

There is a dire warning here: Creating a broad bevel may cause the bevel co-ordinates to wrap over and a chaotic model will be made. Again lots of improvements can be made to the modelling capabilities of bevelling; if you want more stuff then mail support@five-d.com.

Create Bevel
Select the curve you want to see the bevel line for. Probably you will want to switch on Freeze Curves first so you do not accidentally move a point. Then click on Create Bevel; the blue line is drawn. You can now check for any wrapping or other nastiness. If you do not like the look of it, use the edit tools to delete the bevel curve, change the settings and re-create.

Note: always check the green message box, it tries to tell you useful things which may help.

Bevel Size (Min: 1.0 Max: 20.0 Default: 5.0)
The base size of the bevel created.

Bevel Scale (Min: 50.0 Max: 1000.0 Default: 100.0)
After a bevel has been made you can scale the base size without having to re-create the bevel curve.

Bevel Depth Scale (Min: 0.0 Max: 1000.0 Default: 100.0)
The relative depth of the bevel to the depth of the model will change.

Reverse Curve If you create a bevel curve and it is drawn outside the shape, rather than internal to the shape, you need to reverse the direction of the contour.

GENERAL CONTROLS
Colour Box (Default: yellow)
The base curve colour.

Colour Box (Default: blue)
The bevel curve colour.

Freeze Curves (Default: off)
The control is found on all the 3 control pages for ease of access.
Off: the curves can be freely moved and edited.
On: curves can be selected but not moved. Useful when you want to pick a curve to make it the current curve, but not change any of the points.

FULL...1/32 (Default: FULL)
Use lower resolutions for faster results but less detail.

HELP gets you here!
Reset1/2/3 sets default values of the current control page for the current frame.

EDITING CURVES
When you have created a curve you can refine and adjust it to perfect the outline. The toolbar controls have the same functionality as in SpeedSix.Morpheus. Select the tool you want by clicking on it, it goes darker when chosen.

THE TOOL BAR CONTROLS

Adds points to the end of the currently selected curve. Usually you do not select this manually.

Selects pick and move mode, in which control points on existing curves can be picked.

Deletes a selected point on a curve.

Inserts a selected point on a curve. Click and drag to the required position.

Removes any constraints on the handles of the chosen control point.

Forces the handles on a control point to form a straight line, forcing slope continuity across curve segments.

Forces the curve segment to linear. Sets the outgoing handle on the chosen control point and the incoming handle on the following control point, to near zero length.

Enables the dragging of a complete curve.

Starts the drawing of a new curve. After the first point is made the mode changes automatically to the ‘add point’ mode.

Deletes the next whole curve picked. Mode is changed to ‘pick/move’ after each deletion.

A ‘Cutter’ which will separate out one curve into two curves after selecting the point where you want to break the curve.

Joins two curves.

The nearest end points of the two curves are linked to form a single curve.

Snip Curve To cut a curve, draw a line crossing the curve. With the cutting line selected as the current curve, click on Snip Curve. The line segments crossed by the cutting line are deleted and separate curves created.

Reset Tool Bar
Reposition the toolbar in the display regardless of any pan or scale.

Toolbar XY Position (Default: below image) The base XY location of the toolbar. Drag the toolbar into position by press+drag when the cursor is over the border region. Or set the position by value.

CREATING A MODEL BY DIGITISING
It is quite possible to create the base curves by digitising directly and ignoring any of the contours, or using them just as a guide. Sometimes this may be faster and more successful, especially if you have no high contrast image to work with!

When digitising please remember:

P.S. The eye is a separate model, slightly deeper.

HELP gets you here!
 

SOUND

Channel curves from SpeedSix.AiffExtract can be imported into the Amplitude Import curve to control any of the animation channels. When you find a use for sound in Edger please let support@five-d.com know!

Import Amplitude File
Using the file browser select the file you saved in SpeedSix.AiffExtract. The data is then loaded into the Amplitude Import channel.

Amplitude Import ( Min: -1000.0 Max: 1000.0)
The value range of this channel matches the potential range within SpeedSix.AiffExtract. Scale and translate the imported channel data to match the value range of your target channel. Use the usual copy and paste controls to get the sound information into the desired animation channel.
 
 

Index