Week 3
programming for animation » Devlog
used python within Maya to create a polytube with different dimensions. this is my first time using python to interact with a rendering engine.
polyCubes are Maya primitives that can be created using the python command:
polyCube([axis=[linear, linear, linear]], [constructionHistory=boolean], [createUVs=int], [depth=linear], [height=linear], [name=string], [object=boolean], [subdivisionsX=int], [subdivisionsY=int], [subdivisionsZ=int], [texture=int], [width=linear])
source: https://download.autodesk.com/us/maya/2010help/CommandsPython/polyCube.html
this allows me to create blocks for use within programs. this can be expanded on, but I mostly spent this time getting to grips with the polyCube.
Leave a comment
Log in with itch.io to leave a comment.