Skip to content

greatroboticslab/FarmSimulatorBlender

Repository files navigation

Farming Simulator Blender Files

screenshot

.blend files were made with Blender 2.79

This repository contains the .blend files and exported .fbx and .obj models that are used in our farming simulator.

.npz Conversion

npz_screenshot

Importing

import_npz.py is a python script that at the moment will import reverse_engineering_test.npz in the same directory as the Blender project.

Exporting

export_npz.py is a python script that when run, will convert a selected skeleton to a .npz format to be used with IsaacLab. To run it, simply open a project, and select a skeleton. Then, open a new window bar, and choose text editor. In the editor, open the export_npz.py file and then click Run Script. It will output a .npz file in the same directory as the Blender project.

Preview

You can preview a .npz animation with the command:

motion_viewer.py --file <file.npz>

Matplotlib, Numpy, and PyTorch are required to run.

motion_loader.py is used to view statistic of a .npz animation. To run:

motion_loader.py --file <file.npz>

MoMask / .bvh Conversion

bvh_screenshot

You can use .bvh files generated by MoMask to create animations too. Open a new Blender project with the Unity humanoid skeleton. Then import the .bvh file. Now first select the .bvh skeleton, then shift-right-click the Unity skeleton so that it is yellow. Then open a new text editor window, open convert_bvh.py, and run it. The animations should now be converted to the Unity skeleton, and you can export it.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages