[Sidefx-houdini-list] cellular>trace

Ivan DeWolf ivan at martian-labs.com
Mon May 14 16:32:38 EDT 2007


# Automatically generated script: Monday May 14, 11:17
\set noalias = 1
set saved_path = `execute("oppwf")`
opcf /obj

# Node voronoi
opadd -n geo voronoi
oplocate -x 1.7973 -y 2.4 voronoi
opset -S on voronoi
opparm voronoi stdswitcher ( 0 0 0 0 ) keeppos ( off ) pre_xform ( clean ) xOrd
( srt ) rOrd ( xyz ) t ( 0 0 0 ) r ( 0 0 0 ) s ( 1 1 1 ) p ( 0 0 0 ) scale ( 1
) lookatpath ( "" ) lookup ( on ) pathobjpath ( "" ) roll ( 0 ) pos ( 0 )
uparmtype ( arc ) pathorient ( 1 ) up ( 0 1 0 ) bank ( 1 ) shadespace ( "" )
dispspace ( "" ) shop_surfacepath ( "" ) shop_photonpath ( "" )
shop_displacepath ( "" ) lightmask ( * ) reflectmask ( * ) smooth ( on )
nobackface ( off ) autogen ( off ) reflmap ( '/tmp/$OS.rat' ) reflres ( 128 )
shading_switcher ( 0 0 0 ) ri_color ( off ) ri_Cs ( 1 1 1 ) ri_Os ( 1 1 1 )
ri_Photon ( matte ) tri_vis_raydiff ( off ) ri_vis_raydiff ( invisible )
tri_vis_rayspec ( off ) ri_vis_rayspec ( invisible ) tri_vis_raytrans ( off )
ri_vis_raytrans ( invisible ) tri_vis_photon ( off ) ri_vis_photon ( 0 )
tri_vis_midpoint ( off ) ri_vis_midpoint ( 0 ) tri_camhitmode ( off )
ri_camhitmode ( shader ) rishader ( '"plastic"' ) ridisplace ( "" ) riinterior
( "" ) shop_surfaceshadowpath ( "" ) shop_fogpath ( "" ) shop_backgroundpath (
"" ) shop_photonvolumepath ( "" ) shop_contourpath ( "" ) soundmat ( "" )
soundchop ( "" ) genshader ( "" ) gendisplace ( "" ) geninterior ( "" )
material ( "" ) instancepath ( "" ) instancegroup ( "" ) ptinstance ( off )
partinstancepath ( "" ) detail ( off ) detail_file ( "" ) detail_autoarchive (
off ) detail_mantraproc ( "" ) detail_ribproc ( "" ) detail_blur ( off )
detail_min ( -1 -1 -1 ) detail_max ( 1 1 1 ) shop_geometrypath ( "" ) blur (
inherit ) tdisplay ( off ) display ( 1 ) tmatte ( off ) matte ( 0 ) tphantom (
off ) phantom ( 0 ) trbounce ( off ) rbounce ( 1 ) ttbounce ( off ) tbounce (
10 ) trclip ( off ) rclip ( 0.001 ) tdbound ( off ) dbound ( 0 ) tshadequality
( off ) shadequality ( 1 ) lod ( 1 ) causticmode ( 3 ) gillummode ( 3 )
preinclude ( "" ) postinclude ( "" ) shadowquality ( 1 ) reflectquality ( 1 )
rest ( "" ) use_dcolor ( off ) dcolor ( 1 1 1 ) picking ( on ) pickscript ( ""
) caching ( off ) vport_shadeopen ( off ) vport_displayassubdiv ( off ) active
( 1 ) mass ( 1 ) bounce ( 0.5 ) fdynamic ( 0.1 ) fstatic ( 0.2 ) com ( 0 0 0 )
velocity ( 0 0 0 ) angvelaxis ( 0 0 1 ) angvelangle ( 0 ) popgeo ( _render_SOP_
) cglod ( 1 ) itensor ( points ) itsamples ( 100 ) geochanges ( off )
chlock voronoi -*
chautoscope voronoi -* +tx +ty +tz +rx +ry +rz +sx +sy +sz
opcolor -c 0.7 0.7 0.7 voronoi
opset -d on -r off -h off -f off -y off -t off -l off -s off -u off -c off -C on
-p off -e on -b off -x off voronoi
opcf voronoi

# Node grid1
opadd -n grid grid1
oplocate -x 0.152115 -y -0.623301 grid1
opparm grid1 type ( poly ) surftype ( quads ) orient ( zx ) size ( 1 1 ) t ( 0 0
0 ) rows ( 10 ) cols ( 10 ) orderu ( 4 ) orderv ( 4 ) interpu ( on ) interpv (
on )
chlock grid1 -*
chautoscope grid1 -*
opcolor -c 0.7 0.7 0.7 grid1
opset -d off -r off -h off -f off -y off -t off -l off -s off -u off -c off -C
off -p off -e on -b off grid1

# Node add1
opadd -n add add1
oplocate -x 0.152115 -y -1.7483 add1
opparm add1 stdswitcher ( 0 0 ) keep ( on ) points ( 1 )  remove ( off )
switcher ( 0 0 ) prims ( 1 )  group ( "" ) add ( all ) inc ( 2 ) attrname ( ""
) closedall ( off ) usept0 ( off ) pt0 ( 0 0 0 ) weight0 ( 1 ) prim0 ( "" )
closed0 ( off )
chlock add1 -*
chautoscope add1 -*
opcolor -c 0.7 0.7 0.7 add1
opset -d off -r off -h off -f off -y off -t off -l off -s off -u off -c off -C
off -p off -e on -b off add1

# Node point1
opadd -n point point1
oplocate -x 0.152115 -y -2.8733 point1
chblockbegin
chadd -t 0 0 point1 tx
chkey -t 0 -v 0 -m 0 -A 0 -F 'rand($PT+.1)' point1/tx
chadd -t 0 0 point1 ty
chkey -t 0 -v 0 -m 0 -A 0 -F 'rand($PT+.2)' point1/ty
chadd -t 0 0 point1 tz
chkey -t 0 -v 0 -m 0 -A 0 -F 'constant()' point1/tz
chadd -t 0 0 point1 weight
chkey -t 0 -v 1 -m 0 -A 0 -F '$WEIGHT' point1/weight
chadd -t 0 0 point1 diffr
chkey -t 0 -v 1 -m 0 -A 0 -F '$CR' point1/diffr
chadd -t 0 0 point1 diffg
chkey -t 0 -v 1 -m 0 -A 0 -F '$CG' point1/diffg
chadd -t 0 0 point1 diffb
chkey -t 0 -v 1 -m 0 -A 0 -F '$CB' point1/diffb
chadd -t 0 0 point1 alpha
chkey -t 0 -v 1 -m 0 -A 0 -F '$CA' point1/alpha
chadd -t 0 0 point1 nx
chkey -t 0 -v 0 -m 0 -A 0 -F '$NX' point1/nx
chadd -t 0 0 point1 ny
chkey -t 0 -v 0 -m 0 -A 0 -F '$NY' point1/ny
chadd -t 0 0 point1 nz
chkey -t 0 -v 0 -m 0 -A 0 -F '$NZ' point1/nz
chadd -t 0 0 point1 mapu
chkey -t 0 -v 0 -m 0 -A 0 -F '$MAPU' point1/mapu
chadd -t 0 0 point1 mapv
chkey -t 0 -v 0 -m 0 -A 0 -F '$MAPV' point1/mapv
chadd -t 0 0 point1 mapw
chkey -t 0 -v 0 -m 0 -A 0 -F '$MAPW' point1/mapw
chadd -t 0 0 point1 tension
chkey -t 0 -v 1 -m 0 -A 0 -F '$TENSION' point1/tension
chadd -t 0 0 point1 springk
chkey -t 0 -v 30 -m 0 -A 0 -F '$SPRINGK' point1/springk
chadd -t 0 0 point1 vx
chkey -t 0 -v 0 -m 0 -A 0 -F '$VX' point1/vx
chadd -t 0 0 point1 vy
chkey -t 0 -v 0 -m 0 -A 0 -F '$VY' point1/vy
chadd -t 0 0 point1 vz
chkey -t 0 -v 0 -m 0 -A 0 -F '$VZ' point1/vz
chadd -t 0 0 point1 upx
chkey -t 0 -v 0 -m 0 -A 0 -F '$UPX' point1/upx
chadd -t 0 0 point1 upy
chkey -t 0 -v 0 -m 0 -A 0 -F '$UPY' point1/upy
chadd -t 0 0 point1 upz
chkey -t 0 -v 0 -m 0 -A 0 -F '$UPZ' point1/upz
chadd -t 0 0 point1 pscale
chkey -t 0 -v 1 -m 0 -A 0 -F '$PSCALE' point1/pscale
chblockend
opparm point1 group ( "" ) stdswitcher ( 0 0 0 0 ) t ( tx ty tz ) doweight ( off
) weight ( weight ) doclr ( off ) diff ( diffr diffg diffb ) doalpha ( off )
alpha ( alpha ) donml ( off ) n ( nx ny nz ) douvw ( off ) map ( mapu mapv mapw
) domass ( off ) mass ( 1 ) drag ( 1 ) dotension ( off ) tension ( tension )
dospringk ( off ) springk ( springk ) dovel ( off ) v ( vx vy vz ) doup ( off )
up ( upx upy upz ) dopscale ( off ) pscale ( pscale ) doinstance ( off )
instancepath ( "" ) doradius ( off ) radiusf ( 1 ) doscale ( off ) scalef ( 1 )
doradialf ( off ) radialf ( 0 ) donormalf ( off ) normalf ( 0 ) doedgef ( off )
edgef ( 0 ) dodirf ( off ) dirf ( 0 0 0 ) numcustom ( 1 )  apply1 ( on ) name1
( "" ) val1i ( 0 0 0 0 ) sval1 ( "" )
chlock point1 -*
chautoscope point1 -*
opcolor -c 0.7 0.7 0.7 point1
opset -d off -r off -h off -f off -y off -t off -l off -s off -u off -c off -C
off -p off -e on -b off point1

# Node triangulate2d1
opadd -n triangulate2d triangulate2d1
oplocate -x 0.152115 -y -3.9983 triangulate2d1
opparm triangulate2d1 points ( "" ) refine ( off ) maxarea ( 10000 ) minangle (
0 ) conprims ( "" ) removeoutcons ( on ) nonewconpts ( on ) makenewconptgrp (
off ) newconptgrp ( newconpoints ) maxnewpts ( 5000 ) keepprims ( off )
updatenmls ( on )
chlock triangulate2d1 -*
chautoscope triangulate2d1 -*
opcolor -c 0.7 0.7 0.7 triangulate2d1
opset -d off -r off -h off -f off -y off -t off -l off -s off -u off -c off -C
off -p off -e on -b off triangulate2d1

# Node divide1
opadd -n divide divide1
oplocate -x 2.65211 -y -5.4233 divide1
opparm divide1 group ( "" ) convex ( on ) numsides ( 3 ) planar ( on ) plantol (
1e-04 ) smooth ( off ) weight ( 1 0.5 ) divs ( 1 ) brick ( off ) size ( 1 1 1 )
offset ( 0 0 0 ) angle ( 0 0 0 ) removesh ( off ) dual ( on )
chlock divide1 -*
chautoscope divide1 -*
opcolor -c 0.7 0.7 0.7 divide1
opset -d off -r off -h off -f off -y off -t off -l off -s off -u off -c off -C
off -p off -e on -b off divide1

# Node sphere1
opadd -n sphere sphere1
oplocate -x -2.34789 -y -3.5483 sphere1
opparm sphere1 type ( prim ) surftype ( quads ) rad ( 0.004 0.004 0.004 ) t ( 0
0 0 ) orient ( y ) freq ( 2 ) rows ( 10 ) cols ( 10 ) orderu ( 4 ) orderv ( 4 )
imperfect ( on ) upole ( off ) accurate ( off )
chlock sphere1 -*
chautoscope sphere1 -*
opcolor -c 0.7 0.7 0.7 sphere1
opset -d off -r off -h off -f off -y off -t off -l off -s off -u off -c off -C
on -p off -e on -b off sphere1

# Node copy1
opadd -n copy copy1
oplocate -x -1.45677 -y -5.24246 copy1
opparm copy1 sourceGrp ( "" ) templateGrp ( "" ) stdswitcher ( 0 0 0 ) ncy ( 1 )
nml ( on ) cum ( on ) xOrd ( srt ) rOrd ( xyz ) t ( 0 0 0 ) r ( 0 0 0 ) s ( 1 1
1 ) shear ( 0 0 0 ) p ( 0 0 0 ) scale ( 1 ) vlength ( on ) newg ( off )
preservegroups ( off ) copyg ( 'copyGroup$CY' ) stamp ( off ) stampswitch ( 0 0
0 0 0 ) param1 ( "" ) val1 ( 0 ) param2 ( "" ) val2 ( 0 ) param3 ( "" ) val3 (
0 ) param4 ( "" ) val4 ( 0 ) param5 ( "" ) val5 ( 0 ) param6 ( "" ) val6 ( 0 )
param7 ( "" ) val7 ( 0 ) param8 ( "" ) val8 ( 0 ) param9 ( "" ) val9 ( 0 )
param10 ( "" ) val10 ( 0 ) param11 ( "" ) val11 ( 0 ) param12 ( "" ) val12 ( 0
) param13 ( "" ) val13 ( 0 ) param14 ( "" ) val14 ( 0 ) param15 ( "" ) val15 (
0 ) param16 ( "" ) val16 ( 0 ) param17 ( "" ) val17 ( 0 ) param18 ( "" ) val18
( 0 ) param19 ( "" ) val19 ( 0 ) param20 ( "" ) val20 ( 0 ) param21 ( "" )
val21 ( 0 ) param22 ( "" ) val22 ( 0 ) param23 ( "" ) val23 ( 0 ) param24 ( ""
) val24 ( 0 ) param25 ( "" ) val25 ( 0 ) param26 ( "" ) val26 ( 0 ) param27 (
"" ) val27 ( 0 ) param28 ( "" ) val28 ( 0 ) param29 ( "" ) val29 ( 0 ) param30
( "" ) val30 ( 0 ) param31 ( "" ) val31 ( 0 ) param32 ( "" ) val32 ( 0 )
param33 ( "" ) val33 ( 0 ) param34 ( "" ) val34 ( 0 ) param35 ( "" ) val35 ( 0
) param36 ( "" ) val36 ( 0 ) param37 ( "" ) val37 ( 0 ) param38 ( "" ) val38 (
0 ) param39 ( "" ) val39 ( 0 ) param40 ( "" ) val40 ( 0 ) param41 ( "" ) val41
( 0 ) param42 ( "" ) val42 ( 0 ) param43 ( "" ) val43 ( 0 ) param44 ( "" )
val44 ( 0 ) param45 ( "" ) val45 ( 0 ) param46 ( "" ) val46 ( 0 ) param47 ( ""
) val47 ( 0 ) param48 ( "" ) val48 ( 0 ) param49 ( "" ) val49 ( 0 ) param50 (
"" ) val50 ( 0 ) doattr ( off ) _label_ ( Set Mult Add Sub ) setpt ( * ) mulpt
( "" ) addpt ( "" ) subpt ( "" ) setprim ( "" ) mulprim ( "" ) addprim ( "" )
subprim ( "" ) setvtx ( "" ) mulvtx ( "" ) addvtx ( "" ) subvtx ( "" )
chlock copy1 -*
chautoscope copy1 -*
opcolor -c 0.7 0.7 0.7 copy1
opset -d off -r off -h off -f off -y off -t off -l off -s off -u off -c off -C
off -p off -e on -b off copy1

# Node merge1
opadd -n merge merge1
oplocate -x 0.597673 -y -6.75718 merge1
opparm merge1
chlock merge1 -*
chautoscope merge1 -*
opcolor -c 0.7 0.7 0.7 merge1
opset -d on -r on -h off -f off -y off -t off -l off -s off -u off -c off -C off
-p off -e on -b off merge1
oporder -e grid1 add1 point1 triangulate2d1 divide1 sphere1 copy1 merge1 
opcf ..

opcf /obj
opcf voronoi
opwire -n grid1 -0 add1
opwire -n add1 -0 point1
opwire -n point1 -0 triangulate2d1
opwire -n triangulate2d1 -0 divide1
opwire -n sphere1 -0 copy1
opwire -n triangulate2d1 -1 copy1
opwire -n copy1 -0 merge1
opwire -n divide1 -1 merge1
opcf ..
opcf $saved_path




More information about the Sidefx-houdini-list mailing list