Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Phoenix API is normally installed in the folder C:\Program Files\Chaos Group\Phoenix FD\Maya NNNN for x64\SDK where NNNN is the version of Maya (2020, 2019, etc.).

 

Structure

...

The Phoenix API includes the following folders:

...

The Phoenix API is provided as a static and dynamic library. Depending on your project, you may pick the static or dynamic version of the library.  Usually Usually the dynamic version is preferred when there is a dependency to any version of V-Ray SDK, as Phoenix API depends on vutils_s.lib.

...

Fancy Bullets
typecircle
  • AURLOADER_DYNAMIC_LIB to be added the compiler settings as a preprocessor definition.
  • \lib\aurloader.lib to be added as an additional dependency to the linker.
  • \lib\aurloader.dll to be available at run time to the executable linked to \lib\aurloader.lib

 

  • .

Depending on the version of Maya, Phoenix API is built with the respective version of Microsoft Visual C++ Runtime:

...

vc14 C++ Platform Toolset

...

Autodesk® Maya® 2018

Autodesk® Maya® 2019

Autodesk® Maya® 2020

...

With  for all Maya versions and for both V-Ray Next and V-Ray 5, with "/MD" Runtime Library flag.


Samples

...

The Phoenix API comes with two code sample projects: GridView and CSVParticles.

Prerequisites:

The project uses CMake for generating project files. Additionally the following third party libraries have been used:

...

  • .

Here is an archive containing those libraries: external_libs

...

GridView is a simple smoke rendering implemented in OpenGL. it is located in the \samples\GridView directory.

 

 

 

Prerequisites:

In order to build this sample, all external libraries must be located in a GridView/external_libs.


Build steps:

Fancy Bullets
typecircle
  • Place all external libraries in GridView/external_libs.
  • Use CMake to generate project files that best suite you needs. Please take in account the C++ Platform Toolset that is used by your version of Phoenix API. See the Using Phoenix API section.
  • Set PHOENIX_SDK_DIR to Phoenix API, for example: C:\Program Files\Chaos Group\Phoenix FD\Maya NNNN for x64\SDK.
  • Generate the project files and build.

...

CSVParticles exports particle groups stored in Phoenix *.aur files to *.csv recognized by Thinkbox Krakatoa (http://www.thinkboxsoftware.com/krak-csv-file-format/CSV File Format).

 

Prerequisites:

In order to build this sample, all external libraries must be located in a CSVParticles/external_libs.


Build steps:

Fancy Bullets
typecircle
  • Place all external libraries in the folder CSVParticles/external_libs.
  • Use CMake to generate project files that best suite you needs. Please take in account the C++ Platform Toolset that is used by your version of Phoenix API. See the Using Phoenix API section.
  • Set PHOENIX_SDK_DIR to Phoenix API, for example C:\Program Files\Chaos Group\Phoenix FD\Maya NNNN for x64\SDK.
  • Generate the project files and build.

 

...