begininend / papervision3d

Automatically exported from code.google.com/p/papervision3d
0 stars 0 forks source link

Support for multiple animation clips for a collada file not implemented #191

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a .DAE model with multiple animation clips 
2. Load the model using org.papervision3d.objects.parsers.DAE
3. Call DAE.play(<animation clip name>)

What is the expected output? What do you see instead?

Expect the animation clip of the given name will play.  Instead, all
animation channels in the entire .DAE will play.

What version of the product are you using? On what operating system?

revision 910.  Mac OS X.

Please provide any additional information below.

I coded up a fix for this issue (attached).  In the process, I also made a
few optimization tweaks.  Please review for inclusion.

Thanks,
Patrick

Original issue reported on code.google.com by poshaugh...@gmail.com on 30 Apr 2009 at 4:39

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by tim.k...@gmail.com on 1 May 2009 at 8:51

GoogleCodeExporter commented 9 years ago
I found an additional issue with DAEAnimationClip, where the start and end 
times were
not getting properly loaded from the DAE.

Also, I updated DAE.as to set the proper start and end times for the current 
clip.

Lastly, I found a small (somewhat unrelated) issue that would sometimes cause a 
clip
to stop immediately upon play.

Original comment by poshaugh...@gmail.com on 11 May 2009 at 8:26

Attachments:

GoogleCodeExporter commented 9 years ago
Any progress on this? I tried the update on the latest revision (920) but got 
too
many errors to count.

Thank you in advance.
Johan

Original comment by johan.pe...@gmail.com on 18 Aug 2009 at 12:55

GoogleCodeExporter commented 9 years ago
There was a complete overhaul of the animation system after I submitted this 
patch, and I don't think my 
changes were incorporated, unfortunately.

Original comment by poshaugh...@gmail.com on 18 Aug 2009 at 4:51

GoogleCodeExporter commented 9 years ago
How do you even make a model have multiple animation clips? can someone point 
me to a 
url that explains this please?

      ---> 1. Create a .DAE model with multiple animation clips 

Original comment by patrick....@gmail.com on 21 Sep 2009 at 12:26

GoogleCodeExporter commented 9 years ago
We make ours in Maya and export them using ColladaMaya. 

Original comment by johan.pe...@gmail.com on 21 Sep 2009 at 1:04

GoogleCodeExporter commented 9 years ago
I found it myself:
http://download.autodesk.com/us/maya/2009help/index.html?
url=Nonlinear_animation_with_Trax_Scaling_clips_within_Trax.htm,topicNumber=d0e1
6007

still just export selection on model, and also for this, 
dae.play("id" from <animation_clip>) not name. default is clip1Source

Original comment by patrick....@gmail.com on 21 Sep 2009 at 1:17

GoogleCodeExporter commented 9 years ago
this is a pretty big issue... is there any way of just getting a "yes, we'll 
address
it" or "probably no time soon"?

Original comment by drew.f.c...@gmail.com on 22 Sep 2009 at 9:30

GoogleCodeExporter commented 9 years ago
Hi, there's been some massive changes as of rev. 911. Could a commenter here 
verify if the problem is still 
there? Also an example Collada file with clips would be nice for debugging 
purposes. Thanks for your patience.

Original comment by tim.k...@gmail.com on 3 Oct 2009 at 8:16

GoogleCodeExporter commented 9 years ago
Hi, problem persisted with rev 920. I'll see if I can get a dae to test with, 
we just
changed format. :)

Original comment by johan.pe...@gmail.com on 5 Oct 2009 at 6:46

Attachments:

GoogleCodeExporter commented 9 years ago
I tried to implement the DAEAnimationClip.as and DAE.as to play the body.dae 
file in
my app, as I'm working to play multiple clips. After some time fixing the libs, 
I
figure maybe I should just ask what codebase these are compatible with.
Any help here would be greatly appreciated.

Thanks,
PDub

Original comment by mediajam...@gmail.com on 1 Jun 2010 at 9:01