Hi,
When I integrated with Vuforia, the CUBE was usually lying behind the marker. Hence, it had a odd rotating feeling when we moved camera around it. This was solved by translating CUBE by its SIZE in the z-axis. If I need to display any model, now I have to do the same adjustment i.e translate the model by its SIZE in the z-axis. (Since my model will lay on the marker I think I need height of the model to use in translation)
How can I achieve this?
What method I need to use which will get me the SIZE(or height) of the model?
Above questions resulted me in getting few basic questions. They may be trivial or may be answered. I checked few posts here on this topic I was unable to get satisfactory answers. Here are the questions:
1- What does model units mean when we load them in jpct(i.e any relation between units used while creating the model in a 3D software and jpct)?
2- What are the steps that need to be taken care before loading models in jpct which will ensure "proper" sizing(and probably orientation) during rendering? (in 3D software and in jpct)
3- Is there any way of getting the size (in some units) of the model at run time (apart from getScale)?
4- What is the basis for scaling?
5- One question regarding the object position after scaling which I didnt know how to ask, so I have attached an image. If you refer the image, if the "Dist" need to be constant then on every scaling operation, I have to calculate the distance and translate the object with that distance. Is there any easy of doing this?
If anyone can answer taking consideration of model with only 1 object and model with multiple objects will be great.
For modelling I use 3DS Max.
Thanks
[attachment deleted by admin]