when i import my own object and increasing the scale i find that my object is rotated and wasn't anchored on the marker (like teapot)
please tell me if there any specifications for obj file to work fine with SDK like teapot example
Vuforia uses a Z-up coordinate system. You may be able choose that as a setting when exporting your model. If not, it should be pretty easy to rotate the model programatically. For instance this would rotate 90 degrees around the X axis:
I also suggest making your objects sit cleanly on the origin in your modeling program. Our samples include a translate because the teapot is centered on the origin, rather than sitting on it:
Vuforia uses a Z-up coordinate system. You may be able choose that as a setting when exporting your model. If not, it should be pretty easy to rotate the model programatically. For instance this would rotate 90 degrees around the X axis:
I also suggest making your objects sit cleanly on the origin in your modeling program. Our samples include a translate because the teapot is centered on the origin, rather than sitting on it:
If your model is sitting on the origin you can get rid of this translate.
- Kim