TOOL: HDFview

HDFView is an useful tool to edit animations exported from The Witcher 3 REDkit.

Animation file from REDkit are exported in the common HDF format. Since HDF is an open source format, it can be easily manipulated through scripting. You can inspect and edit animation files manually with tools such as HDFView.

Every .re animation file you export consists two of major parts:

  • .re_anim_clip - for the animation frame transformations the for all the bones.

  • .re_skeleton - for the skeleton's bone hierarchy and rig transformations for all the bones.


Find out more about exporting animation from REDkit in this tutorial:

Download HDFView:

Basic view .re_anmiation view:

One bone’s transformation frame-by-frame.

 

These bone transformations are in “local” bone coordinates, if you want to recreate the skeleton then you need to transform them into “world” coordinates considering all the parent rotations.

Here’s a Python code snippet for transforming a bone into “world” coordinates:

 

 

 

______________________________________
The Witcher 3: Wild Hunt Complete Edition © 2024 CD PROJEKT S.A. Published by CD PROJEKT S.A. Developed by CD PROJEKT RED. CD PROJEKT®, The Witcher®, REDengine® are registered trademarks of CD PROJEKT Capital Group. All rights reserved. The Witcher game is set in the universe created by Andrzej Sapkowski in his series of books. All rights reserved.