Torque 3D 3.7
ContentsIndexHome
PreviousUpNext
colladaUtils.h

Copyright (c) 2012 GarageGames, LLC 

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

 
Name 
Description 
 
Collada geometric primitives: Use the BasePrimitive class to access the different primitive types in a nice way. 
Name 
Description 
This is macro _COLLADA_UTILS_H_. 
Name 
Description 
This is namespace ColladaUtils. 
 
Name 
Description 
 
Collada allows any element with an SID or ID attribute to be the target of an animation channel, which is very flexible, but awkward to work with. Some examples of animated values are:
  • single float
  • single int
  • single bool
  • single string
  • list of floats (transform elements or morph weights)

This class provides a generic way to check if an element is animated, and to get the value of the element at a given time. 
 
This is class AnimatedElementList. 
 
Collada animation data 
 
This is class AnimData. 
 
Name 
Description 
 
Collada s are extremely flexible, and thus difficult to access in a nice way. This class attempts to provide a clean interface to convert Collada source data to the appropriate Torque data structure without losing any of the flexibility of the underlying Collada DOM.
Some of the conversions we need to handle are:
The _SourceReader object is initialized with a list of parameter names that it tries to match to  
 
Template child class for supported Collada primitive elements 
Name 
Description 
This is type AnimatedBool. 
Strongly typed animated values 
This is type AnimatedFloatList. 
This is type AnimatedInt. 
This is type AnimatedString. 
Copyright (c) 2015. All rights reserved.
What do you think about this topic? Send feedback!