Collada 1.4.0 Plugin for Blender : Collada Plugin for Blender Forum The fastest message board....ever.
Goto Thread: PreviousNext
Goto: Forum ListMessage ListNew TopicSearchLog In
Goto Page:  Previous1234567891011...LastNext
Current Page:2 of 17
Re: Animation Support
Posted by: hectorus (IP Logged)
Date: October 24, 2007 05:13PM

Hello,

I would like the plugin to support the "Layer" animation in blender.

ex: node A is contained in layer "L0" from frames 0 to 10 and then is in layer "L1"...

Like this, i would be able to have objects appearing / disapearing from existing layers (very usefull for game programming ...)

However, i do not know if the collada spec supports this kind of thing ...
(Blender supports it anyway)



Re: Animation Support
Posted by: slvmnd (IP Logged)
Date: November 6, 2007 10:17PM

Hi there, I'm trying to use Blender with the 3D engine Horde3D and I would really like to be able to import skinned animations from Blender to Horde via collada. A description of the problem can be found here: [www.nextgen-engine.net]

The Horde "colladaConv" importer program isn't very generally written and only works with collada files exported from max or maya (using the FCollada library) with the "bake matrices" option enabled. So although some of the fault lies with "colladaConv" I think the collada blender plugin is not far from being compatible with Horde.
I started to look into how to modify the collada plugin but I soon gave up due to the complexity of the plugin and my limited understanding of collada and blender.
(Sidenote: As much as I like Python, the lack of type declarations actually makes it harder to dig into a large foreign code base imo.)

So this is what I came up with:
line 1217 in collada.py should be changed from:
AppendTextChild(node,i[0],val)
to:
SetAttribute(AppendTextChild(node,i[0],val), DaeSyntax.SID, "transform")
For example, this will change exported nodes from:
<node layer="L2" sid="Root" type="JOINT" id="Root" name="Root">
<matrix>
-1.0 0.0 0.0 -0.00047
...
to:
<node layer="L2" sid="Root" type="JOINT" id="Root" name="Root">
<matrix sid="transform">
-1.0 0.0 0.0 -0.00047
...

This will make "bake matrices" work just like FCollada and allow them to be compatible with Horde.

Then comes the hard part:
All bone animation IPO:s should not merely be exported as they are, they should be merged into one animation channel which uses matrices and targets the <node-name>/transform. For example, a two frame animation which animates a "LeftUpLeg-node" node:
<animation id="LeftUpLeg-node-transform">
<source id="LeftUpLeg-node-transform_LeftUpLeg-node_transform-input">
<float_array id="LeftUpLeg-node-transform_LeftUpLeg-node_transform-input-array" count="2">0 0.04</float_array>
<technique_common>
<accessor source="#LeftUpLeg-node-transform_LeftUpLeg-node_transform-input-array" count="2" stride="1">
<param name="TIME" type="float"/>
</accessor>
</technique_common>
<technique profile="MAYA">
<pre_infinity>CONSTANT</pre_infinity>
<post_infinity>CONSTANT</post_infinity>
</technique>
</source>
<source id="LeftUpLeg-node-transform_LeftUpLeg-node_transform-output">
<float_array id="LeftUpLeg-node-transform_LeftUpLeg-node_transform-output-array" count="32">-0.786355 0.617776 0.000000 -5.83286 -0.617776 -0.786355 0.000000 -0.923933 0.000000 0 1 -11.6415 0 0 0 1 -0.45474 0.890625 0.000000 -5.83286 -0.890625 -0.45474 0.000000 -0.923933 0.000000 0 1 -11.6415 0 0 0 1</float_array>
<technique_common>
<accessor source="#LeftUpLeg-node-transform_LeftUpLeg-node_transform-output-array" count="2" stride="16">
<param name="TRANSFORM" type="float4x4"/>
</accessor>
</technique_common>
</source>
<source id="LeftUpLeg-node-transform_LeftUpLeg-node_transform-interpolations">
<Name_array id="LeftUpLeg-node-transform_LeftUpLeg-node_transform-interpolations-array" count="2">LINEAR LINEAR</Name_array>
<technique_common>
<accessor source="#LeftUpLeg-node-transform_LeftUpLeg-node_transform-interpolations-array" count="2" stride="1">
<param name="INTERPOLATION" type="Name"/>
</accessor>
</technique_common>
</source>
<sampler id="LeftUpLeg-node-transform_LeftUpLeg-node_transform-sampler">
<input semantic="INPUT" source="#LeftUpLeg-node-transform_LeftUpLeg-node_transform-input"/>
<input semantic="OUTPUT" source="#LeftUpLeg-node-transform_LeftUpLeg-node_transform-output"/>
<input semantic="INTERPOLATION" source="#LeftUpLeg-node-transform_LeftUpLeg-node_transform-interpolations"/>
</sampler>
<channel source="#LeftUpLeg-node-transform_LeftUpLeg-node_transform-sampler" target="LeftUpLeg-node/transform"/>
</animation>

The above output is from 3ds max; of course, the collada blender plugin doesn't have to output just like this, I think the important part is the <channel ... target = "LeftUpLeg-node/transform"/> tag and the float array of 4x4 bone node transforms.

I was thinking of modifying translator.py/Animation.SaveToDae so that it goes through all the generated IPO-curves if "bake matrices" is on and generates matrices for them, multiplies the matrices together and puts them in a new curve which has as many key frames as the "union of the other curves' key frames" if you understand what I mean. But I figured that I wasn't the right person to do it since I don't really understand the code.

Also, there is one more problem: the "Warning: Mesh Businessman_002 is directly attached to a joint; use skin instead!" warning. I think this is the same thing as another thing I noticed: I exported an animated mesh from blender without "bake matrices" and imported this .dae into 3ds max. The mesh imported alright, the bones and the animation of the bones too. But: the mesh wasn't joined to the bones anymore (no skinning) and the mesh was misplaced (by the inverse of the root bone position I think). I don't know how to fix this problem, but it might be solved just by removing the link between the skinned mesh and the root bone when exporting to collada maybe?

Anyhow, I might be way off with my proposed solutions since I only have a very shallow understanding of the exporter and collada in general. Perhaps they can be of some help at least. Thanks for the great work with the collada plugin, hopefully these problems can be fixed!

Re: Animation Support
Posted by: blaine (IP Logged)
Date: May 9, 2008 02:57AM

This is very sad.

I saw the announcement for this exporter enhancement when it came out, and I made my own skeletal animation system, with custom Gui to add joints, etc., to hold me over until Pieter finished the work which he already begun at that time. Now it seems that Illusoft and Pieter completely dropped this product 1 1/2 years ago.

I am willing to pick up development of the armature export piece (hopefully followed by animations of the armatures), but I just don't have time to learn everything about the design of this exporter if there is nobody in the world to answer technical questions I may have. Is anybody out there knowledgeable enough and willing to help answer design questions about the exporter, so I can concentrate on learning it quickly and enhancing it?

Re: Animation Support
Posted by: jah (IP Logged)
Date: May 21, 2008 01:15AM

Sorry if this is a total nube question. I just stumbled upon this site was looking for further information on how I may import BVH MOCAP files into the latest version of blender. Is Collada replacing this functionality? The reason I ask is that I just purchased a turn key MOCAP setup and was really hoping to use it with blender. Will they be bringing back this BVH import / export feature? If someone could point me in the right direction with other links for me to get working on I'd really appreciate it.

Thanks.

Re: Animation Support
Posted by: cort (IP Logged)
Date: July 12, 2008 06:21AM

Blaine is right; it's a damned shame to see this exporter languishing in an unfinished state, when so many users (myself included) were drawn to Blender in part by its support for Collada. Perhaps Pieter would consider formally handing over its development to a team of volunteers? I'd be more than happy to contribute, and I see several others have expressed an interest as well.

replica handbags
Posted by: mnbvliu (IP Logged)
Date: October 25, 2010 08:35AM

To make your product lasting Louis Vuitton for years, and we recommend that you only take care of your following products: 1, to avoid any prolonged exposure may fade pigment dye to the patent leather Replica Gucci on the objects (such as magazines, and other leather ...)?¡ê 2, please use the envelope supplied with the product properly save your product. 3 replica handbags to keep you fresh and avoid contact with direct designer handbags heat (radiators, avoid summer designer replica handbags in the compartment). 4, to avoid the sun, to avoid patent leather fade. 5, the chloe handbags should stay away from oily substances and cosmetics, as they paint leather permeability. 6, there will replica coach handbags be some small lacquer black bottom lines, which is produced by the production process, in no way affect product quality. 7, cleaning, wipe with a soft cloth. Spring and summer season is the number of dior bags using canvas miu miu replica of season, so we also need to regularly clean in this season of our canvas bally bags. ¡é¨´ If there is no contamination on the canvas any special stains, can the whole package Gucci Purses on the water, wash with a brush, but there are obviously places where stains need to be friends of local cleaning. Such as cartier handbags, then stained with grease, you can use detergent to clean. When thoroughly cleaned with a soft scrub brush, rinse thoroughly! Also, if the fading fear of burberry replica handbags, you can add points in the water for the first salt or monogram canvas white vinegar, then pack about 30 minutes immersion, and then washed clean, you can, this method can effectively prevent fading. ¡é¨² many canvas bottega veneta replica background is white, with lots of color patterns, such as cleaning replica coach, if not pay attention to, is likely to result string color situation. Recommended when cleaning these prada replica, cleaning lotion with a soft neutral such as shampoo, detergent can also add gold spinning like fabric softener, mainly alkaline lotion to prevent harm to leather, but Do Christian Dior 2513-2 not let the leather breathe too much attention to the water, it is recommended to use clean cotton scrub leather. Of course, the final drying step is important, color strings would put fear after cleaning thomas wylde handbags wrapped with plenty of toilet paper, must be close to noodles, this will prevent the string of color, also can prevent yellow canvas surface. Special attention must be dried or dried, can not let sun and light, but also in the dry, it is best to turn out to dry dooney and bourke handbags liner, so you can prevent the replica burberry in the drying process of surface damage.Every woman has a few hermes replica to juicy couture replica handbags match different clothing. More ysl handbags in the maintenance of the heart will need to spend more in order to make leather goods such as new forever. Here are some storage and maintenance of a good way to replica prada handbags: 1 last season to the collection versace handbags. balenciaga Before the admission to first clean the leather and leather louis vuitton replica handbags to be placed within the group or Mianshan clean shredded paper to keep the fendi handbags shape. Soft cotton dior handbags and then into the collection coach handbags in the cabinet, and should avoid undue compression and deformation.

Re: Animation Support
Posted by: mnbvliu (IP Logged)
Date: October 25, 2010 08:36AM

To make your product lasting Louis Vuitton for years, and we recommend that you only take care of your following products: 1, to avoid any prolonged exposure may fade pigment dye to the patent leather Replica Gucci on the objects (such as magazines, and other leather ...)?¡ê 2, please use the envelope supplied with the product properly save your product. 3 replica handbags to keep you fresh and avoid contact with direct designer handbags heat (radiators, avoid summer designer replica handbags in the compartment). 4, to avoid the sun, to avoid patent leather fade. 5, the chloe handbags should stay away from oily substances and cosmetics, as they paint leather permeability. 6, there will replica coach handbags be some small lacquer black bottom lines, which is produced by the production process, in no way affect product quality. 7, cleaning, wipe with a soft cloth. Spring and summer season is the number of dior bags using canvas miu miu replica of season, so we also need to regularly clean in this season of our canvas bally bags. ¡é¨´ If there is no contamination on the canvas any special stains, can the whole package Gucci Purses on the water, wash with a brush, but there are obviously places where stains need to be friends of local cleaning. Such as cartier handbags, then stained with grease, you can use detergent to clean. When thoroughly cleaned with a soft scrub brush, rinse thoroughly! Also, if the fading fear of burberry replica handbags, you can add points in the water for the first salt or monogram canvas white vinegar, then pack about 30 minutes immersion, and then washed clean, you can, this method can effectively prevent fading. ¡é¨² many canvas bottega veneta replica background is white, with lots of color patterns, such as cleaning replica coach, if not pay attention to, is likely to result string color situation. Recommended when cleaning these prada replica, cleaning lotion with a soft neutral such as shampoo, detergent can also add gold spinning like fabric softener, mainly alkaline lotion to prevent harm to leather, but Do Christian Dior 2513-2 not let the leather breathe too much attention to the water, it is recommended to use clean cotton scrub leather. Of course, the final drying step is important, color strings would put fear after cleaning thomas wylde handbags wrapped with plenty of toilet paper, must be close to noodles, this will prevent the string of color, also can prevent yellow canvas surface. Special attention must be dried or dried, can not let sun and light, but also in the dry, it is best to turn out to dry dooney and bourke handbags liner, so you can prevent the replica burberry in the drying process of surface damage.Every woman has a few hermes replica to juicy couture replica handbags match different clothing. More ysl handbags in the maintenance of the heart will need to spend more in order to make leather goods such as new forever. Here are some storage and maintenance of a good way to replica prada handbags: 1 last season to the collection versace handbags. balenciaga Before the admission to first clean the leather and leather louis vuitton replica handbags to be placed within the group or Mianshan clean shredded paper to keep the fendi handbags shape. Soft cotton dior handbags and then into the collection coach handbags in the cabinet, and should avoid undue compression and deformation.

Re: Animation Support
Posted by: cheapnfljerseysfrom (IP Logged)
Date: November 25, 2010 03:11AM

You, the owner of health care center, can enjoy the freedom of Authentic NFL jerseys medical management when OPAS (Online Patient Appointment Scheduler) is at the helm of it. OPAS, as the term suggests is the system, authentic football jerseys which is web based and allows the patients to register free. Once they register themselves, they are granted with access to hospital management system wherein they can book their appointments to see concerned health care Packers Jerseys provider wholesale nfl jerseys without having spoken cheap nfl jerseys to human medical receptionist at front desk. Isn't it the best way to reduce the error of same time allotment to two or more different persons (called as time overlap)? Time overlaps is one of the most common apathies nba jerseys observed nfl replica jerseys in medical management (of cheap jerseys clinic, hospital or Authentic jerseys nursing home) when the cheap jerseys actors are human beings.

tag watches
Posted by: owu01 (IP Logged)
Date: January 13, 2011 10:02AM

Finding replica watches steps replica watches uk for replica watches uk the replica watches other rolex replicas or replica rolex and replica rolex uk go rolex watches uk with the rolex replica larger rolex replica uk of the replica watches uk two. After your replica watches uk and tag watches numbers tag watches mens are louboutin written christian louboutin uk down, you Louboutin shoes uk will cheap louboutin store want christian louboutin to discount louboutins subtract 2 cheap christian louboutin tenths christian louboutin sale uk of christian shoes an inch Ed hardy australia from eachpandora going for pandora jewellery customized pandora jewellery uk pandora jewellery discount pandora beads dissimilar pandora uk to ralph lauren polostandard, pandora bracelets produced polo ralph lauren in pandora necklaces higher quantities pandora charms pandora jewellery. pandora Purposely pandora jewellery designed pandora pandora jewellery uk . Then there is pandora uk the endless discount pandora beads searching for a matching pandora bracelets pandora bracelets for pandora necklaces your favorite pandora charms . These Ed hardy are your cheap ed hardy actual foot ed hardy measurements can be ed hardy converted .sometimes ed hardy uk information holding ed hardy clothing into the brain. In this procedure, routine ralph lauren polo life observations polo ralph lauren gather in our polo shirts brain and are ralph lauren online recalled by ralph lauren sale us at Christian louboutin sale any time which we call "thinking".Women louboutin using considerable christian louboutin shoe specifications Louboutin shoes uk exact christian louboutin uk same do not discount louboutins worry christian louboutin sale uk about far christian shoes from cheap christian louboutin Uncovering the particular cheap louboutin store boots designed to Christian louboutin sale allow.

Goto Page:  Previous1234567891011...LastNext
Current Page:2 of 17


Sorry, only registered users may post in this forum.
This forum powered by Phorum.