Start a new topic

Cannot scale 3D Model up or down...

Cannot scale 3D Model up or down...

 Edit:
- When I use the SDK 6.1 with same javascript, everything works as expected...
- When using SDK 7, 3D model scale is working very randomly (works on some models, sometimes doesn't work at all, sometimes works when changing only one value (like I said in previous post), and sometimes a blinking gray thing is displayed instead of my model...

- When I put my augmentations in the sample app, the model is well displayed.. I've been seraching around for hours to find out why I cannot scale my model in my app, but no luck.


Do you have any idea why this happens inb my app and not in the sample app ?


Thanks,
Laurent

Hello Ingrid,

Since we are already in contact via email I have already replied to you there. Please consider changing the value of the translate.y starting with 1000.

Thanks
Eva

 

Hi Eva,

Did you find anything that could help me out?

Kind regards, Ingrid

Hi Ingrid,

You should be able to send them at support@wikitude.com. If the files are too big then you can also upload them somewhere and send the url.

Thanks
Eva

 

Hello Eva,


Thank you for looking into this! Where can I send the sources to? I already tried support@wikitude.com and forum@wikitude.com, but that doesn't work.

Hope to hear from you soon.


Greetings, Ingrid

Hello Ingrid,

Could you please send me apart from your FBX model your complete AR experience (.html, .css, .js files, assets, target images) so we can test internally?

Thanks
Eva

 

Hello Eva,

Thank you for the response. But what I mean is that the model does not scale at the first place. So without adding animations. I give it a scale on creation but it is not applied to the model at all.

Maybe I can send you the FBX so you can take a look at it?


Greetings, Ingrid 

Hello Ingrid,

What I would recommend you do first is check our documentation regarding how to add animation to 3D models and the forum as well as you will find several posts there. I have placed some links below:

1. Appearing animation
2. How to display 3D animation on Geo
3. Unable to run animation in 3D model created using Blender

Animation of the planets is done similarly to the 3D Model sample where the circular movement is composed of multiple AR.PropertyAnimations that are combined using AR.AnimationGroups. The animate(planet) function is responsible for creating these animations for a moving planet.


Thanks

Eva

Can I upload my 3D model maybe, so you can check?

I think it has something to do with my 3D model. When I use earth.wt3 from the 05_3dModels_6_3dModelAtGeoLocation example it works. But my own model does not work...

I am also having an issue with scaling a 3D Model on a GeoLocation. I would like to adjust the scale of the model depending on the distance to the user. But the scale stays always the same. Can you please help?


salam khan wrote "I having having issue with pinch to zoom when snap to screen a 3d model. It is working fine with iOS but not working with Android. What could be the problem? Is this a bug ?"

 

This is a different issue. I split the thread. The new thread can be found at https://support.wikitude.com/support/search/topics?term=Issue+with+pinch+to+zoom+of+a+3D+model+in+snap+to+screen+mode

In Sergey's case the initial scale was overwritten by a PropertyAnimation. Usually, when experiencing scaling issues, the original model is too big and the scaling value has to be set very low. To figure out the scaling value: one square of the grid in the Wikitude 3D Encoder equals the height of a target image if you use image recognition in our SDK.

 

Hope that helps,

Christian

I am having the same issue. Can you please tell what was the solution?

Christian, thank you very much for helping figure out the problem with scaling. It works now! 
Login or Signup to post a comment