root/OpenSceneGraph/trunk/src/osgAnimation/CMakeLists.txt @ 11009

Revision 11009, 2.9 kB (checked in by robert, 5 years ago)

From Cedric Pinson, "Here a list of changes:
Bone now inherit from MatrixTransform?. It simplify a lot the update of
Bone matrix. It helps to have the bone system more generic. eg it's now
possible to have animation data with precomputed bind matrix. The other
benefit, is now the collada plugin will be able to use osgAnimation to
display skinned mesh. Michael Plating did a great work to improve this
aspect, he is working on the collada plugin and should be able to submit
a new version soon.
The RigGeometry? has been refactored so now it works when you save and
reload RigGeometry? because the source is not touched anymore. The
benefit with this update is that it should be now possible to use a
MorphGeometry? as source for a RigGeometry?.

The bad news is that the format has changed, so i have rebuild osg-data
related to osgAnimation data, updated the blender exporter to export to
the new format.
The fbx plugin could be touched about this commit, i dont compile it so
i can't give more information about it.
The bvh plugin has been updated by Wang rui so this one is fixed with
the new code of osgAnimation.
The examples has been updated to work with the new code too...

The example osg-data/example.osg should be remove, it's an old example
that does not work.

For people using blender the blender exporter up to date is here:
http://hg.plopbyte.net/osgexport2/
it will be merge to http://hg.plopbyte.net/osgexport/ as soon as the
modification will be push in the trunk.
"

RevLine 
[9093]1
[9949]2IF(DYNAMIC_OPENSCENEGRAPH)
[9104]3    ADD_DEFINITIONS(-DOSGANIMATION_LIBRARY)
[9949]4ELSE()
[9093]5    ADD_DEFINITIONS(-DOSG_LIBRARY_STATIC)
[9949]6ENDIF()
[9093]7
8SET(LIB_NAME osgAnimation)
9
10
11SET(HEADER_PATH ${OpenSceneGraph_SOURCE_DIR}/include/${LIB_NAME})
12SET(LIB_PUBLIC_HEADERS
[10344]13    ${HEADER_PATH}/Action
[10693]14    ${HEADER_PATH}/ActionAnimation
15    ${HEADER_PATH}/ActionBlendIn
16    ${HEADER_PATH}/ActionBlendOut
[10344]17    ${HEADER_PATH}/ActionCallback
[10693]18    ${HEADER_PATH}/ActionStripAnimation
[10344]19    ${HEADER_PATH}/ActionVisitor
[9877]20    ${HEADER_PATH}/Animation
21    ${HEADER_PATH}/AnimationManagerBase
[11009]22    ${HEADER_PATH}/AnimationUpdateCallback
[9877]23    ${HEADER_PATH}/Assert
24    ${HEADER_PATH}/BasicAnimationManager
[9370]25    ${HEADER_PATH}/Bone
[10561]26    ${HEADER_PATH}/BoneMapVisitor
[9370]27    ${HEADER_PATH}/Channel
[9877]28    ${HEADER_PATH}/CubicBezier
29    ${HEADER_PATH}/EaseMotion
30    ${HEADER_PATH}/Export
[10561]31    ${HEADER_PATH}/FindParentAnimationManagerVisitor
[10344]32    ${HEADER_PATH}/FrameAction
[9370]33    ${HEADER_PATH}/Interpolator
34    ${HEADER_PATH}/Keyframe
[9877]35    ${HEADER_PATH}/LinkVisitor
36    ${HEADER_PATH}/MorphGeometry
37    ${HEADER_PATH}/RigGeometry
[10693]38    ${HEADER_PATH}/RigTransform
39    ${HEADER_PATH}/RigTransformHardware
40    ${HEADER_PATH}/RigTransformSoftware
[9877]41    ${HEADER_PATH}/Sampler
42    ${HEADER_PATH}/Skeleton
[11009]43    ${HEADER_PATH}/StackedMatrixElement
44    ${HEADER_PATH}/StackedQuaternionElement
45    ${HEADER_PATH}/StackedRotateAxisElement
46    ${HEADER_PATH}/StackedScaleElement
47    ${HEADER_PATH}/StackedTransformElement
48    ${HEADER_PATH}/StackedTranslateElement
49    ${HEADER_PATH}/StackedTransform
[10344]50    ${HEADER_PATH}/StatsVisitor
51    ${HEADER_PATH}/StatsHandler
[9877]52    ${HEADER_PATH}/Target
53    ${HEADER_PATH}/Timeline
[9370]54    ${HEADER_PATH}/TimelineAnimationManager
[11009]55    ${HEADER_PATH}/UpdateBone
56    ${HEADER_PATH}/UpdateMaterial
57    ${HEADER_PATH}/UpdateMatrixTransform
[9877]58    ${HEADER_PATH}/Vec3Packed
[9370]59    ${HEADER_PATH}/VertexInfluence
[9093]60)
61
62
63ADD_LIBRARY(${LIB_NAME}
64    ${OPENSCENEGRAPH_USER_DEFINED_DYNAMIC_OR_STATIC}
65    ${LIB_PUBLIC_HEADERS}
[10344]66    Action.cpp
[10693]67    ActionAnimation.cpp
68    ActionBlendIn.cpp
69    ActionBlendOut.cpp
[10344]70    ActionCallback.cpp
[10693]71    ActionStripAnimation.cpp
[10344]72    ActionVisitor.cpp
[9093]73    Animation.cpp
[9877]74    AnimationManagerBase.cpp
75    BasicAnimationManager.cpp
[9093]76    Bone.cpp
[10561]77    BoneMapVisitor.cpp
[9877]78    Channel.cpp
[10561]79    FindParentAnimationManagerVisitor.cpp
[10498]80    LinkVisitor.cpp
[9877]81    MorphGeometry.cpp
[9093]82    RigGeometry.cpp
[10693]83    RigTransformHardware.cpp
84    RigTransformSoftware.cpp
[9877]85    Skeleton.cpp
[11009]86    StackedMatrixElement.cpp
87    StackedQuaternionElement.cpp
88    StackedRotateAxisElement.cpp
89    StackedScaleElement.cpp
90    StackedTransform.cpp
91    StackedTranslateElement.cpp
[10344]92    StatsVisitor.cpp
93    StatsHandler.cpp
[9877]94    Target.cpp
[9370]95    TimelineAnimationManager.cpp
[9877]96    Timeline.cpp
[11009]97    UpdateBone.cpp
98    UpdateMaterial.cpp
99    UpdateMatrixTransform.cpp
[9093]100    VertexInfluence.cpp
[9671]101    ${OPENSCENEGRAPH_VERSIONINFO_RC}
[9093]102)
103
104LINK_INTERNAL(${LIB_NAME}
105    osg
[10352]106    osgText
107    osgGA
108    osgViewer
[9301]109    OpenThreads
[9093]110)
[9301]111
[9093]112LINK_CORELIB_DEFAULT(${LIB_NAME})
113INCLUDE(ModuleInstall OPTIONAL)
Note: See TracBrowser for help on using the browser.