Old-school trick for 3D effect

Have you come up with a good Moho trick? Need help solving an animation problem? Come on in.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
macton
Posts: 93
Joined: Thu Aug 18, 2005 6:29 am
Location: San Diego

Old-school trick for 3D effect

Post by macton »

Since this topic comes up quite a lot, I'd like to share a simple old school game technique for making psuedo-3D characters.

The basic idea
1. Separate your character into small component parts (e.g. head, iris, pupil, etc.)
2. Build each part in a separate vector layer
3. Move each layer's depth (Z translation) so that the center of the layer is where it would be if your character was actually 3D.
4. Use "Rotate to face camera" and "sort by depth" on each vector layer.

This effect is not for everything, there are a lot of little caveats and bones are right out (in general), but there is the definate advantage of only having to do the animation from one angle. And since there is no point animation, it should be fairly Flash friendly.

There is the additional problem of Moho's "rotate to face camera" option is calculated (Sorry LM...) completely wrong IMO. So if you are using Moho's renderer (We're not here, so it's not so much a problem for us.) you will see the most problems as either the layer or camera rotates about the x axis.

To give you the idea visually:

Character built with separate layers in their proper depths
http://crashcore.com/public/moho/exampl ... facing.swf
http://crashcore.com/public/moho/exampl ... acing.moho

Character with vector layers set to face camera
http://crashcore.com/public/moho/exampl ... facing.swf
http://crashcore.com/public/moho/exampl ... acing.moho

Here's hoping this helps someone!

NOTE: These files are provided for informational purposes only.
Last edited by macton on Thu Dec 29, 2005 8:40 am, edited 2 times in total.
User avatar
bupaje
Posts: 1175
Joined: Fri Nov 12, 2004 5:44 pm
Location: California
Contact:

Post by bupaje »

That dog looks pretty good -thanks for the tip.
[url=http://burtabreu.animationblogspot.com:2gityfdw]My AnimationBlogSpot[/url:2gityfdw]
saintmovius
Posts: 28
Joined: Tue Aug 03, 2004 10:05 pm
Location: Tulsa, OK USA
Contact:

Cool Trick

Post by saintmovius »

That is an awesome trick!! Any way we could see the Moho file to get a better understanding?
macton
Posts: 93
Joined: Thu Aug 18, 2005 6:29 am
Location: San Diego

Re: Cool Trick

Post by macton »

saintmovius wrote:That is an awesome trick!! Any way we could see the Moho file to get a better understanding?
See above. Note that these files are copyrighted (They are provided for instructional purposed only.)

You'll see that the 3D view is completely based on the camera (i.e. The camera is just doing a simple orbit) and no modifications to the character are done based on view angle.
Post Reply