Share

What's New in Bifrost 2.12.0.0 SDK shipping with Bifrost 2.12.0.0 for Maya

Bifrost 2.12.0.0 SDK CMake files use CMake 3.20 and up.

Bifrost 2.12.0.0 SDK contains API breaking changes

CMake

  • CMake setup.cmake file adds definition of /Zc:__cplusplus for Windows (reports an updated value for recent C++).

Amino

Core

  • Core/RuntimeServices.h

    • New functionality to log to an “output stream”

      // Declare a stream that can be passed to
      // the runtime services.
      std::stringstream      ss;
      Amino::RuntimeServices rs{&ss};`

Bifrost

Geometry

  • New Volume and Point standard Geo Property keys (strings) ex.: sVoxelPressure, sVoxelChurn

BifrostGraph

  • Workspace.h

    • New functions to get registered new Watchpoint objects and get the new WatchpointLayoutFactory.
  • Watchpoint.h

    • Deprecated previous Watchpoint API. The new API uses Amino::TypeId
      • Addition of class BIFROSTGRAPH_EXECUTOR_SHARED_DECL Watcher which is the interface to get the watchpoint layout and values.
  • WatchpointLayout.h

    • New Watchpoint layout classes for basic types, composite types, arrays …
    • See example sdk/examples/ExecutorWatchpoint.

Examples

  • sdk/examples/ExecutorWatchpoint -
    • Shows usage of the new Executor watchpoint classes.
    • The example specializes BifrostGraph::Executor::Watchpoint::Watcher and BifrostGraph::Executor::Watchpoint for a simple periodic table of elements.
    • The example also shows how watchpoint callbacks are registered by exposing createBifrostWatchpoint entry point and loading the watchpoint library via a bifrost config file.

Was this information helpful?