Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 630 Bytes

README.md

File metadata and controls

14 lines (11 loc) · 630 Bytes

CanStack

A simple plugin that generates can stacks from an input object.

Clones of an input object are stacked pyramid-syle, like food cans.

This plugin demonstrates the following C4D API aspects:

  • Generator object plugins with input, derived from class ObjectData
  • Cloning objects as 'real' clones or render instances
  • Generator caching with CompareDependenceList(), DIRTYFLAGS and recursive dirty checks
  • Adjusting container values with MSG_DESCRIPTION_VALIDATE
  • Using command buttons in the attribute manager with MSG_DESCRIPTION_COMMAND
  • Using BaseArrays and Iterators
  • Vector and matrix math in general