INDX
INDEX_SECTION NK% Sop/frustum ;cNK% frustum Frustum oplib:/Sop/frustum?Sop/frustum opdef:/Sop/frustum?IconSVG Sop guide=./ends__unroll_for_wire NK% INDX
DialogScript RNK% CreateScript R {NK% TypePropertiesOptions NK% Help NK% Tools.shelf
GNK
Contents.gz INK% Version 'e NK
y IconSVG 'l M_ ExtraFileOptions 9H fNK% Credits 9 NK
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!aQjAdL:g֎mhb09
OA6Ph\M瑿Ps9Ҧj9uyбauF%w(
z-WyZG~$iMOo7k?,̠zY,H2\,#WXQe3?{UK=@XugڏZ9\ 4M6imc(,c2ȗIwΒi(){84