Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Will GLUE OBJECT TO LIMB slows down performance?

Author
Message
Bulleyes
23
Years of Service
User Offline
Joined: 3rd Nov 2002
Location: Cyberjaya, Malaysia
Posted: 4th May 2003 13:42
Hi,

I created a character in my game and animate it using bone animation. The ways that I usually do for bone animation are,

1. Create a bones skeleton of the character. These bones will be mainly used for animation.

2. Then, I attached the skin of the character to the each bone. Each skin will be a separate mesh, i.e. head, hand, foot, body, etc.

Since my Panda .X exporter doesn't work correctly when I export the model with animation, i.e. it seems like all the skin are scattering all over the screen. So, I decided to attach the skins to the bones manually in DBpro.

I found that there is two ways to deal with this:

1. Using ADD LIMB, OFFSET LIMB and LINK LIMB. By using this way, I need to add the limb, and link it in such way that the bone will be the parent of its skin.

2. Using ADD OBJECT TO LIMB, such that the object will be the skin, and the limb will be the bone.

I had chosen the second approach since all the skins have diffuse map and bump map. If I use the first way, I have no way to bump map a limb. (or is there any way that I don't know?)

My question is, will there be any performance differences between the first and the second approach?

I got a feeling that the second approach might slow down the performance, since the 3D engine have to keep track of the position and the orientation of the limb every time, and update the glued object accordingly. Whereas for the first approach, the newly added limb is already part of the scene graph of the object, so it will be handed more optimally by DBpro (or Direct3D).

I know this is a very long question, but this decision is important to me.

Thanks everyone for the patience and help!
Bad Nose Entertainment - Where games are forged from the flames of talent and passion.

http://www.badnose.com/
Bulleyes
23
Years of Service
User Offline
Joined: 3rd Nov 2002
Location: Cyberjaya, Malaysia
Posted: 7th May 2003 21:47
Hmm... seems so quiet. I wonder nobody knows how to answer this, or nobody knows what am I talking about.

Bad Nose Entertainment - Where games are forged from the flames of talent and passion.

http://www.badnose.com/
D Man
23
Years of Service
User Offline
Joined: 3rd Oct 2002
Location: Germany
Posted: 7th May 2003 21:54
I understand.
But I have never needed/tested it.
So I have no idea which is faster.

God is real, unless declared integer.

Login to post a reply

Server time is: 2026-07-11 02:13:47
Your offset time is: 2026-07-11 02:13:47