From K-3D

Jump to: navigation, search



RenderManArray3D renders multiple copies of a source object that have been transformed along three dimensions. It can be more efficient than rendering using multiple MeshInstance nodes because it only stores one copy of the source object in the output RIB file. Multiple instances of the source object are then rendered using lightweight RiObject/RiInstance directives. The layout of the transformed instances is controlled with separate Layout nodes for flexibility.


Using RenderManArray3D with TranslateArray3D
  • Start K-3D.
  • Use Create > Quadrics > Cone to create a Cone that will be rendered multiple times.
  • Choose Create > Array > RenderManArray3D to create the array node that will control the number and layout of cones to be rendered.
  • The new RenderManArray3D properties will appear in the Node Properties Panel.
  • For the Source property, choose the cone.
  • For the Layout property, choose "-- New TranslateArray3D".
  • The new TranslateArray3D properties will appear in the Node Properties Panel.
  • You will see a collection of overlapping cyan bounding-boxes in the viewport. Each bounding-box is the same size as the source cone, and the boxes show where the cones will be rendered. The boxes overlap because the default offset for each copy is less than the size of the source cone.
  • Set the Offset 1 property X value to "15.0", the Offset 2 property Y value to "-15.0", and the Offset 3 property Z value to "15.0". You will see that the bounding-boxes no longer overlap.
  • Zoom out and recenter the display so you can see all of the bounding boxes.
  • Continue adjusting the offset properties and note the cumulative effect as the offset is applied to each copy of the original cone.
  • Note that the TranslateArray3D node also has a Layout property - you can use this to "chain together" different layout algorithms.
  • Select the RenderManArray3D node in the Node List Panel so its properties are visible in the Node Properties Panel.
  • Change the Count 1, Count 2, and Count 3 properties and see that the number of cone instances changes.

See Also

RenderManArray1D, RenderManArray2D, TranslateArray3D, RotateArray3D, AlternateArray3D