z axis rotation of bones
Moderators: Víctor Paredes, Belgarath, slowtiger
z axis rotation of bones
Is it possible to rotate bone in z axis? If this can be done lot of works can be simplified, like front walk cycle.
What are you refering to rotate in Z axis?
As far as I know bones rotates thru Z axis of the layer that they are (the bone layer). I supouse that you refer to a rotation in an axis perpendicular to Z that allow a Z movement of the binded shape/points.
You can not rotate bones in that way because bones will be always within the bone layer plane. But you can make a X or Y rotation to the Vector layer that is inside the bone layer so the corresponding vector layer is rotating in X or Y (or a combination of) while the bone is a 2D rotation (though its Z axis). It is not true 3D but for certain kind of animation could be useful.
Sorry if my explanation is not so clear. Perhaps an example will help.
If you want I can post an example tonight (at home).
Regards
Genete
As far as I know bones rotates thru Z axis of the layer that they are (the bone layer). I supouse that you refer to a rotation in an axis perpendicular to Z that allow a Z movement of the binded shape/points.
You can not rotate bones in that way because bones will be always within the bone layer plane. But you can make a X or Y rotation to the Vector layer that is inside the bone layer so the corresponding vector layer is rotating in X or Y (or a combination of) while the bone is a 2D rotation (though its Z axis). It is not true 3D but for certain kind of animation could be useful.
Sorry if my explanation is not so clear. Perhaps an example will help.
If you want I can post an example tonight (at home).
Regards
Genete
- Víctor Paredes
- Site Admin
- Posts: 5814
- Joined: Wed Jan 26, 2005 12:18 am
- Location: Barcelona/Chile
- Contact:

i always show the same example... this are 3d objects with several 2d bone layers.
here is a little more information.
http://www.lostmarble.com/forum/viewtop ... in&start=0
There is another reason why you would desire the third rotation axis for bones.
Yes you can rotate a layer or use 3D elements, but suppose you had a forearm and wanted to create simple foreshortening. Scaling the bone doesn't always do the job so well. So if you could rotate the bone in the "3rd" dimension this would very... very cool. It would distort only the points under its control.
Man... this would be cool.

-vern
Yes you can rotate a layer or use 3D elements, but suppose you had a forearm and wanted to create simple foreshortening. Scaling the bone doesn't always do the job so well. So if you could rotate the bone in the "3rd" dimension this would very... very cool. It would distort only the points under its control.
Man... this would be cool.

-vern
Hey! I have to close my mouth today!!!
Not with vectors, only with 3D Object those things can be done...
Now at home I've tried to do as I said before and it is not possible. Bone layer make a proyection of the sublayers held accordint to its relative projection. so if you have a 90º X rotated VECTOR layer inside a bone layer, once you get out of frame 0 the bone layer proyect the figure to its perspective so the shape is seen as a line.
Here is an exaple in a rotarion of 45º X axis.
FRAME 0

FRAME 1

AFTER SOME BONE MANIPULATION

It is an interesting result. Rotation of vector layer have been done at frame 0. If you do it at other frame it rotates relative to its origin do final position is on other level.
Sorry for answer something wrong

I was playing with a 3D object that was a piece of paper and I get confused.
Not with vectors, only with 3D Object those things can be done...
Now at home I've tried to do as I said before and it is not possible. Bone layer make a proyection of the sublayers held accordint to its relative projection. so if you have a 90º X rotated VECTOR layer inside a bone layer, once you get out of frame 0 the bone layer proyect the figure to its perspective so the shape is seen as a line.
Here is an exaple in a rotarion of 45º X axis.
FRAME 0

FRAME 1

AFTER SOME BONE MANIPULATION

It is an interesting result. Rotation of vector layer have been done at frame 0. If you do it at other frame it rotates relative to its origin do final position is on other level.
Sorry for answer something wrong



I was playing with a 3D object that was a piece of paper and I get confused.
- Víctor Paredes
- Site Admin
- Posts: 5814
- Joined: Wed Jan 26, 2005 12:18 am
- Location: Barcelona/Chile
- Contact:
lostmarble spoke one time about 3d bones, he said moho doesn't have 3d bones because a philosophical problem more than a technical problem.
in feature request he said No.
on the other hand, i remember fazek wrote he could write (o maybe was writing) a script for draw 3d vectors. that sound really cool and now i think about, maybe 3d bones could be a script too, i don't know...
in feature request he said No.
on the other hand, i remember fazek wrote he could write (o maybe was writing) a script for draw 3d vectors. that sound really cool and now i think about, maybe 3d bones could be a script too, i don't know...
Well, if you put only one bone in each bone layer, and find an alternative way to manipulate bones, 3D bones shouldn't be impossible to do. You simply put the origin of the bone layer at the origin of the bone and use X
axis rotation to rotate into 3D and Z axis translation to translate into 3D.
You now have to do it by hand, but I'm sure this could be automated using special tool scripts.

An additional problem in using 2D layers is that there is no hidden surface removal. An object is either in front or in the back of another object. Therefore, I had to use two layers, one in front and one in the back, and use layer visibility to create an illusion of 3D. If there are several 3D objects, it can be quite elaborate to create a static setup, because the number of permutations (layers in front and in the back of other layers), go up like permutations (2 for two objects, 2 * 3 for three objects, 2 * 3 * 4 for four objects, and so on...). Each possibility would then have to be put into a switch layer, etc. At for instance 10 objects, AS would become dog slow because of the many objects involved.
So its possible, but not very practicle, I think.
source: 3D bones.zip
I think it is far easier to create 3D animation in another program, export as 3D image objects and import those as a 3D image sequence into AS.
axis rotation to rotate into 3D and Z axis translation to translate into 3D.
You now have to do it by hand, but I'm sure this could be automated using special tool scripts.

An additional problem in using 2D layers is that there is no hidden surface removal. An object is either in front or in the back of another object. Therefore, I had to use two layers, one in front and one in the back, and use layer visibility to create an illusion of 3D. If there are several 3D objects, it can be quite elaborate to create a static setup, because the number of permutations (layers in front and in the back of other layers), go up like permutations (2 for two objects, 2 * 3 for three objects, 2 * 3 * 4 for four objects, and so on...). Each possibility would then have to be put into a switch layer, etc. At for instance 10 objects, AS would become dog slow because of the many objects involved.
So its possible, but not very practicle, I think.
source: 3D bones.zip
I think it is far easier to create 3D animation in another program, export as 3D image objects and import those as a 3D image sequence into AS.
- Víctor Paredes
- Site Admin
- Posts: 5814
- Joined: Wed Jan 26, 2005 12:18 am
- Location: Barcelona/Chile
- Contact:
here is my example. is not too clean.

i can't write much, my right hand is plastered (maybe is not the word). i fell down from a tree... i sprained my right hand and my left elbow
AS file
http://www.freewebs.com/tazatriste/mohos/mano3d.rar

i can't write much, my right hand is plastered (maybe is not the word). i fell down from a tree... i sprained my right hand and my left elbow

AS file
http://www.freewebs.com/tazatriste/mohos/mano3d.rar
That is exactly what I described.
I guess the point is that you have to be careful about the position of the 3D (and 2D) object to other objects in your scene. If it is supposed to be in front of other objects, it should also be higher in the layer order in your Layer window than those other 3D objects. And if objects change position in front and back, relative to the viewer, you need to use duplicate layers and modify layer visibility of the layer duplicates at just the right frame in the timeline.
I guess the point is that you have to be careful about the position of the 3D (and 2D) object to other objects in your scene. If it is supposed to be in front of other objects, it should also be higher in the layer order in your Layer window than those other 3D objects. And if objects change position in front and back, relative to the viewer, you need to use duplicate layers and modify layer visibility of the layer duplicates at just the right frame in the timeline.
- Víctor Paredes
- Site Admin
- Posts: 5814
- Joined: Wed Jan 26, 2005 12:18 am
- Location: Barcelona/Chile
- Contact:
rasheed, i haven't visibility problems. the 3d space works fine even if i have several bone layers with a 3d bone each one.
then i group all them in a new bone layer, as in the hand example.
the layer orden doesn't affect the... am... 3d visibility.
if you want that a 3d object be on top or behind the other, you can select "reset z buffer" in the layer options. just when you chose it, the layer order is important.
you can see in my example, the fat finger cross the other finger (which is not too clean...)
then i group all them in a new bone layer, as in the hand example.
the layer orden doesn't affect the... am... 3d visibility.
if you want that a 3d object be on top or behind the other, you can select "reset z buffer" in the layer options. just when you chose it, the layer order is important.
you can see in my example, the fat finger cross the other finger (which is not too clean...)