meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
kchanddrawing [2020/08/11 13:19] mira_pichaikchanddrawing [2023/04/03 17:57] (current) steph.jorgensen
Line 1: Line 1:
-====== Hand Drawing ======+====== Hand drawing ======
 Branches can be drawn by hand using the mouse or a tablet device.  After they are drawn they can be manipulated as Bézier splines and even extended by another hand drawing operation.  Hand drawn branches can originate from Tree node (the disk on the ground) or any other branch node (hand drawn or not).  Procedural generators can be added to hand-drawn generators, allowing you to be specific where you need to be and still get the benefits of procedural geometry to fill in the details. Branches can be drawn by hand using the mouse or a tablet device.  After they are drawn they can be manipulated as Bézier splines and even extended by another hand drawing operation.  Hand drawn branches can originate from Tree node (the disk on the ground) or any other branch node (hand drawn or not).  Procedural generators can be added to hand-drawn generators, allowing you to be specific where you need to be and still get the benefits of procedural geometry to fill in the details.
  
 >**Note:** Hand drawing has changed for SpeedTree 8 to reduce misplaced branches and allow for better draw plane manipulation.  The new approach is to place stubs and then extend them as much as you'd like as described below. >**Note:** Hand drawing has changed for SpeedTree 8 to reduce misplaced branches and allow for better draw plane manipulation.  The new approach is to place stubs and then extend them as much as you'd like as described below.
  
-===== How to Hand Draw Branch =====+===== How to hand draw branch =====
 Follow these steps to get started with hand drawing. Follow these steps to get started with hand drawing.
  
   * Make a new scene using the "Blank" tree template.   * Make a new scene using the "Blank" tree template.
   * In Freehand Mode, select Hand Draw in the Properties Window.   * In Freehand Mode, select Hand Draw in the Properties Window.
- 
-{{ :hand_draw_icon.jpg?nolink&200 |}} 
- 
   * Hold "Space" and click anywhere on the Tree node disk to place a stub.  Your scene should look like the following image at this point. Notice the hand drawing indicator on the new generator.   * Hold "Space" and click anywhere on the Tree node disk to place a stub.  Your scene should look like the following image at this point. Notice the hand drawing indicator on the new generator.
  
  
-{{ ::hand_draw_1.jpg?nolink |}}+{{hand_draw_1.jpg?nolink}}
  
   * Hold "Space" and hover over the stub.  A white diamond should appear at the end like this:   * Hold "Space" and hover over the stub.  A white diamond should appear at the end like this:
  
-{{ ::hand_draw_2.jpg?nolink |}}+{{hand_draw_2.jpg?nolink}}
  
   * While holding "Space", click and drag the diamond to draw the branch. Release the left button to complete the action.   * While holding "Space", click and drag the diamond to draw the branch. Release the left button to complete the action.
  
-{{ ::hand_draw_3.jpg?nolink |}}+{{hand_draw_3.jpg?nolink}}
  
   * Hold "Space" again and click the trunk in several places to create new stubs.  Feel free to rotate the camera around the model to get the stubs where you want them.  The stubs will start where you click and point toward the camera.  Notice that a new generator is made to house these stubs, again with the hand drawing icon.   * Hold "Space" again and click the trunk in several places to create new stubs.  Feel free to rotate the camera around the model to get the stubs where you want them.  The stubs will start where you click and point toward the camera.  Notice that a new generator is made to house these stubs, again with the hand drawing icon.
  
-{{ ::hand_draw_4.jpg?nolink |}}+{{hand_draw_4.jpg?nolink}}
  
   * As before, Hold "Space" and hover over any stub or hand-drawn branch to reveal the white diamond.  Click and drag each diamond while holding space to draw the branches.   * As before, Hold "Space" and hover over any stub or hand-drawn branch to reveal the white diamond.  Click and drag each diamond while holding space to draw the branches.
  
-{{ ::hand_draw_5.jpg?nolink |}}+{{hand_draw_5.jpg?nolink}}
  
   * Finally, right-click the Branches generator and select "Add geometry to selected->Bifurcating branches" to add some procedural geometry to the model.   * Finally, right-click the Branches generator and select "Add geometry to selected->Bifurcating branches" to add some procedural geometry to the model.
  
-{{ ::hand_draw_6.jpg?nolink |Unordered List Item}}+{{hand_draw_6.jpg?nolink}}
  
 Continue by adding more stubs to the ground or any branches (hand drawn or procedural). You can draw part of the stub, rotate the camera, and continue drawing it to change the direction of the branch. Continue by adding more stubs to the ground or any branches (hand drawn or procedural). You can draw part of the stub, rotate the camera, and continue drawing it to change the direction of the branch.
  
-===== Editing the Spine of an Existing Hand Drawn Branch =====+===== Editing the spine of an existing hand drawn branch =====
 Switch to node editing mode and select the hand-drawn branch.  You should see a series of control points for the spine as pictured below. Switch to node editing mode and select the hand-drawn branch.  You should see a series of control points for the spine as pictured below.
  
-{{ ::control_point_1.jpg?nolink |}}+{{control_point_1.jpg?nolink}}
  
 Click and drag any of the control points to move them.  Alternatively, you can select a control point and use the standard gizmo to move them.  Control points have a number of options to aid in spine editing: Click and drag any of the control points to move them.  Alternatively, you can select a control point and use the standard gizmo to move them.  Control points have a number of options to aid in spine editing:
Line 54: Line 51:
 >**Note:** The "Resample" group exists as node properties as well. Entering node selection mode will allow you to resample a single hand drawn spline without resampling the entire generator. >**Note:** The "Resample" group exists as node properties as well. Entering node selection mode will allow you to resample a single hand drawn spline without resampling the entire generator.
  
-=== Curve Fit ===+=== Curve fit ===
  
 "Curve fit" is a scalar for the number of control points used to create the spline. A value of 1 results in an accurate spline that may have many control points based on the speed of drawing and other factors. Values less than 0.5 become inaccurate but have control points that are easier to work with (since each branch is composed of only a few control points). If using a low curve fit value, set the control point style to "Corner" to ensure the best accuracy with only a few points. You can always resample or add more control points later if necessary. "Curve fit" is a scalar for the number of control points used to create the spline. A value of 1 results in an accurate spline that may have many control points based on the speed of drawing and other factors. Values less than 0.5 become inaccurate but have control points that are easier to work with (since each branch is composed of only a few control points). If using a low curve fit value, set the control point style to "Corner" to ensure the best accuracy with only a few points. You can always resample or add more control points later if necessary.
  
-=== Control Point Style ===+=== Control point style ===
  
 Controls points are generated in either a corner, linear, or smooth style. Both linear and smooth control points have linear handles (each handle points 180° away from its counterpart), but smooth control points have the extra limitation that they must be of the same length. Smooth is best suited for flowing branches without sharp jinks, since jinks are hard to reproduce with equidistant, linear points. Controls points are generated in either a corner, linear, or smooth style. Both linear and smooth control points have linear handles (each handle points 180° away from its counterpart), but smooth control points have the extra limitation that they must be of the same length. Smooth is best suited for flowing branches without sharp jinks, since jinks are hard to reproduce with equidistant, linear points.
  
-{{ ::control-point-types.jpg?nolink |}}+{{control-point-types.jpg?nolink}}
  
  
-===== Converting Procedural Branches to Hand Drawing =====+===== Converting procedural branches to hand drawing =====
 It is possible to convert procedural branches to hand-drawn branches (but not the other way around).  The entire generator will be converted so be careful.  Converting 100,000 twigs on a VFX model to hand-drawn branches would likely be prohibitively slow to compute. It is possible to convert procedural branches to hand-drawn branches (but not the other way around).  The entire generator will be converted so be careful.  Converting 100,000 twigs on a VFX model to hand-drawn branches would likely be prohibitively slow to compute.
  
 Use either the "Convert to Hand Drawn" button on the generator or the "Hand Drawing->Convert to hand-drawn" option in the [[toolgeneration_editor|Generation Editor]] menu to make the conversion. Use either the "Convert to Hand Drawn" button on the generator or the "Hand Drawing->Convert to hand-drawn" option in the [[toolgeneration_editor|Generation Editor]] menu to make the conversion.
  
-===== Working With Hand Drawn Generators in the Generation Editor =====+===== Working with hand drawn generators in the Generation Editor =====
 Complex hand-drawn models may require extensive work in the Generation Editor to ensure that branches are drawn into the correct generator.  Please use the following guidelines to predict and control the hand drawing workflow. Complex hand-drawn models may require extensive work in the Generation Editor to ensure that branches are drawn into the correct generator.  Please use the following guidelines to predict and control the hand drawing workflow.
  
-==== New Branches ====+==== New branches ====
  
 New branches are placed according to the following guidelines: New branches are placed according to the following guidelines:
Line 87: Line 84:
 >**Note**: Hand drawn templates can be used effectively by linking an entire tree together (i.e. a trunk, level 1, and level 2 branches) made completely of hand drawn templates before drawing a single branch.  >**Note**: Hand drawn templates can be used effectively by linking an entire tree together (i.e. a trunk, level 1, and level 2 branches) made completely of hand drawn templates before drawing a single branch. 
  
-==== Paste Into ====+==== Paste into ====
  
 "Paste into," accessed via the right-click menu of a selected icon in the Generation Editor, will paste a copied generator's contents into another generator – even after nodes have been drawn. It will paste all of the properties except for the generation components. This is useful for quickly replacing the settings in a hand-drawn generator after branches have already been drawn. It is also great to use when there are node edits on child branches that you don't want to unlink and lose. "Paste into," accessed via the right-click menu of a selected icon in the Generation Editor, will paste a copied generator's contents into another generator – even after nodes have been drawn. It will paste all of the properties except for the generation components. This is useful for quickly replacing the settings in a hand-drawn generator after branches have already been drawn. It is also great to use when there are node edits on child branches that you don't want to unlink and lose.
  
-==== Copying and Pasting Hand Drawn Generators ====+==== Copying and pasting hand drawn generators ====
  
 Hand drawn generators can be copied and pasted the same as any other generator. A pasted copy of a hand-drawn generator will contain no branches until you draw them. Hand drawn generators can be copied and pasted the same as any other generator. A pasted copy of a hand-drawn generator will contain no branches until you draw them.
  
-==== Resetting a Hand Drawn Generator ====+==== Resetting a hand drawn generator ====
  
 Using "Clear node edits" in the Generation Editor menu or unlinking/relinking the generator will reset its contents.  After either of these operations, there will be no hand drawn branches in the generator until you place new stubs. Using "Clear node edits" in the Generation Editor menu or unlinking/relinking the generator will reset its contents.  After either of these operations, there will be no hand drawn branches in the generator until you place new stubs.
  
-==== Hand Drawn Targets ====+==== Hand drawn targets ====
 The first hand-drawn generator created in a branch level is automatically the designated "target". The target is indicated with a checkmark ('√') next to the hand-drawn icon overlay. However, the target can be manually turned off via the "Hand Drawing->Draw into selected" option in the Generation Editor right-click menu. Once the target has been disabled for a branch level, a new hand-drawn generator will be created the next time new branches are drawn on that level. The target can also be moved between existing hand drawn generators, but only a single target is allowed per shared parent at any given time. The first hand-drawn generator created in a branch level is automatically the designated "target". The target is indicated with a checkmark ('√') next to the hand-drawn icon overlay. However, the target can be manually turned off via the "Hand Drawing->Draw into selected" option in the Generation Editor right-click menu. Once the target has been disabled for a branch level, a new hand-drawn generator will be created the next time new branches are drawn on that level. The target can also be moved between existing hand drawn generators, but only a single target is allowed per shared parent at any given time.
  
-==== Locking Hand Drawn Sources ====+==== Locking hand drawn sources ====
 Occasionally you may want to "lock" a generator so that hand drawn branches cannot be generated as children. This may be true with a complex tree where it is difficult to tell which generator a particular branch belongs to. By locking a generator ("Hand drawing->Toggle lock on selected" in the Generation Editor right-click menu), hand drawing new children will be prohibited off of it. Occasionally you may want to "lock" a generator so that hand drawn branches cannot be generated as children. This may be true with a complex tree where it is difficult to tell which generator a particular branch belongs to. By locking a generator ("Hand drawing->Toggle lock on selected" in the Generation Editor right-click menu), hand drawing new children will be prohibited off of it.
  
-===== Best Practices =====+===== Best practices =====
 The following list outlines a few things to keep in mind when hand drawing branches. The following list outlines a few things to keep in mind when hand drawing branches.