cinema4d animations

All about the 2D and 3D art you can see in our projects...and free resources !

Moderator: Calimero

cinema4d animations

Postby dafreeman on Fri Jan 11, 2008 10:22 pm

hello,

does anyone know how to export animations in cinema 4d?
dafreeman
Brume Rookie
 
Posts: 11
Joined: Sun Dec 30, 2007 5:07 pm

Re: cinema4d animations

Postby dafreeman on Sat Jan 12, 2008 12:19 pm

I've found the solution

You can export Cinema4d animations with the plugin "XPort".
The standard direct3d-exporter of cinema4d is not really useful.

Link to plug-in

But there is an another problem: I can see the animation in DirectX Viewer but I don't know how to start it in Brume.
(I don't know how to give a name to the animation)
dafreeman
Brume Rookie
 
Posts: 11
Joined: Sun Dec 30, 2007 5:07 pm

Re: cinema4d animations

Postby Silmaryls on Tue Jan 15, 2008 8:52 pm

Hi,

You said that you can see the animations in DXViewer. Are you using a .X file ?
If so, all you have to do is to load the .X in Brume and extract the animations as in the demo :
Code: Select all
            BrumeXMesh tinyMesh2 = new BrumeXMesh(this, "tiny2", "tiny_4anim.x", true);
            BrumeAnimationManager.AddAnimationsFromMesh(tinyMesh2);
            BrumeLightedObject tiny2 = new BrumeLightedObject(this, "tiny2");
            tiny2.Animation = BrumeAnimationManager.GetAnimation("Jog");


If your animation has a name, you can find it in the .X file or just take a look at the anims that Brume extracts (it's a List)
If the anims have no names, I think you can try to add a prefix using the same method :

Code: Select all
        public static BrumeAnimation[] AddAnimationsFromMesh(BrumeHierarchicalMesh mesh, string animationsPrefix)


but this way you can play only one anim.
User avatar
Silmaryls
Brume Team Member
 
Posts: 340
Joined: Tue Feb 21, 2006 10:09 pm
Location: Paris - France


Return to Graphic Art

Who is online

Users browsing this forum: No registered users and 1 guest

cron