rendering model without some parts

My model like this:

Egg file like this in the pview:

But when I load with other animation, it become like this:

Render only a jackets.
This is my py file:http://ubuntuone.com/3jCkNPDppQ8Wtt3cmKNO0C
This is some model:http://ubuntuone.com/3dOV2qM5sQtPo6Lqj6Uahy

This happens when the actor’s animation moves it off of its origin–it confuses the bounding volumes.

As a hack around this problem, try:

actor.node().setBounds(BoundingSphere((0, 0, 0), radius))
actor.node().setFinal(1)

where radius is sufficiently large to encompass the actor’s movement.

David

Thank David.

I try add line:

self.pandaActor.node().setBounds(BoundingSphere((0,0,0),100))
self.pandaActor.node().setFinal(1)

At least can render one jackets. I want try another method: use four egg file save body, jackets, skirt and hair.

So maybe the animation is moving the other parts out of the field of view unexpectedly? Or scaling them very small? I don’t know, it’s hard to speculate what might be wrong.

David

I remember there being something odd about parts being exported with zero scale when they weren’t rigged or so.

They are model and animaiton: http://ubuntuone.com/3dOV2qM5sQtPo6Lqj6Uahy