Skip to content

Commit

Permalink
Merge pull request #549 from KhronosGroup/misc/maya2018
Browse files Browse the repository at this point in the history
adding maya2018 support
  • Loading branch information
RemiArnaud authored Nov 1, 2017
2 parents e1f8a40 + ef72ed3 commit b48d75c
Show file tree
Hide file tree
Showing 19 changed files with 1,088 additions and 3,700 deletions.
318 changes: 0 additions & 318 deletions COLLADABaseUtils/scripts/COLLADABaseUtils.vcxproj

Large diffs are not rendered by default.

304 changes: 0 additions & 304 deletions COLLADAFramework/scripts/COLLADAFramework.vcxproj

Large diffs are not rendered by default.

159 changes: 97 additions & 62 deletions COLLADAMax/COLLADAMax.sln

Large diffs are not rendered by default.

7 changes: 6 additions & 1 deletion COLLADAMaya/BUILD_WIN.TXT
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,17 @@ Supported versions of Autodesk Maya are:
Autodesk Maya 2013
Autodesk Maya 2014
Autodesk Maya 2015
Autodesk Maya 2016
Autodesk Maya 2017
Autodesk Maya 2018

- Microsoft Visual Studio 2013 (for loading the solution, 2012 may work too)
AND additioal versions of Visual Studio depending of the Maya version:
Visual 2008 for Maya 2011-2012
Visual 2010 for Maya 2013-2014
Visual 2012 for Maya 2014-2015
Visual 2012 for Maya 2014-2016
Visual 2012 update 4 for Maya 2017
Visual Studio 2015 update 3 for Maya 2018


You find the MVS solution file in COLLADAMaya/COLLADAMaya.sln
Expand Down
154 changes: 153 additions & 1 deletion COLLADAMaya/COLLADAMaya.sln

Large diffs are not rendered by default.

561 changes: 561 additions & 0 deletions COLLADAMaya/scripts/COLLADAMaya.vcxproj

Large diffs are not rendered by default.

10 changes: 7 additions & 3 deletions COLLADAMaya/src/COLLADAMayaAnimationExporter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2641,7 +2641,11 @@ namespace COLLADAMaya
// --------------------------------
// In-tangent

#if MAYA_API_VERSION >= 20180000
double slopeX, slopeY;
#else
float slopeX, slopeY;
#endif
animCurveFn.getTangent ( keyPosition, slopeX, slopeY, true /*keyPosition>0*/ );

if ( !isWeightedCurve )
Expand All @@ -2659,12 +2663,12 @@ namespace COLLADAMaya
slopeX /= 3.0f;
slopeY /= 3.0f;
}
bkey->inTangent = TangentPoint ( bkey->input - slopeX, bkey->output - slopeY );
bkey->inTangent = TangentPoint ( (float)(bkey->input - slopeX), (float)(bkey->output - slopeY) );

// --------------------------------
// Out-tangent

animCurveFn.getTangent ( keyPosition, slopeX, slopeY, false /*keyPosition>=keyCount-1*/ );
animCurveFn.getTangent(keyPosition, slopeX, slopeY, false /*keyPosition>=keyCount-1*/);

if ( !isWeightedCurve )
{
Expand All @@ -2682,7 +2686,7 @@ namespace COLLADAMaya
slopeY /= 3.0f;
}

bkey->outTangent = TangentPoint ( bkey->input + slopeX, bkey->output + slopeY );
bkey->outTangent = TangentPoint ( (float)(bkey->input + slopeX), (float)(bkey->output + slopeY) );
}

// ------------------------------------------------------------
Expand Down
235 changes: 77 additions & 158 deletions COLLADASaxFrameworkLoader/scripts/COLLADASaxFrameworkLoader.vcxproj

Large diffs are not rendered by default.

284 changes: 0 additions & 284 deletions COLLADAStreamWriter/scripts/COLLADAStreamWriter.vcxproj

Large diffs are not rendered by default.

290 changes: 0 additions & 290 deletions Externals/LibXML/scripts/LibXML.vcxproj

Large diffs are not rendered by default.

346 changes: 2 additions & 344 deletions Externals/MathMLSolver/scripts/MathMLSolver.vcxproj

Large diffs are not rendered by default.

346 changes: 0 additions & 346 deletions Externals/pcre/scripts/pcre.vcxproj

Large diffs are not rendered by default.

410 changes: 1 addition & 409 deletions Externals/zlib/scripts/zlib.vcxproj

Large diffs are not rendered by default.

312 changes: 0 additions & 312 deletions Externals/zziplib/scripts/zzip.vcxproj

Large diffs are not rendered by default.

272 changes: 0 additions & 272 deletions G3DWarehouseBrowser/scripts/G3DWarehouseBrowser.vcxproj

Large diffs are not rendered by default.

294 changes: 0 additions & 294 deletions GeneratedSaxParser/scripts/GeneratedSaxParser.vcxproj

Large diffs are not rendered by default.

300 changes: 0 additions & 300 deletions common/libBuffer/scripts/libBuffer.vcxproj

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dae2ma/include/DAE2MAGeometryImporter.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
#ifdef __GNUC__
#include <ext/hash_map>
#else
#include <hash_map>
#include "COLLADABUhash_map.h"
#endif


Expand All @@ -56,7 +56,7 @@ namespace DAE2MA

/** The map for searching edge indices. */
#ifndef __GNUC__
typedef stdext::hash_map<COLLADAFW::Edge,size_t> EdgeMap;
typedef COLLADABU_HASH_MAP<COLLADAFW::Edge,size_t> EdgeMap;
#else
typedef __gnu_cxx::hash_map<COLLADAFW::Edge,size_t> EdgeMap;
#endif
Expand Down
182 changes: 182 additions & 0 deletions dae2ma/scripts/dae2ma.vcxproj

Large diffs are not rendered by default.

0 comments on commit b48d75c

Please sign in to comment.