Coder Social home page Coder Social logo

vrcft-osc-receiver's Introduction

VRCFT OSC Receiver

VRCFT OSC Receiver is a Blender addon to receive OSC data from VRCFaceTracking and modify a mesh's shape keys accordingly, in real time!

Installation

Simply download the latest release from the releases page and install it like any other Blender addon!

Configuration

Configuration is fairly simple! Just input the mesh you wish to preview, and then click start! Make sure you already have VRCFaceTracking up and running to avoid any issues! If you wish to use a different port, you can change it in the addon preferences. If your shapekeys have a prefix, you can also change that in the addon preferences.

alt text

Credits

vrcft-osc-receiver's People

Contributors

benaclejames avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

regzo2

vrcft-osc-receiver's Issues

Exception after a split second

After selecting a mesh with all the shapekeys and starting the OSC server, it successfully receives a few frames of face tracking data from VRCFT. Then the addon quickly runs into this exception which causes it to stop:

Exception in thread Thread-19 (recv_and_process):
Traceback (most recent call last):
  File "C:\Program Files (x86)\Steam\steamapps\common\Blender\3.6\python\lib\threading.py", line 1016, in _bootstrap_inner
    self.run()
  File "C:\Program Files (x86)\Steam\steamapps\common\Blender\3.6\python\lib\threading.py", line 953, in run
    self._target(*self._args, **self._kwargs)
  File "C:\Users\Jacob\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\VRCFT OSC Receiver\osc_server.py", line 63, in recv_and_process
    process_osc_message(address, osc_data, standard)
  File "C:\Users\Jacob\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\VRCFT OSC Receiver\osc_server.py", line 43, in process_osc_message
    shape_key.value = osc_data
AttributeError: Writing to ID classes in this context is not allowed: Key.001, Key datablock, error setting ShapeKey.value

I tried 3 different models and the same thing happens, but "Key.001" in the exception may be "Key".

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.