- ~/h17.0.352.sh
#!/usr/bin/env bash my_dir=$(pwd) cd /opt/hfs17.0.352/ source houdini_setup cd $my_dir
_GenCWarp.m3f (2042 instructions) | |
General.m3f (2003 instructions) | |
ABoxVSShapes.m3f (1450 instructions) | |
RandCubesIFS.m3f (1122 instructions) | |
Ikenagabulb.m3f (1094 instructions) | |
TetraFolding Pow2.m3f (1062 instructions) | |
_MobiusTpx.m3f (953 instructions) | |
ATetraVS.m3f (884 instructions) | |
_IFS_tess.m3f (796 instructions) | |
_coordvspow.m3f (790 instructions) |
env.bat
@echo off
rem set globals
set "ROOT=//isilonai/LAFM"
rem set nuke config path
set "NUKE_PATH=%ROOT%/010_pipeline/software/nuke"
set "NUKE_PATH=%NUKE_PATH:\=/%"
float dist = chf("dist"); | |
int voxels = chi("voxels"); | |
int mode = chi("voxels_dist_mode"); | |
float voxel_size = volumevoxeldiameter(0, 0) / sqrt(3); | |
float val; | |
if (mode) | |
val = dist; | |
else |
import ptvsd | |
# allow other computers to attach to ptvsd at this IP address and port, using the password | |
try: | |
ptvsd.enable_attach("SFds_KjLDFJ:LK", address = ('localhost', 3000)) | |
print("Not attached already, attaching...") | |
except ptvsd.AttachAlreadyEnabledError: | |
print("Attached already, continuing...") | |
# our cam object | |
cam = hou.pwd() | |
# get 4x4 matrix representing transformation of our camera | |
cam_xform = cam.worldTransform() | |
# get position of our camera | |
cam_pos = hou.Vector4(0, 0, 0, 1) * cam_xform | |
cam_pos = hou.Vector3(cam_pos) | |
# view axis of our camera | |
view_axis = hou.Vector4(0, 0, -1, 0) * cam_xform |
@echo off | |
rem houdini launcher | |
rem source global vars | |
call \\network_drive\current_project\00_pipeline\globals.bat | |
rem set Houdini paths | |
rem variables PIPELINE, ROOT were set in globals.bat | |
set "HOUDINI_VERSION=Houdini 15.5.632" | |
set "HOUDINI_PATH=&;%PIPELINE%/houdini" |
#!/usr/bin/env bash | |
# find location of this script, move one level up | |
ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && cd .. && pwd )" | |
# set up env vars | |
export HOUDINI_DSO_PATH="${HOUDINI_DSO_PATH}:&:$ROOT/dso" | |
export HOUDINI_DSO_ERROR=2 | |
# run testing scene |