x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Importing BVH/Mocap files into Unreal project

I'm a college freshman working on a research project to simulate historic Baures, Bolivia, in UE4. I have barely any knowledge in Motionbuilder and Maya, but can somewhat work comfortably in UE4.

I have some raw mocap data (uncut, unedited, BVH files) and I know how to transpose them onto a model (which we were given) in Motionbuilder but cannot for the life of me figure out how to put these into Unreal. Is there a pipeline for doing this? A set of instructions anywhere? I've been looking, and can't get any help...

Product Version: UE 4.15
Tags:
more ▼

asked Jun 06 '17 at 07:10 PM in Using UE4

avatar image

mylesing
1 1 1 1

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Translate this ;) Я сделал следующее: Включил Blender 3D Переключил вид с Default на Scripting В консоли Python (Та что снизу) писал код:

 import os
 dir = os.listdir("D:\\bvh")
 pathbvh = ("D://bvh/")
 pathfbx = ("D://fbx/")
 for file in dir:
     bpy.ops.import_anim.bvh(filepath=pathbvh+file, filter_glob="*.bvh", global_scale=1, frame_start=1, use_fps_scale=False, use_cyclic=False, rotate_mode='NATIVE', axis_forward='-Z', axis_up='Y')
     bpy.ops.export_scene.fbx(filepath=pathfbx+file, ui_tab='ANIMATION')
     bpy.ops.object.select_by_layer()
     bpy.ops.object.delete()


pathbvh - Путь к моим bvh файлам pathfbx - Путь к куда сохранить файлы После конвертации сохранятся они с расширением bvh, просто поменяй его на fbx и все, у меня это сработало

more ▼

answered Jan 19 '19 at 04:36 AM

avatar image

ViktorD1
1

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question