top of page

Poly-X: A Maya Plug-in for Shape Placement

My partner, Chloe Le, and I created a Maya plug-in authoring tool called Poly-X based on the research paper Learning Shape Placements by Example.

Poly-X is a tool that learns and propagates shape placements in 2D polygonal scenes from a few examples provided by the user. The output of this tool is a new set of placements with similar geometric relationships compared to the given example placements in a new scene.

In the example image in the right, the three scenes of a mirror, a sink, and

the wall in the right are the example scenes. Our tool gets the information

between those three objects in the example scenes to calculate what

the best position would be for the missing mirror in the top left scene.

The result from our tool is the scene in the bottom left of the image.

For each example scene, we get the relationship between the objects in the

scene and based on those we calculate candidate placements. We evaluate

those candidate placements using a target function based on 

Bishop’s kernel regression, which gives us the similarity measure. The higher the similarity measure value is, the more similar the scenes are, so we just pick the candidate placement with the highest value as the best placement for the object.

We used: 

  • C++

  • Python

  • SWIG (to use our C++ code in Python)

  • MEL

The following video explains and demonstrates our tool:

Screen Shot 2019-10-11 at 6.08.37 PM.png

© Iciar Andreu Angulo 2020

  • Vimeo
bottom of page