I noticed, that you can only add image targets and not cylindrical ones. Is there a reason for that?
Additionally this part in server.js doesn’t make sense to me:
var documentcreate = '<?xml version="1.0" encoding="UTF-8"?>\n' + '<ARConfig xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">\n' + ' <Tracking>\n' + ' <ImageTarget name="' + objectName + '" size="300.000000 300.000000" />\n' + ' </Tracking>\n' + ' </ARConfig>';
It creates a target.xml when the target.jpg is uploaded. But this file gets overriden when the target.zip file is uploaded. So why create it in the first place?
Ok, after some hacking to allow cylindrical targets I see that it’s difficult because the z axis mapping has to be taken into account. I would like the z axis to be orthogonal to the side of the cylinder and x and y to be the height/width of the cylinder which is probably quite difficult to map into the RealityEditor coordinate system…