I’m starting to add 3d mapping to my croquet set project. The idea is that each hoop in the croquet set is a 2D arch embedded in 3d space by adding the corners of the playing field to the map array after all the actual pixels have been mapped:
As a first attempt, I wanted to write a simple pattern which swept through the color spectrum along the y-axis, similar to the default when you start a new pattern. I noticed, thoiugh, that I was getting an error that there was no exported render
function when I had written a correct render3D
. I then simplified as much as I could and noticed that even though the Mapper and the preview showed the wicket in 3 dimensional space, the pattern was selecting render
over render3D
. The same happened when I tried to write render2D
render3D:
render2D:
render:
Notice that no pattern was generated except for render
. In the case where both function are uncommented, render
is chosen over both render3D
and render2D
I’m wondering if the extra entries in the map array are throwing off the pattern editor somehow. I’m really surprised that render2D
isn’t even picked up as the wicket is a 2D shape. What am I missing?