Jump to content
Sign in to follow this  
xjoker_

Problem with scaling when exporting p3d from Blender to Object Builder

Recommended Posts

Hello.

 

I have mesh, with an armature and an animation. 

When i export it to .p3d with A3 Toolbox for Blender, the model is like 100x bigger. And not even in the same orientation. 

I tried to rescale the mesh in Blender, apply location , rotation and scale (ctrl+a). But it didn't change anything. 

I tried to rescale the armature too, but same pb. 

Here is a video showing what is happening : 

 

 

Does somebody have any idea on why it's doing this in object builder ?

Share this post


Link to post
Share on other sites

happens to me too, i always import on 0.01 scale, and its perfect

Share this post


Link to post
Share on other sites

Same here.

Importing from 3DS has the same issue.

Usually 0.01 or 0.001 sorts it out.

Share this post


Link to post
Share on other sites

100% agreement with what has already been said. I've had to scale the model at 0.01 when importing weapon models into Object Builder.

Share this post


Link to post
Share on other sites

when you import a different format like fbx , obj, yes you have the option to scale it before the import, 

but in my case it's a .p3d, I just open it with a double click, I haven't this option. 

 

I could of course rescale the mesh in OB, but if i do that, my animations are broken

Share this post


Link to post
Share on other sites

if when importing you get it 100 times bigger, try setting your unit scale to 0.01 instead for 1.00

ps: i am not a blender user, so i wouldn't know how that transfers units between these...

Share this post


Link to post
Share on other sites

have you tried setting that to "none" just had a look over @macser's rig and that is how that is set up to

Share this post


Link to post
Share on other sites
30 minutes ago, PuFu said:

have you tried setting that to "none" just had a look over @macser's rig and that is how that is set up to

 

It didn't work. 

I just noticed that what I get in OB, is exactly what i get in Blender when I delete the armature though

 

Share this post


Link to post
Share on other sites

Found that in a different thread:

On 14.12.2016 at 0:26 PM, Megadeth_ said:

Hi. 

 

Most likely you need to apply location and scale before exporting.

 

Read the parts regarding "Apply Object transformations"

 

https://wiki.blender.org/index.php/User:Fade/Doc:2.6/Manual/3D_interaction/Transform_Control/Reset_Object_Transformations

Go to Object Mode and reset:

 

location of the selection (ALT G)

scale of the selection (ALT S)

rotation of the selection (ALT R)

origin of the selection (ALT O)

 

Works perfectly for me.

Share this post


Link to post
Share on other sites

I understand he's already tried that. And in a few different ways.

 

The mesh itself doesn't seem to be the problem. It looks like the interaction between it and the armature is the source.

 

If xjoker separates the mesh from the rig it'll export fine. But then the rtms generated from the armature become an issue. 

Share this post


Link to post
Share on other sites

 

On this video, you can see that : 

1) I can export the mesh to OB at the right size

2) Then, If I export the animation to OB, it's broken, because it's scaled for a mesh x100 bigger

3) I try to apply scale on the armature to see what happens

4) Now the animation is broken but not the same way : the mesh is floating everywhere

5) I export it to OB and I see the same thing that on Blender. 

 

@Macser I also tried to scale both the armature AND the mesh as you suggested, but i get the same results

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×