MergeGeo

From RMIT Visual Effects
Jump to: navigation, search

As its name suggests, MergeGeo merges geometry together into one piece of geometry. It is useful for making simple structures from Cards. These may be used as projection surfaces in camera projection scenarios. In the snippet below, three objects are being animated together using a TransformGeo node. This would have been difficult to do without first merging them as one object. Note also that they all share the same projected texture, via an ApplyMaterial node.

Press 'Expand' and select and copy everything below this line, then paste into the Nuke node graph.

set cut_paste_input [stack 0]
version 9.0 v7
Camera2 {
 inputs 0
 translate {5.539999485 5.437425613 14.53999996}
 rotate {-18.67805537 20.49994296 0}
 name Camera7
 selected true
 xpos 930
 ypos -862
}
Camera2 {
 inputs 0
 translate {0 0 23}
 name Camera1
 selected true
 xpos 830
 ypos -1061
}
CheckerBoard2 {
 inputs 0
 name CheckerBoard7
 selected true
 xpos 891
 ypos -1048
}
Project3D2 {
 inputs 2
 name Project3D1
 selected true
 xpos 820
 ypos -964
}
Cylinder {
 inputs 0
 translate {-2.359999657 0.9200000167 0.1999991685}
 rotate {18 13 13}
 uniform_scale 0.78
 name Cylinder1
 selected true
 xpos 1130
 ypos -1098
}
Cube {
 inputs 0
 translate {0.9800000191 0.8199999928 -0.6499999762}
 rotate {24 17 0}
 uniform_scale 1.6
 name Cube1
 selected true
 xpos 1027
 ypos -1098
}
push $cut_paste_input
Sphere {
 selectable false
 name Sphere4
 selected true
 xpos 939
 ypos -1099
}
MergeGeo {
 inputs 3
 name MergeGeo2
 selected true
 xpos 1027
 ypos -1009
}
ApplyMaterial {
 inputs 2
 name ApplyMaterial1
 selected true
 xpos 1027
 ypos -964
}
TransformGeo {
 translate {0 {"fBm(frame*0.05, (20), 0, 5.3, 1.16, 0.5)*2"} 0}
 name TransformGeo1
 selected true
 xpos 1027
 ypos -894
}
push 0
ScanlineRender {
 inputs 3
 conservative_shader_sampling false
 motion_vectors_type distance
 name ScanlineRender7
 selected true
 xpos 1027
 ypos -841
}
Write {
 name Write6
 selected true
 xpos 1027
 ypos -817
}
Viewer {
 frame 67
 frame_range 1-100
 name Viewer1
 selected true
 xpos 1027
 ypos -793
}
StickyNote {
 inputs 0
 name StickyNote1
 label Animated!
 note_font_size 30
 selected true
 xpos 1004
 ypos -1196
}
StickyNote {
 inputs 0
 name StickyNote2
 label "The MergeGeo merges the Cube, Cylinder and Sphere \ninto one piece of geometry. \n\nA simple material has been projected onto them as a group. "
 selected true
 xpos 1137
 ypos -915
}