- Sort Posts
- 9 replies
- Last post
Multi targets
Multi targets
Hello I have trouble creating multi targets.
1. Since there are 6 images I am not knowing what width should I specify!
2. I specified a width of 20 and tried uploading the top image of resolution 1600x1200, this is the error that I got
Please help me out on what to do to clear the error :(
I tried finding it on the links you mentioned. But did not find it.
Multi targets
Hi, the error that you are seeing is due to the fact that the dimensions of your cuboid do not have the right aspect ratio for that image;
for instance, if you upload an image of 1600 x 1200 as top image, your cuboid should have a width and a length which respect the ratio given by 1600 / 1200 = 4/3 = 1.3333
For example, a valid cuboid dimension would be: width = 16 and length = 12 (but also any combination whose ratio is = 1600 / 1200)
Alternatively, you can change the size of the image so that the image respects the aspect ratio that you want for your cuboid.
The same attention must be paid for the bottom, front/back and left/right images
Multi targets
Thanks. I found it.
CAn you please answer my previous question too;
Hi
Cuboid worked fine with your solution. Thanks for that
Now,.
1. I am trying to make a cube.
2. Since cube asks only for the width:
> I have 6 images all of resolution 1024x768 with.
> What should I now give for width and how can I find it out?
Multi targets
You can define the width using whatever unit of measure you choose, though it's advisable to set the width greater than the near clipping plane (i.e. > 2 ). This unit is then inherited as the unit scale of the 3D scene. If you need for your model's scene dimensions to match a real dimension, use the 'true' dimensions in a standardized unit of measure (e.g. inches, cm, mm etc.. ).
Hi, some useful reading about MultiTargets and how to create them:
https://developer.vuforia.com/resources/dev-guide/multi-targets
https://developer.vuforia.com/resources/dev-guide/adding-target-database
https://developer.vuforia.com/resources/dev-guide/creating-multi-target-xml-file