- Created : 2014-05-12
- Last modified : 2023-10-08
A BVH motion parser and playback implementation used to make the video:
-
OpenGL 4.1 capable GPU
-
Ruby OpenGL Bindings Version 2 ( https://github.com/vaiorabbit/ruby-opengl )
- $ gem install opengl-bindings2
-
GLFW DLL
- https://www.glfw.org (Windows)
- $ brew install glfw3 (macOS)
-
3D math module
- Use rmath3d_plain ( https://rubygems.org/gems/rmath3d_plain ) . No building processes are required.
- $ gem install rmath3d_plain
- If you can build and install ruby C extension, consider using rmath3d instead ( https://rubygems.org/gems/rmath3d ) for speeding up this application.
- $ gem install rmath3d
- Use rmath3d_plain ( https://rubygems.org/gems/rmath3d_plain ) . No building processes are required.
- Get the archive of motion data 'bvhfiles.zip' via http://perfume-dev.github.io
- Copy BVH files (aachan.bvh, kashiyuka.bvh and nocchi.bvh) into ./data
- Put glfw3.dll (Windows) / libglfw.dylib (macOS) here
- or specify path to the GLFW DLL as the argument of 'GLFW.load_lib()'. See perfume_dance.rb
- ex.) GLFW.load_lib('libglfw3.dylib', '/usr/local/lib') (macOS)
- or specify path to the GLFW DLL as the argument of 'GLFW.load_lib()'. See perfume_dance.rb
- $ ruby perfume_dance.rb
- Esc : quit.
- Mouse L/R : move eye position.
All source codes are available under the terms of the zlib/libpng license.
Perfume Dance
Copyright (c) 2014-2023 vaiorabbit
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely, subject to the following restrictions:
1. The origin of this software must not be misrepresented; you must not
claim that you wrote the original software. If you use this software
in a product, an acknowledgment in the product documentation would be
appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must not be
misrepresented as being the original software.
3. This notice may not be removed or altered from any source
distribution.