sceneform-android-sdk icon indicating copy to clipboard operation
sceneform-android-sdk copied to clipboard

Object's scale issue

Open narfO opened this issue 7 years ago • 6 comments

Hello,

Hello, sorry for maybe stupid question, but i have this problem: I have model of sunshade with real size 2,4x2x2meters, but when I insert it to our app, it's size doesn't match (picture of that is in attachment). Model (modeled in 1:1) was exported from Blender as glTF file. Google was not too helpfull. Does anyone experience with that? File with glTF file and textures are in attachment.

Thanks.

sunshade1 sunshade.zip

narfO avatar Dec 13 '18 13:12 narfO

Make sure you have no custom scale factor in your .sfa file.

model: {
      ...
      scale: 1.0, //remove this line or set it to 1.0 and then recreate you sfb file
   },

bobekos avatar Dec 13 '18 16:12 bobekos

hello bobekos .... thx for your reaction but we have to work with glTF files. Export what i did was gltf file and there is not scale parameter as you mention here.

narfO avatar Dec 14 '18 17:12 narfO

Is this being attached as a child node of something else in the scene? If a parent node has a scaling factor that will be represented in the scale of the child as well.

If that's not it then we probably need to see your source files to see what's going on.

AlgoRyan avatar Dec 17 '18 06:12 AlgoRyan

hello AlgoRyan... I cleared every pattern which I could, but It didn't help. It still has the wrong scale in the app. I attached gltf and blend file (scene file). What is weird, other smaller models which I have (same export settings as I did in the sunshade model) .. have correct scale. sunshadeTest.zip

narfO avatar Dec 18 '18 07:12 narfO

Hi, any progress on this issue? I have similar problem.

jknazko avatar Feb 05 '19 14:02 jknazko

nope. I found nothing about this topic.

ut 5. 2. 2019 o 15:23 jknazko [email protected] napísal(a):

Hi, any progress on this issue? I have similar problem.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/google-ar/sceneform-android-sdk/issues/463#issuecomment-460655452, or mute the thread https://github.com/notifications/unsubscribe-auth/AruU8giImtOqZO2H3SHD697DtCd41-bvks5vKZPygaJpZM4ZRlks .

narfO avatar Feb 19 '19 09:02 narfO