Start a new topic

disable 3d model scale

disable 3d model scale

1 person has this problem

Is there any new property by which we can disable the auto 3D Model scale?

I want to keep static size for all the distance.  


1 person likes this

Hi Adrian,

I am sorry but I do not exactly understand what you want to achieve with your use case. Do you want to set your own scale? Could you please send over your use case in more details?

Thanks

Thanks


i want to disable 3d Ar.Model scale , i tried everything, but if i use:

a)

AR.context.scene.scalingFactor=1;

AR.context.scene.minScalingDistance=1;

AR.context.scene.maxScalingDistance=10000000000;

 

b)


AR.context.scene.scalingFactor=1;

AR.context.scene.minScalingDistance=1;

AR.context.scene.maxScalingDistance=1;

 

c)


AR.context.scene.scalingFactor=1;

AR.context.scene.minScalingDistance=1000000000;

AR.context.scene.maxScalingDistance=1;

 

nothing happened with ar.model, nor labels, circles  or images. With a) example, labels, circles, images dont scale (what i want to do), but 3d model, scales and when i am 1 m to obj the 3d obj it becames so small. I always want to see 3d model the same distance. All of these in Geo not in Relative.

 

Thnks!

Nono! I want to always keep 3D model object scale.
I want to disable like I did with labels, circles and images
But with scalingFactor =1 the object still scales
Keep the original model scale always! So the object distance not affect the model size. I made it with labels and images but. It dont worked for 3d models

please any help will be great!

The scaling of 3D models is realtive to the target. That is, the smaller the target, the smaller the augmented 3D model. 

If you want another scaling - in your case, which is independent of the distance - you can do this by directly setting the scale of the 3D model by a value which is relative to the distance to target. 

You can obtain the distance-to-target from the function distanceToTarget.onDistanceChanged of the Trackable2DObject  (see http://www.wikitude.com/external/doc/documentation/latest/Reference/JavaScript%20API/classes/Trackable2DObject.html).
We are talking always by geo position poi ? No to 2d traking. I am using a 3D ar.model like poi!

How can it be achieved in InstantTrackable?

Login or Signup to post a comment