CLI References
Python
-
Pipenv:
pipenv --python [2.7|3.6]
Install specific version of pythonpipenv install --dev --skip-lock
Install Dependencies and Dev Dependenciespipenv run xxx
Run command inside Virtual Env
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using UnityEngine; | |
using UnityEngine.Formats.Alembic.Importer; | |
using UnityEngine.VFX; | |
using UnityEngine.VFX.Utility; | |
namespace MTB.VFX | |
{ |
body{ | |
background-color:white; | |
color:black; | |
font-family: "Helvetica"; | |
font-size:1.5em; | |
} | |
h1>a{ |
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using static BMesh; | |
public class ProceduralMesh : MonoBehaviour | |
{ | |
public float tilling | |
{ | |
get { return _tilling; } |
Pipenv:
pipenv --python [2.7|3.6]
Install specific version of pythonpipenv install --dev --skip-lock
Install Dependencies and Dev Dependenciespipenv run xxx
Run command inside Virtual Envnotes: The bottom lens needs to be flipped horizontaly
blendAngle = 20;
FOV = 210;
mapFunction = (n) => {
return -8.8568 * Math.pow(10,-9) * Math.pow(n, 4) + 1.1095 * Math.pow(10,-6) * Math.pow(n, 3) + -5.045 * Math.pow(10,-5) * Math.pow(n, 2) + 2.4317 * Math.pow(10,-2) * n;
From current sequence containing ARI files, will output each sequences of ari to a file per shot, to be used with Ari ARC_CMD. The script also builds the batch file.
#################################### | |
# File name: edl_write # | |
# Author: Mel Massadian # | |
# Submission: 12/12/17 # | |
#################################### | |
import os | |
import sys | |
from timecode import Timecode |
// NORMALIZE in VEX for Houdini | |
// Normalize input mesh (resize it to 1 unit) and centers it. | |
//INIT | |
vector min, max; | |
getbbox(min, max); | |
vector center = (min+max)/2; | |
vector size = set(max.x - min.x,max.y -min.y,max.z - min.z); |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
OldRange = (OldMax - OldMin)
NewRange = (NewMax - NewMin)
NewValue = (((OldValue - OldMin) * NewRange) / OldRange) + NewMin