Skip to content

Commit

Permalink
parallel transport and orient curve given forwards/backwards modes fo…
Browse files Browse the repository at this point in the history
…r computing tangents
  • Loading branch information
toadstorm committed Nov 2, 2020
1 parent 750c7c1 commit e73e309
Show file tree
Hide file tree
Showing 14 changed files with 500 additions and 59 deletions.
2 changes: 1 addition & 1 deletion otls/MOPS_Orient_Curve.hda/INDEX__SECTION
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ Inputs: 1 to 1
Subnet: true
Python: false
Empty: false
Modified: Tue Nov 19 18:07:12 2019
Modified: Sun Nov 1 20:15:51 2020

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
MOPS::Sop/Parallel_Transport::1.0 C:/Users/Henry/Projects/VFX/MOPS/otls/MOPS_Parallel_Transport.hda
MOPS::Sop/Parallel_Transport::1.0 D:/Projects/VFX/MOPS/otls/MOPS_Parallel_Transport.hda
MOPS::Sop/Parallel_Transport::1.0 otls/MOPS_Parallel_Transport.hda
Sop/attribdelete C:/PROGRA~1/SIDEEF~1/HOUDIN~1.229/houdini/otls/OPlibSop.hda
Sop/attribdelete C:/PROGRA~1/SIDEEF~1/HOUDIN~1.597/houdini/otls/OPlibSop.hda
Sop/attribdelete otls/OPlibSop.hda
Sop/attribwrangle C:/PROGRA~1/SIDEEF~1/HOUDIN~1.229/houdini/otls/OPlibSop.hda
Sop/attribwrangle C:/PROGRA~1/SIDEEF~1/HOUDIN~1.597/houdini/otls/OPlibSop.hda
Sop/attribwrangle otls/OPlibSop.hda
Sop/visualize C:/PROGRA~1/SIDEEF~1/HOUDIN~1.229/houdini/otls/OPlibSop.hda
Sop/visualize C:/PROGRA~1/SIDEEF~1/HOUDIN~1.597/houdini/otls/OPlibSop.hda
Sop/visualize otls/OPlibSop.hda
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Content-Type: text/plain

sopflags sopflags =
comment ""
position 12.1668 -19.5709
position -4.15986 -0.949611
connectornextid 0
flags = lock off model off template off footprint off xray off bypass off display off render off highlight off unload off savedata off compress on colordefault on exposed on
outputsNamed3
Expand All @@ -46,9 +46,9 @@ inputs
}
stat
{
create 1574219216
modify 1574219221
author Henry@LAPPY586
create 1604290506
modify 1604290551
author Henry@GlaDOS
access 0777
}
color UT_Color RGB 0.8 0.8 0.8
Expand Down Expand Up @@ -105,7 +105,7 @@ inputs
stat
{
create 1521086744
modify 1574219216
modify 1604290506
author Henry@LAPPY586
access 0777
}
Expand Down Expand Up @@ -303,6 +303,12 @@ Content-Type: text/plain
default { "2" }
range { 1! 10 }
}
parm {
name "vex_precision"
baseparm
label "VEX Precision"
export none
}

--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY
Content-Disposition: attachment; filename="hdaroot/generate_orient.chn"
Expand Down Expand Up @@ -412,6 +418,7 @@ vex_updatenmls [ 0 locks=0 ] ( "off" )
vex_matchattrib [ 0 locks=0 ] ( id )
vex_inplace [ 0 locks=0 ] ( "off" )
vex_selectiongroup [ 0 locks=0 ] ( "" )
vex_precision [ 0 locks=0 ] ( auto )
folder1 [ 0 locks=0 ] ( 0 0 )
invert [ 0 locks=0 ] ( [ invert 0 ] )
twist_amount [ 0 locks=0 ] ( [ twist_amount 0 ] )
Expand Down Expand Up @@ -466,7 +473,7 @@ inputs
stat
{
create 1524271534
modify 1574219216
modify 1604290535
author Henry@LAPPY586
access 0777
}
Expand Down Expand Up @@ -518,6 +525,12 @@ Content-Type: text/plain
flags = 0
segment { length = 0 expr = ch(\"../grouptype\") }
}
channel direction {
lefttype = extend
righttype = extend
flags = 0
segment { length = 0 expr = ch(\"../direction\") }
}
}

--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY
Expand All @@ -528,6 +541,7 @@ Content-Type: text/plain
version 0.8
group [ 0 locks=0 ] ( [ group "" ] )
grouptype [ 0 locks=0 ] ( [ grouptype 0 ] )
direction [ 0 locks=0 ] ( [ direction 0 ] )
custom_first_tangent [ 0 locks=0 ] ( [ custom_first_tangent 0 ] )
First_Tangent [ 0 locks=0 ] ( [ First_Tangentx 0 ] [ First_Tangenty 1 ] [ First_Tangentz 0 ] )
Transported_Normal_Name [ 0 locks=0 ] ( mops_PT_normal )
Expand Down Expand Up @@ -757,7 +771,7 @@ inputs
stat
{
create 1524271565
modify 1574219216
modify 1604290506
author Henry@LAPPY586
access 0777
}
Expand Down Expand Up @@ -795,7 +809,7 @@ Content-Type: text/plain
{
"___Version___":{
"type":"string",
"value":"17.5.229"
"value":"18.0.597"
}
}

Expand Down Expand Up @@ -854,7 +868,7 @@ Content-Type: text/plain
{
"___Version___":{
"type":"string",
"value":"17.5.229"
"value":"18.0.597"
}
}

Expand Down Expand Up @@ -955,7 +969,7 @@ inputs
stat
{
create 1542848909
modify 1574219216
modify 1604290506
author Henry@LAPPY586
access 0777
}
Expand Down Expand Up @@ -994,7 +1008,7 @@ Content-Type: text/plain
{
"___Version___":{
"type":"string",
"value":"17.5.229"
"value":"18.0.597"
}
}

Expand Down Expand Up @@ -1055,7 +1069,7 @@ Content-Type: text/plain
{
"___Version___":{
"type":"string",
"value":"17.5.229"
"value":"18.0.597"
}
}

Expand Down Expand Up @@ -1188,7 +1202,7 @@ Content-Type: text/plain
{
"___Version___":{
"type":"string",
"value":"17.5.229"
"value":"18.0.597"
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,19 @@
type separator
default { "" }
}
parm {
name "direction"
label "Direction"
type ordinal
default { "0" }
menu {
"0" "Next Edge"
"1" "Previous Edge"
}
range { 0! 10 }
parmtag { "autoscope" "0000000000000000" }
parmtag { "script_callback_language" "python" }
}
parm {
name "invert"
label "Invert Normal"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
"type":"string",
"value":""
},
"ViewerStateModule/CodeGenInput":{
"type":"string",
"value":"{\n\t\"state_name\":\"\",\n\t\"state_label\":\"\",\n\t\"state_descr\":\"\",\n\t\"state_icon\":\"$HH/config/Icons\",\n\t\"state_debug_menu\":0,\n\t\"state_sample\":0,\n\t\"state_handler_indices\":[]\n}\n"
},
"mops_TD_tools_05.svg/Cursor":{
"type":"intarray",
"value":[1,1]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
SaveSpareParms := 0;
CheckExternal := 1;
SaveIcon := 1;
GzipContents := 1;
ContentsCompressionType := 1;
UnlockOnCreate := 0;
SaveCachedCode := 0;
ForbidOutsideParms := 1;
GzipContents := 1;
LockContents := 1;
MakeDefault := 1;
UseDSParms := 1;
ForbidOutsideParms := 1;
ParmsFromVfl := 0;
PrefixDroppedParmLabel := 0;
PrefixDroppedParmName := 0;
ParmsFromVfl := 0;
SaveCachedCode := 0;
SaveIcon := 1;
SaveSpareParms := 0;
UnlockOnCreate := 0;
UseDSParms := 1;
2 changes: 1 addition & 1 deletion otls/MOPS_Parallel_Transport.hda/INDEX__SECTION
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ Inputs: 1 to 1
Subnet: true
Python: false
Empty: false
Modified: Tue Nov 19 18:06:10 2019
Modified: Sun Nov 1 20:34:21 2020

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Sop/attribwrangle C:/PROGRA~1/SIDEEF~1/HOUDIN~1.229/houdini/otls/OPlibSop.hda
Sop/attribwrangle C:/PROGRA~1/SIDEEF~1/HOUDIN~1.597/houdini/otls/OPlibSop.hda
Sop/attribwrangle otls/OPlibSop.hda
Loading

0 comments on commit e73e309

Please sign in to comment.