INDX INDEX_SECTIONNK % Sop/frustum;cNK %frustumFrustumoplib:/Sop/frustum?Sop/frustumopdef:/Sop/frustum?IconSVGSopguide=./ends__unroll_for_wire NK %INDX DialogScriptRNK % CreateScriptR{NK %TypePropertiesOptionsNK %HelpNK % Tools.shelf GNK Contents.gzINK %Version'eNK yIconSVG'lM_ExtraFileOptions9HfNK %Credits9NK j# Dialog script for frustum automatically generated 08/16/11 17:28:21 { name frustum script frustum label Frustum help { "" } inputlabel 1 "Geometry to clip." inputlabel 2 "Sub-Network Input #2" inputlabel 3 "Sub-Network Input #3" inputlabel 4 "Sub-Network Input #4" parm { name "frustum_display" label "Display" type toggle invisible default { "1" } range { 0! 10 } export none } parm { name "cam" label "Camera" type oppath default { "" } disablewhen "{ frustum_display == 0 }" range { 0 1 } export all parmtag { "oprelative" "." } parmtag { "opfilter" "!!OBJ/CAMERA!!" } } parm { name "usexform" label "Use Object Transform" type toggle default { "1" } range { 0 1 } export all } parm { name "frustum_shaded" label "Shaded" type toggle default { "1" } disablewhen "{ frustum_display == 0 }" range { 0 1 } export all } parm { name "frustum_ends" label "Display Ends" type toggle default { "1" } disablewhen "{ frustum_shaded == 0 } { frustum_display == 0 }" range { 0 1 } export all } } # Automatically generated script: Tuesday August 16, 17:28 2011 \set noalias = 1 # # Creation script for frustum operator # if ( "$arg1" == "" ) then echo This script is intended as a creation script exit endif # Node $arg1 (Sop/frustum) opexprlanguage -s hscript $arg1 opuserdata -n '___toolcount___' -v '31' $arg1 opuserdata -n '___toolid___' -v 'sop_frustum' $arg1 ParmsFromVfl := 0; PrefixDroppedParmName := 1; UseDSParms := 1; ForbidOutsideParms := 1; LockContents := 1; SaveSpareParms := 0; CheckExternal := 1; GzipContents := 1; MakeDefault := 1; SaveCachedCode := 0; PrefixDroppedParmLabel := 1; UnlockOnCreate := 0; #type: node #context: object #icon: SOP/frustum = Frustum = """Create a frustum for a camera.""" This node creates a frustum box based on the view settings of a camera. Anything inside the frustum can be seen by the camera. == Using Frustum == # Click the [Icon:SOP/frustum] Frustom tool on the __Lights and Cameras__ tab. # Select a camera and press ((Enter)) to complete. NOTE: Be default, when selecting a camera, the frustum asset is created inside the camera object and a display toggle is promoted to the __View__ folder. If you ((Alt)) click on the tool and select a camera, the frustum is created in its own container. @parameters Camera: The camera to create a frustum from. Use Object Transform: Use the camera's object transform when creating the frustum. NOTE: When using this operator inside a Camera object this should be disabled. Shaded: Output a shaded box to represent the frustum. Display Ends: Display the ends of the frustum. operator:Sop/frustum SOP SOP $HDA_TABLE/$HDA_NAME Primitive ]+0dVۏ- lnhmVV]fǓ&}RweǓ`ge:&w.$e?بl6**6!aQj񏤭AdL:g֎mhb09 OA6 Ph\M瑿Ps9Ҧj9uyбa u F%w( z-WyZG~$iMOo7k?,̠zY,H2\,#WXQe3?{UK=@X ugڏZ9\ 4M6imc(,c2ȗIwΒi(){84c0= IM`<&4VLm`@c߲MUG{vhpؠ8vP ͐FJM!YHb-X %2t vWr{6g*`" jj-i:lkl ʘkIfU\nؘ莍yZ@*5~i3j]LyC?cXWQ }QΏ 8JodPG J- Q3PQ_WIuTi8FOGU))0HUlL2*`⟒bpRit"/[bA~%i.~h1.+0T3yz>/3E>IczZ57uR= :&uMJ2h,j_U3!psax8uܕ2Y _o^rz%}7OM˖ ɓC,wgboK\Jan[YR`.mޜM/hc]$'TY*JA* ZeQ䚺xѪNr|a:R 3]Y:qnhgr Z">ŗ=,Ke@Đ2[ʦ~(/Íw?X^^;=Q:$9, OVL5HsFLX_܌n UTOku=@YKOZd".^.VAm0M5x|w782pEQaFOD#= HC:HG~Ɛ1d~zi=*UO A\ʴJ_UzvAMl@{a[cB/qO/|?w:$.veiypP(59F~"%w(P#F,c|OY 'Nٷ%)?XΞH7NSQqE'VPfn8? .Բ"׳Lr6ZxжiLM;AqRv2i +Zr֬Ծ CE+5CX6OJ<}!֦77KDȜsJT K6`':Zn@mh+۝[=]Ssr Lt ŮxSMmOyW#XDslRZ]|2)/wI?t[mޏP *Pq&s^^FItnM:_fAga}&#y>aK#Sx%S(g%W ?tڊr}(ע:Y *GƽC?Ftu&RCWX =J_˝K715Ģ=c axH&ܵaL+eh*y_6TT'<,|,5k ;/ݵ:Đj݈I(KG<$"tK/n7;BDxąmpx gm*!rŸAC9f48bt7J-mܼ\;08L*6~fxV&^~^2xNAA]r}Djcz+ $O/ `\lIsѫèvZ8ZeuL$j,.)A* OYW eDBUd=d(RLS˅]sPׇ fOp3UZh s3 dC\\dqm 7$=qca?=BIq;m (9`GJÔ*bEtL,|fAg-زFnv䒩,|u_k#Ŭ~KK9N׌. řAF5=3ze;֎yj(װJR,hm7472ZR.Q,Z߳m1uͺ P,l]leRpCA , 9{3M͚Zeug}Z);#kYX9F*Wπ 2g$i`EzD΁L,8%:7$4y\뮀Tk$u.R5)`USv0 !Ģÿ|pbںi 2ǗD@_m $*tF$g"N- l8%:vO>T|OjS帧OjS帧OjӇSc*S;Oy nsh;DZw䛑ۦBgXUĶlVRpycZγC3I NNf-^ǩͼfEmY,r$x9X }ez_ծ=,,F[:a%9m*[| pO^ _O/c|Xq ql/lK A)[ĭOԄDj?hh!;qVՇ-nOMG?N/_/_|i-1.0 image/svg+xml Credits/IsExprCredits/IsPythonCredits/IsScriptCredits/SourceProduced by: Graham Thompson captainhammy@gmail.com www.captainhammy.com Name: sop_frustum.otl Version: 1.0 Compatibility: Houdini 11.0