This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// fastcopy.cs | |
// compile with: /unsafe | |
using System; | |
class Test | |
{ | |
// The unsafe keyword allows pointers to be used within | |
// the following method: | |
static unsafe void Copy(byte[] src, int srcIndex, | |
byte[] dst, int dstIndex, int count) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Head 012 | |
Neck 345 | |
LeftShoulder 678 | |
LeftElbow 9-10-11 | |
LeftHand 12-13-14 | |
RightShoulder 15-16-17 | |
RightElbow 18-19-20 | |
RightHand 21-22-23 | |
Torso 24 25 26 | |
LeftHip 27 28 29 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#region usings | |
using System; | |
using System.ComponentModel.Composition; | |
using System.Drawing; | |
using System.Threading; | |
using VVVV.PluginInterfaces.V2; | |
using VVVV.Utils.VMath; | |
using VVVV.Core.Logging; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
material tv/frame | |
{ | |
technique | |
{ | |
pass | |
{ | |
ambient 0.215686 0.215686 0.215686 | |
diffuse 0.215686 0.215686 0.215686 1 | |
specular 0.172549 0.172549 0.172549 70 | |
emissive 0 0 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- access to the scene objects | |
local scene = getCurrentScene() | |
-- define keyboard input | |
local inputManager = getInputManager() | |
local keyboard = Keyboard(inputManager:getDevice(TIINPUT_KEYBOARDDEVICE)) | |
-- dynamically create the texture objects for image sequence | |
local Textures = {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Application.runInBackground = true; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEditor; | |
using UnityEngine; | |
public class CurvesTransferer | |
{ | |
const string duplicatePostfix = "_copy"; | |
static void CopyClip(string importedPath, string copyPath) | |
{ | |
AnimationClip src = AssetDatabase.LoadAssetAtPath(importedPath, typeof(AnimationClip)) as AnimationClip; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Test | |
-- Tracking variables | |
local trackingIndex = -1 | |
local trackingKeyFrameIndex = -1 | |
local MLTPlugin = getMLTPluginManager() | |
local errorStatus = eOk | |
--Core variables |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
material plan/lambert1 | |
{ | |
technique | |
{ | |
pass | |
{ | |
scene_blend alpha_blend | |
vertex_program_ref Deferred_vs | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Test | |
-- Tracking variables | |
local trackingIndex = -1 | |
trackingKeyFrameIndex = -1 | |
trackingStatus = 0 | |
local MLTPlugin = getMLTPluginManager() | |
local errorStatus = eOk |
OlderNewer