-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using Blender instead of Maya #9
Comments
Stringless can't work out-of-the-box with Blender, but you could develop a script, Blender Add-on, or feature within the Blender binary to read from the shared memory that the Stringless server writes to, similar to how the Reader class functions. The Stringless code right now writes its captured facial data to the |
@Enigman2011 were you able to write it for Blender? |
Revisiting this now, I figure having a clear outline of how the Stringless Reader works would be helpful: https://github.com/justint/stringless/blob/master/stringless-maya/src/StringlessMayaDevice.cc#L92 Above is the Maya plug-in code to read the data written out by the Stringless server. An implementation of Stringless in another application (Blender, etc) could be done by following the steps outlined in the function linked above (
const std::string shared_memory_name = "/stringless";
// Set shared memory size to two frames
const size_t shared_memory_size = sizeof(struct Stringless::FrameData) * 2;
memoryManager = Stringless::MemoryManager(shared_memory_name,
shared_memory_size,
Stringless::MemoryManager::read);
reader = Stringless::Reader((Stringless::FrameData*)memoryManager.address());
And there you have it! |
How can I use Blender Instead of Autodesk Maya?
The text was updated successfully, but these errors were encountered: