About Store Forum Documentation Contact



Post Reply 
Parent & Children
Author Message
Corrado Offline
Member

Post: #1
Parent & Children
Hello,

tks for your support, i try "Forward Rendering" and its faster with objects+terrain.

Now i have a question about the 3DStudio objects with parent+children : how to move/rotate/... them ? (the children)

I see that the Mesh Editor produce (correctly from Panda exporter .x) an object with a number of meshes == to the segments (parent+children) number.

I see that i can operate on the single mesh, but this without know the Hierarchy, so how can i move/rotate/... the segment (parent/children) correctly ?

(In others engines the shape is organized in object->segment->face so i can operate on the single segment).

Tks
Corrado
01-22-2009 07:48 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
Re: Parent & Children
Hi,

you can select different mesh parts in Mesh Editor using - = keyboard buttons

in Esenthel Engine Mesh has no parent->child relation, a Mesh is just an array of parts (Mshc's)
shortly speaking something like that

Code:
struct Mesh
{
  Mshc mshc[];
};
01-22-2009 07:58 PM
Find all posts by this user Quote this message in a reply
Corrado Offline
Member

Post: #3
Re: Parent & Children
.. yes, i can operate with the c++ code on a single mesh : this is enough for the doors : parent->children,
but how do with objects like tank or missile launcher that has parent->children->subchildren ?

Corrado
01-22-2009 08:15 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #4
Re: Parent & Children
you can check tutorial "mesh\separate rendering parts"
01-22-2009 10:27 PM
Find all posts by this user Quote this message in a reply
Post Reply