Previous | Index | Next



Generate the Neck

Append a new Stem node to the Seamless's build field

To easily distinguish the build nodes that generate the neck, right click on the Stem node and select background

and change the SceanTreeBackground to a light pink by setting the color field to 1 .9 .9

USE the Part neck0 for the Stem's part
Add a new SurfaceGenerator to the Stem's surface
Add a new CCLathe to the SurfaceGenerator's generator

Select the CCLathe node
Set baseRad to .075
Set the number of elements for the curve field to 2  ( count = 2 )
Set curve and distance to:

 
index curve distance
0 1.5708
1 -3.1416 .05

Select the Stem
Set staves to 10
Set bands to 4


Generate the Head

Append a new Stem node to the Seamless's build
USE the Part head for the Stem's part
Add a new SurfaceGenerator to the Stem's surface and DEFine it as headSurface
Add a new CCLathe to the SurfaceGenerator's generator

Select the CCLathe node.
Set the number of elements for the curve field to 2 ( count = 2 )

Set curve and distance to:

 
index curve distance
0 -1.5708
1 3.1416 .4

Select the Stem Node

Set staves to 16
Set bands to 9
Check beginSP
Check endSP


BranchJoin the Neck to the Head Surface

Before we can BranchJoin the neck to the head surface we must align the top ring of vertices to 0 on the Y axis

To do this insert a new Place node before the Stem that generates the head. (right click on the Stem that generates the head and select paste/sibling above/new/Place)
USE the Part neck0 for the Place's part

A Place node transforms any part it USEes and all of their descendants. This is the reason we inserted the Place node before the head triangles are generated because we don't want to move the head, only the neck.

Select the Place node
Set multiply to 0 -1 0
Set tranVertex to 1000000

The Place node multiplies it's multiply value with the vertex's coord value indexed by the tranVertex. The result of this calculation is internally added to the translation value for the the Place node's transformation. If the tranVertex value exceeds the number of vertices in the part the Place node interprets this to mean the last vertex in the part.

In short:

  • When aligning the top ring to 0 set tranVertex to 1000000
  • When aligning the bottom ring to 0 set tranVertex to 0


We can verify the top ring is aligned to 0 by clicking on any top ring vertex and looking at the "coord" displayed in the top left of the 3d window (the y  component (the middle number) should = 0 )

Append a new BranchJoinPosY  to the Seamless's build field
USE the Part neck0 for the BranchJoinPosY's part
USE the SurfaceGenerator headSurface for the BranchJoinPosY's surface

Select the BranchJoinPosY 
Set vertexLen to 30 because we only want to mold the top 3 rings of vertices (10 staves * 3 rings = 30 vertices)
Check sawn so that the rings will gradually evolve less and less towards the last ring specified. The last ring specified remains straight/unchanged. (like if a tree has a flat "sawn" off branch)
Check backward because we are specifying vertices from the top end in reverse index order

We should now see the top half of the neck molded onto the head.



BranchJoin the Neck to the Torso Surface

Before we can branch join the neck to the torso surface we must align the bottom ring of vertices with zero on the Y axis

To do this append a new Place to the Seamless's build
USE neck0 for the Place's part

Select the Place node
Set multiply to 0 -1 0
Set tranVertex to 0

The head is moved up with the neck like we want because remember the Place node affects all descendants of the parts USEed

Show the Part pelvis

Append a new BranchJoinNegY  to the Seamless's build
USE the Part neck0 for the BranchJoinNegY's part
USE the SurfaceGenerator torsoSurface for the BranchJoinNegY's surface:

Select the BranchJoinNegY
Set vertexLen to 30 (the lower 3 rings)
Set location to 0 .67 0
Check descendants so that head a descendant of neck0 also gets translated by location
Check sawn

Now we can see our neck molded to both the head and the torso surfaces


Hide the pelvis, neck0 and head Parts




Copyright© 2000-2006 Graham Perrett thyme@seamless3d.com