Code Monkey home page Code Monkey logo

Comments (11)

yihleego avatar yihleego commented on September 7, 2024 1

Could you plz post the bvh?

from animateddrawings.

yihleego avatar yihleego commented on September 7, 2024 1

Yeah, now i get this:

AnimatedDrawings\animated_drawings\model\quaternions.py:61: RuntimeWarning: invalid value encountered in divide self.qs = self.qs / np.expand_dims(np.sum(self.qs ** 2.0, axis=-1) ** 0.5, axis=-1)

Use up: +y instead of up: +z, because the BVH doesn't need to be rotated, See also: Motion Config File

filepath: examples/bvh/rokoko/rokokoDance.bvh
start_frame_idx: 0
end_frame_idx: 559 
groundplane_joint: LeftFoot
forward_perp_joint_vectors:
  - - LeftShoulder
    - RightShoulder
  - - LeftUpLeg
    - RightUpLeg
scale: 0.025
up: +y

image

from animateddrawings.

SchmittFazed avatar SchmittFazed commented on September 7, 2024 1

Thank you for that, it fixed it :)

from animateddrawings.

SchmittFazed avatar SchmittFazed commented on September 7, 2024

test.zip

from animateddrawings.

yihleego avatar yihleego commented on September 7, 2024

I modified the Frames of the rokokoDance.bvh: 559 -> 560
image
It works:
image

I have no idea why it was happening, please check the export settings of rokoko.

from animateddrawings.

SchmittFazed avatar SchmittFazed commented on September 7, 2024

Lol... I tried 559, 558, 560 and none worked :o

from animateddrawings.

SchmittFazed avatar SchmittFazed commented on September 7, 2024

Should i be running the render script from the animated drawings root folder?
Where the other files in the zip all correct?

from animateddrawings.

SchmittFazed avatar SchmittFazed commented on September 7, 2024

from animated_drawings import render
render.start('./examples/config/mvc/test_mvc.yaml')

Is this the right command?

from animateddrawings.

yihleego avatar yihleego commented on September 7, 2024

Also remove LeftInHandIndex and RightInHandIndex from mixamo_fff.xml

Is there any other error?

from animateddrawings.

SchmittFazed avatar SchmittFazed commented on September 7, 2024

Yeah, now i get this:

AnimatedDrawings\animated_drawings\model\quaternions.py:61: RuntimeWarning: invalid value encountered in divide
self.qs = self.qs / np.expand_dims(np.sum(self.qs ** 2.0, axis=-1) ** 0.5, axis=-1)

from animateddrawings.

hjessmith avatar hjessmith commented on September 7, 2024

Your original error message was caused because, depending upon the export options chosen, Rokoko will insert a frame at the beginning of the motion clip with the skeleton's default pose. But it doesn't increment the Frames: count, resulting in an invalid BVH. By manually incrementing the Frames: value, as you did, you can restore it to a valid BVH.

from animateddrawings.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.