POV-Ray : Newsgroups : povray.general : Animating characters? Server Time
5 Nov 2024 05:24:03 EST (-0500)
  Animating characters? (Message 1 to 10 of 13)  
Goto Latest 10 Messages Next 3 Messages >>>
From: Chambers
Subject: Animating characters?
Date: 26 Aug 2008 00:37:13
Message: <48b38879$1@news.povray.org>
So I know that for still images, I can export from Poser (or, in my 
case, Daz Studio).  However, what if I want to do animations?  What are 
the best tools for this?

I'm guessing that most people who animate characters don't use POV, but 
I'm not most people :)

...Chambers


Post a reply to this message

From: kike
Subject: Re: Animating characters?
Date: 26 Aug 2008 04:55:00
Message: <web.48b3c4b53f3b0d77be7bfb550@news.povray.org>
Chambers <ben### [at] pacificwebguycom> wrote:
> So I know that for still images, I can export from Poser (or, in my
> case, Daz Studio).  However, what if I want to do animations?  What are
> the best tools for this?
>
> I'm guessing that most people who animate characters don't use POV, but
> I'm not most people :)
>
> ...Chambers

I think my answer wont help. Trying to do the same I started learning Blender (
http://www.blender.org/ ) about 4 months ago. The good thing of Blender is that
if you want, you can use Pov as render engine. If your animation is not very
complex you can use Moray as well ( http://www.stmuc.com/moray/ )

-----------------------------------------
www.enriquesahagun.es


Post a reply to this message

From: Chris B
Subject: Re: Animating characters?
Date: 26 Aug 2008 05:07:47
Message: <48b3c7e3@news.povray.org>
"Chambers" <ben### [at] pacificwebguycom> wrote in message 
news:48b38879$1@news.povray.org...
> So I know that for still images, I can export from Poser (or, in my case, 
> Daz Studio).  However, what if I want to do animations?  What are the best 
> tools for this?
>
> I'm guessing that most people who animate characters don't use POV, but 
> I'm not most people :)
>
> ...Chambers

Hi Ben,

You may want to add a few more words about what you're trying to achieve. 
Animating good looking human figures with hair, clothes etc. in POV-Ray is 
still tricky, but if you're only after little robots or toon characters it 
can be a lot easier.

I think you're right that most people don't animate human characters 
directly in POV-Ray. I wrote a set of macros (see 
http://www.geocities.com/povperson/), but they are cumbersome to use (I 
don't think anyone else has ever mastered using them). Others have also done 
stuff of their own (see 
http://www.youtube.com/watch?v=1TvoYMHyCV0&feature=user) but I don't recall 
seeing the code for that published at all. Rune has published a little 
walking macro and Teresa Willis did WilBot and son of Wilbot back in 1997 
(see http://www.jbarchuk.com/twillis/) which implements a walking macro. 
Otherwise there's an old Blobman macro for POV-Ray 3.1 that I think someone 
used to construct an animation recently, but it's ugly.

I think the best human animations I've seen done in POV-Ray to date were 
done frame by frame by exporting a large number of poses from Poser or Daz 
(or from some other modeller for toon-style or robot-style characters). Mike 
Williams wrote a Poser to POV tutorial at 
http://www.econym.demon.co.uk/posetut/index.htm back in 2003. Someone did a 
very nice animation of a lady walking in a circle a long time ago using this 
sort of technique, but I can't find that right now. This approach can also 
be very cumbersome.

Recently I've been looking at MakeHuman which seems to me to have the most 
future potential. It's an Open Source human modeller with a Python API that 
I'm currently helping to document. Once I've done that, I'm interested in 
exploring the possibilities of developing an API to generate POV-Ray meshes 
and poses directly (still early days).

Regards,
Chris B.


Post a reply to this message

From: Mike Williams
Subject: Re: Animating characters?
Date: 26 Aug 2008 07:23:31
Message: <ldiClMB$V+sIFw+F@econym.demon.co.uk>
Wasn't it Chambers who wrote:
>So I know that for still images, I can export from Poser (or, in my
>case, Daz Studio).  However, what if I want to do animations?  What are
>the best tools for this?
>
>I'm guessing that most people who animate characters don't use POV, but
>I'm not most people :)

To get fairly realistic looking animations of realistic looking Poser
figures you can perform the animations in Poser, either by interpolating
between a series of Poser poses, or using a built-in animated pose, or
by using a motion capture file.

To render them in POV you have to export the mesh of each individual
frame, because the exported information doesn't contain anything that
could be used in POV to work out how the skin and clothes move when the
figure bends its elbow.

You can do smooth animation of unrealistic characters by processing a
motion capture file into POV code, and get results like this
        http://www.econym.demon.co.uk/temp/grenade.mpg
That's using a free sample motion capture file from www.biovision.com
But if you tried to do that with a Poser character, it would break at
the joints instead of bending.

-- 
Mike Williams
Gentleman of Leisure


Post a reply to this message

From: Chambers
Subject: Re: Animating characters?
Date: 26 Aug 2008 10:10:38
Message: <48b40ede$1@news.povray.org>
Chris B wrote:
> You may want to add a few more words about what you're trying to 
> achieve. Animating good looking human figures with hair, clothes etc. in 
> POV-Ray is still tricky, but if you're only after little robots or toon 
> characters it can be a lot easier.

I've got a series of 8 - 15 second clips, each containing between 1 and 
8 principal characters, and up to several dozen secondary characters.

I could do still poses in Daz, but exporting individual frames for the 
entire thing would be cumbersome at best.

> Recently I've been looking at MakeHuman which seems to me to have the 
> most future potential. It's an Open Source human modeller with a Python 
> API that I'm currently helping to document. Once I've done that, I'm 
> interested in exploring the possibilities of developing an API to 
> generate POV-Ray meshes and poses directly (still early days).

I remember hearing about MakeHuman before; I'll take another look at it.

...Chambers


Post a reply to this message

From: Chris B
Subject: Re: Animating characters?
Date: 26 Aug 2008 11:55:58
Message: <48b4278e$1@news.povray.org>
"Chambers" <ben### [at] pacificwebguycom> wrote in message 
news:48b40ede$1@news.povray.org...
> Chris B wrote:
>> You may want to add a few more words about what you're trying to achieve. 
>> Animating good looking human figures with hair, clothes etc. in POV-Ray 
>> is still tricky, but if you're only after little robots or toon 
>> characters it can be a lot easier.
>
> I've got a series of 8 - 15 second clips, each containing between 1 and 8 
> principal characters, and up to several dozen secondary characters.

Is that 8x15 second clips? So about 2400 frames and an average of 30 
characters per scene? That sounds a lot!
How real do you need the people to look and what sort of details do you need 
(hair, clothes, eye movements, lip movements)?
What sort of poses and animation do you need? Complex unique movements or 
cyclic movements?
Are all of the people moving or can you have some motionless characters 
(e.g. a couple of dozen lying on a sun lounger)?
How much time do you have?

Here are some fairly random thoughts:
  o  You can reduce the effort by re-using as much as possible, so repeating 
the same basic pose sequence (e.g. walking).
  o  If you can reuse the same characters and poses in all of the 
backgrounds (maybe changing their starting points, direction etc. to make it 
less obvious), that would massively reduce the work required. It may even be 
possible to use the exact same sequence, just rotating the entire background 
group so you're looking at it from a different angle in the different clips.
  o  You may even be able to reuse foreground characters and poses, e.g. 
looking over the shoulder of a character just showing the back of the neck 
and having the same character face on may not be too apparent.
  o  If you do a 20 second sequence for a 15 second animation you can offset 
the starting pose by 5 seconds to make it less apparent that two characters 
are following the same sequence.

> I could do still poses in Daz, but exporting individual frames for the 
> entire thing would be cumbersome at best.

With something like a walking animation, or climbing stairs, or climbing a 
ladder you can just export a single walk cycle, e.g. a one second cycle, and 
re-use it by using the sequence repeatedly (translating/rotating it at 
regular intervals as required so that the repeats move the character further 
along the walk path).

If DAZ supports the sort of Poser functionality that Mike described in his 
response then that would probably be the quickest thing to try. If you can 
use an existing animation sequence, step through the sequence and quickly 
export the character and props, then perform a batch conversion you may be 
able to get a single character animation sequence into POV-Ray in a 
reasonable length of time.

> I remember hearing about MakeHuman before; I'll take another look at it.

The currently released 0.9.1 allows you to create a character, pose it and 
export .obj files that can be converted with PoseRay, but there's no clothes 
or hair and no built-in animation functionality yet. This means that with 
MakeHuman you'd currently have to define each pose rather than use the sort 
of functionality Mike described for Poser to cut the effort required for 
generating your frames. If you've got lots of time and want to help exploit 
the future potential then this may still be a good way to go.

If you're on a tight deadline then it's probably going to mean a lot of 
tedious, repetitive conversion work to define a set of sequences that you 
can repeatedly reuse.

Regards,
Chris B.


Post a reply to this message

From: Nicolas Alvarez
Subject: Re: Animating characters?
Date: 26 Aug 2008 18:28:15
Message: <48b4837f@news.povray.org>
Chambers wrote:
> I could do still poses in Daz, but exporting individual frames for the
> entire thing would be cumbersome at best.

It doesn't allow scripting? Command-line software ftw!


Post a reply to this message

From: Nicolas Alvarez
Subject: Re: Animating characters?
Date: 26 Aug 2008 18:29:22
Message: <48b483c2@news.povray.org>
Chris B wrote:
> "Chambers" <ben### [at] pacificwebguycom> wrote in message
> news:48b40ede$1@news.povray.org...
>> I've got a series of 8 - 15 second clips, each containing between 1 and 8
>> principal characters, and up to several dozen secondary characters.
> 
> Is that 8x15 second clips?

No, that is probably clips between 8 and 15 seconds :)


Post a reply to this message

From: Chambers
Subject: Re: Animating characters?
Date: 27 Aug 2008 13:20:00
Message: <web.48b58cb43f3b0d77261d9700@news.povray.org>
Nicolas Alvarez <nic### [at] gmailcom> wrote:
> Chris B wrote:
> > "Chambers" <ben### [at] pacificwebguycom> wrote in message
> > news:48b40ede$1@news.povray.org...
> >> I've got a series of 8 - 15 second clips, each containing between 1 and 8
> >> principal characters, and up to several dozen secondary characters.
> >
> > Is that 8x15 second clips?
>
> No, that is probably clips between 8 and 15 seconds :)

Correct :)

Most of the "scenes" will be OK with minimal movement; some walking, a few
waving arms, things like that.  I have some creative license, so I can choose
which ones I want to target, and I'll be focusing on ones that let me reuse
assets (characters and scenery).

....Chambers


Post a reply to this message

From: Chris B
Subject: Re: Animating characters?
Date: 28 Aug 2008 03:09:14
Message: <48b64f1a@news.povray.org>
> Most of the "scenes" will be OK with minimal movement; some walking, a few
> waving arms, things like that.  I have some creative license, so I can 
> choose
> which ones I want to target, and I'll be focusing on ones that let me 
> reuse
> assets (characters and scenery).

Well this does all sound like what POV-Person does, so long as you're not 
too fussy about the quality of the anatomical models (built using a 
combination of meshes, CSG and Blobs).

It has a crowd generation macro that can generate random people standing 
around in the background (it can position them on a surface for you). The 
animation cycles can be applied to any one of a range of different 
characters and there are options for randomly varying the body shapes. It 
generates some rudimentary items of clothing (using a very limited set of 
macros) and hair (also from a limited set). It even has a pose interpolation 
algorithm so you can manually define two poses (or use two of the predefined 
poses) and generate an intermediate pose or animation (e.g. a hand wiggling 
about).

It's all controlled through POV-Ray SDL macros and variables though, so 
you'd need to learn about how it works from the documentation and examples 
and I don't have any evidence that anyone has ever managed to do that. Also 
I never got round to combining the animation and crowd control options into 
a single example scene, so adding animation to a crowd would require a bit 
of study.

One potential option is to use POV-Person to auto-generate a crowd of 
stationary people standing around in the background (see the examples in the 
download and in the documentation) and punctuate with occasional animated 
character, plus hand-crafted foreground characters converted from Poser or 
another modeller. The disadvantage is , of course, that you'd end up having 
to learn something about both techniques.

Regards,
Chris B.


Post a reply to this message

Goto Latest 10 Messages Next 3 Messages >>>

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.