5

Blog Entry #6

posted in Papervision3D

Skin And Bones in Papervision3D

bones in papervision3dWhen I was exploring Papervision3D source folders, I have seen MD2.as , DAE.as , ... , Bones.as, Skin3D.as , and I was sure that will works fine instantanetly.

First I have tried to use MD2 formats but I've not yet succeeded to find an adequate exporter. So I have try with a 3D model made , rigged and skinned in my favorite 3D application.

My firsts try was wrong because I tried to import it as Collada. Just changed Collada by DAE resolved the problem.

Joints were automatically converted to Bones3D, and mesh to Skin3D.

I have been able to animate my mesh using all weights params painted in favourite 3D application. I did not yet try to use Limits constraints.

I have just a little trouble when animate, if I rotate several properties of the same Bones3D, It is really hard to come back to the initial position. But I think it is due to the gimbal lock.

So this little Bones and skin Demo shows what you could be able to make when using rigged mesh in Papervision3D.

9 comments about this entry

1

posted by : Pablo Bandin
from : Your location
December 2, 2008, 4:30 pm
website : http://pablobandin.wordpress.com

Greate job! It wold be nice to have more info on your code!

2

posted by : Stephan Tanguay
from : Canada
December 22, 2008, 4:20 pm
website : call2action.ca

Great demo, first I have scene that actually implements those classes!

3

posted by : Ryan
from : Canada
April 8, 2009, 8:05 pm
website : http://ryan.ameba.ca

so where would you find this bones.as file? and is Bones3D class? or a program?

4

posted by : Ben
from : Your location
March 17, 2010, 11:25 pm
website : http://yoursite.com

It doesent Help anyone without the Code ;)

5

posted by : Type your name
from : Your location
March 17, 2010, 11:44 pm
website : http://yoursite.com

@Ben use dae insteed of collada, bones are ready in papervision

6

posted by : Ben
from : Your location
March 18, 2010, 2:25 am
website : http://yoursite.com

Thank, i added bones in blender and used DAE. but this does not work for me, do you have a tutorial for that ??? Thank you!!!

7

posted by : Badou
from : Brussels
March 18, 2010, 8:13 am
website : http://blog.badou.biz

@Ben I will make it asap, but not much time right now.

  1.  
  2. /* Use of Papervision3d Bones */
  3. /* Create a 3d Model with Maya, add joints , export with freecollada , check the joint box ( or check all boxes to be sure )
  4. Then .... */
  5.  
  6. var colladaDataLoader : URLLoader = new URLLoader();
  7. colladaDataLoader.dataFormat = new URLLoaderDataFormat.TEXT ;
  8. colladaDataLoader.load( new URLRequest ("my dae file") );
  9.  
  10. /*When loader complete loaded */
  11. var riggedDae : DAE = new DAE (XML(colladaDataLoader.data) );
  12. /* When Dae successfully build */
  13. riggedDae.getChildByName("my bone name" , true).localRotationY += 15;
  14.  
  15. /*I hope it help , but no more code needed */
  16.  

Have a nice day.

8

posted by : Juan Herrera
from : Colombia
July 12, 2010, 12:51 pm
website :

Could I get your hand model? Thanks.

9

posted by : Badou
from : Brussels
July 12, 2010, 10:08 pm
website : badou.biz

@Juan Herrera , no stress, here it is. http://www.badou.biz/blog/assets/bones/3dobjects/arms.dae and the uvmap if you need it http://www.badou.biz/blog/assets/bones/3dobjects/images/textures/HANDUVcopy.jpg Im really sorry, Il need to make a how-to asap. Enjoy

Write a comment

edit




Insert :


Search Engine

Search blog entries


Search

Recommended Feed

keep your mind opened ...