INDX INDEX_SECTION yJb Sop/wave y Jb wave Breaking Wave oplib:/Sop/wave?Sop/wave SOP_subnet Sop Jb INDX DialogScript NJb CreateScript N Jb TypePropertiesOptions O Jb Help P Jb Tools.shelf oJb Contents.gz *Jb ExtraFileOptions Jb# Dialog script for wave automatically generated 08/21/09 10:00:00 { name wave script wave label "Breaking Wave" help { "" } inputlabel 1 "Sub-Network Input #1" inputlabel 2 "Sub-Network Input #2" inputlabel 3 "Sub-Network Input #3" inputlabel 4 "Sub-Network Input #4" group { name "geo" label "Wave Geometry" parm { name "wave_height" label "Wave Height" type float default { "1" } range { 0 10 } export none parmtag { "autoscope" "0000000000000000" } } parm { name "wavelength" label "Wavelength" type float default { "1" } range { 0 10 } export none parmtag { "autoscope" "0000000000000000" } } parm { name "wave_tran" label "Translate" type vector size 3 default { "0" "0" "0" } range { -1 1 } export none parmtag { "autoscope" "0000000000000000" } } parm { name "smooth" label "Smooth" type integer default { "0" } range { 0 10 } export none parmtag { "autoscope" "0000000000000000" } } parm { name "labelparm" label "Wave Trains" type label default { "" } range { 0 1 } export none parmtag { "autoscope" "0000000000000000" } } parm { name "wt_frac_depth" label "Fractal Depth" type integer default { "3" } range { 1 10 } export none parmtag { "autoscope" "0000000000000000" } } parm { name "wt_rough" label "Roughness" type float default { "0.6" } range { 0.05 0.95 } export none parmtag { "autoscope" "0000000000000000" } } parm { name "wt_height" label "Height" type float default { "0.06" } range { 0 1 } export none parmtag { "autoscope" "0000000000000000" } } parm { name "wt_freq" label "Frequency" type float size 3 default { "2" "1" "0.6" } range { 0 10 } export none parmtag { "autoscope" "0000000000000000" } } parm { name "wt_offset" label "Offset" type float size 3 default { "0" "0" "0" } range { 0 10 } export none parmtag { "autoscope" "0000000000000000" } } } group { name "geo_1" label "Animation" parm { name "ctrl_type" label "Control Type" type ordinal default { "0" } menu { "0" "auto" "1" "custom" } range { 0 10 } export none parmtag { "autoscope" "0000000000000000" } } group { name "folder0" label "Auto" parm { name "center" label "Center" type float default { "5" } disablewhen "{ ctrl_type == 1 }" range { 0 10 } export none parmtag { "autoscope" "0000000000000000" } } parm { name "span" label "Span" type float default { "10" } disablewhen "{ ctrl_type == 1 }" range { 0 30 } export none parmtag { "autoscope" "0000000000000000" } } parm { name "falloff" label "Falloff" type float default { "1" } disablewhen "{ ctrl_type == 1 }" range { 0.05! 2! } export none parmtag { "autoscope" "0000000000000000" } } parm { name "time" label "Time" type float default { "0" } disablewhen "{ ctrl_type == 1 }" range { 0 1 } export none parmtag { "autoscope" "0000000000000000" } } parm { name "speed" label "Speed" type float default { "2" } disablewhen "{ ctrl_type == 1 }" range { 0 10 } export none parmtag { "autoscope" "0000000000000000" } } } group { name "folder0_1" label "Custom" tabbreak parm { name "wave1" label "Wave Profile1" type float joinnext default { "0" } disablewhen "{ ctrl_type == 0 }" range { 0 10 } export none parmtag { "autoscope" "0000000000000000" } } parm { name "mv_wave1" label "Forward" type float default { "0" } disablewhen "{ ctrl_type == 0 }" range { 0 10 } export none parmtag { "autoscope" "0000000000000000" } } parm { name "wave2" label "Wave Profile2" type float joinnext default { "0" } disablewhen "{ ctrl_type == 0 }" range { 0 10 } export none parmtag { "autoscope" "0000000000000000" } } parm { name "mv_wave2" label "Forward" type float default { "0" } disablewhen "{ ctrl_type == 0 }" range { 0 10 } export none parmtag { "autoscope" "0000000000000000" } } parm { name "wave3" label "Wave Profile3" type float joinnext default { "0" } disablewhen "{ ctrl_type == 0 }" range { 0 10 } export none parmtag { "autoscope" "0000000000000000" } } parm { name "mv_wave3" label "Forward" type float default { "0" } disablewhen "{ ctrl_type == 0 }" range { 0 10 } export none parmtag { "autoscope" "0000000000000000" } } parm { name "wave4" label "Wave Profile4" type float joinnext default { "0" } disablewhen "{ ctrl_type == 0 }" range { 0 10 } export none parmtag { "autoscope" "0000000000000000" } } parm { name "mv_wave4" label "Forward" type float default { "0" } disablewhen "{ ctrl_type == 0 }" range { 0 10 } export none parmtag { "autoscope" "0000000000000000" } } parm { name "wave5" label "Wave Profile5" type float joinnext default { "0" } disablewhen "{ ctrl_type == 0 }" range { 0 10 } export none parmtag { "autoscope" "0000000000000000" } } parm { name "mv_wave5" label "Forward" type float default { "0" } disablewhen "{ ctrl_type == 0 }" range { 0 10 } export none parmtag { "autoscope" "0000000000000000" } } parm { name "wave6" label "Wave Profile6" type float joinnext default { "0" } disablewhen "{ ctrl_type == 0 }" range { 0 10 } export none parmtag { "autoscope" "0000000000000000" } } parm { name "mv_wave6" label "Forward" type float default { "0" } disablewhen "{ ctrl_type == 0 }" range { 0 10 } export none parmtag { "autoscope" "0000000000000000" } } parm { name "wave7" label "Wave Profile7" type float joinnext default { "0" } disablewhen "{ ctrl_type == 0 }" range { 0 10 } export none parmtag { "autoscope" "0000000000000000" } } parm { name "mv_wave7" label "Forward" type float default { "0" } disablewhen "{ ctrl_type == 0 }" range { 0 10 } export none parmtag { "autoscope" "0000000000000000" } } parm { name "wave8" label "Wave Profile8" type float joinnext default { "0" } disablewhen "{ ctrl_type == 0 }" range { 0 10 } export none parmtag { "autoscope" "0000000000000000" } } parm { name "mv_wave8" label "Forward" type float default { "0" } disablewhen "{ ctrl_type == 0 }" range { 0 10 } export none parmtag { "autoscope" "0000000000000000" } } parm { name "wave9" label "Wave Profile9" type float joinnext default { "0" } disablewhen "{ ctrl_type == 0 }" range { 0 10 } export none parmtag { "autoscope" "0000000000000000" } } parm { name "mv_wave9" label "Forward" type float default { "0" } disablewhen "{ ctrl_type == 0 }" range { 0 10 } export none parmtag { "autoscope" "0000000000000000" } } parm { name "wave10" label "Wave Profile10" type float joinnext default { "0" } disablewhen "{ ctrl_type == 0 }" range { 0 10 } export none parmtag { "autoscope" "0000000000000000" } } parm { name "mv_wave10" label "Forward" type float default { "0" } disablewhen "{ ctrl_type == 0 }" range { 0 10 } export none parmtag { "autoscope" "0000000000000000" } } } } group { name "geo_2" label "Whitewater" group { name "folder6" label "Mist" parm { name "mist_dis" label "Display" type toggle default { "off" } range { 0 1 } export none parmtag { "autoscope" "0000000000000000" } } parm { name "mist_birth" label "Birth Rate" type float default { "0.15" } range { 0 10 } export none parmtag { "autoscope" "0000000000000000" } } parm { name "mist_expect" label "Life Expectancy" type float default { "5" } range { 0 100 } export none parmtag { "autoscope" "0000000000000000" } } parm { name "mist_life_var" label "Life Variance" type float default { "4" } range { 0 5 } export none parmtag { "autoscope" "0000000000000000" } } parm { name "mist_vel" label "Initial Velocity" type vector size 3 default { "0" "0.5" "0" } range { -1 1 } export none parmtag { "autoscope" "0000000000000000" } } parm { name "mist_var" label "Variance" type vector size 3 default { "0.5" "0.5" "0.5" } range { -1 1 } export none parmtag { "autoscope" "0000000000000000" } } parm { name "mist_attract" label "Attractor Scale" type float default { "0.1" } range { 0 10 } export none parmtag { "autoscope" "0000000000000000" } } parm { name "mist_tur" label "Turbulence" type integer default { "2" } range { 0 10 } export none parmtag { "autoscope" "0000000000000000" } } parm { name "noise_freq" label "Noise Frequency" type vector size 3 default { "3" "3" "3" } range { -1 1 } export none parmtag { "autoscope" "0000000000000000" } } parm { name "noise_amp" label "Noise Amplitude" type vector size 3 default { "14" "14" "14" } range { -1 1 } export none parmtag { "autoscope" "0000000000000000" } } parm { name "mist_gravity" label "Gravity" type float default { "-1" } range { 0 10 } export none parmtag { "autoscope" "0000000000000000" } } } group { name "folder6_1" label "Splash" tabbreak parm { name "splash_dis" label "Display" type toggle default { "off" } range { 0 1 } export none parmtag { "autoscope" "0000000000000000" } } parm { name "splash_birth" label "Birth Rate" type float default { "10" } range { 0 10 } export none parmtag { "autoscope" "0000000000000000" } } parm { name "splash_expect" label "Life Expectancy" type float default { "4" } range { 0 10 } export none parmtag { "autoscope" "0000000000000000" } } parm { name "splash_var" label "Life Variance" type float default { "3" } range { 0 10 } export none parmtag { "autoscope" "0000000000000000" } } parm { name "splash_velocity" label "Initial Velocity" type float size 3 default { "0" "0.5" "0" } range { 0 10 } export none parmtag { "autoscope" "0000000000000000" } } parm { name "splash_variance" label "Variance" type float size 3 default { "0.8" "1.5" "0.8" } range { 0 10 } export none parmtag { "autoscope" "0000000000000000" } } parm { name "splash_up" label "Splash Up" type float default { "0.6" } range { 0 10 } export none parmtag { "autoscope" "0000000000000000" } } parm { name "splash_spread" label "Splash Spread" type float default { "0.4" } range { 0 10 } export none parmtag { "autoscope" "0000000000000000" } } parm { name "splash_jitter" label "Jitter" type float default { "0.2" } range { 0 10 } export none parmtag { "autoscope" "0000000000000000" } } parm { name "splash_grav" label "Gravity" type float default { "-20" } range { 0 10 } export none parmtag { "autoscope" "0000000000000000" } } } } group { name "geo_3" label "Shading" group { name "surface" label "surface" group { name "frostedGlass_g1" label "Diffuse" parm { name "wave_Kd" label "Diffuse Intensity" type float default { "0.3" } range { 0 1 } export none parmtag { "material_promoted" "1" } parmtag { "autoscope" "0000000000000000" } } parm { name "wave_diffColor" label "Diffuse Color" type color size 3 default { "0.1" "0.7" "0.7" } range { 0 1 } export none parmtag { "material_promoted" "1" } parmtag { "autoscope" "0000000000000000" } } parm { name "wave_rough" label "Diffuse Roughness" type float default { "0" } range { 0 1 } export none parmtag { "material_promoted" "1" } parmtag { "autoscope" "0000000000000000" } } } group { name "frostedGlass_g1_1" label "Lighting Effects" group { name "wave_g3" label "Shadows" parm { name "wave_shadColor" label "Shadow Color" type color size 3 default { "0" "0" "0" } range { 0 1 } export none parmtag { "material_promoted" "1" } parmtag { "autoscope" "0000000000000000" } } } group { name "wave_g3_1" label "SSS" parm { name "wave_Ksss" label "Subsurface Intensity" type float default { "0.5" } range { 0 1 } export none parmtag { "autoscope" "0000000000000000" } } parm { name "wave_sss_color" label "Subsurface Color" type color size 3 default { "0.8" "1" "0" } range { 0 1 } export none parmtag { "material_promoted" "1" } parmtag { "autoscope" "0000000000000000" } } parm { name "wave_eta2" label "Index of Refraction" type float default { "0.7" } range { 0 1 } export none parmtag { "autoscope" "0000000000000000" } } parm { name "pwave_depth" label "Depth" type float default { "0.5" } range { 0 5 } export none parmtag { "autoscope" "0000000000000000" } } parm { name "wave_facefwd" label "Ensure Faces Point Forward" type toggle default { "on" } range { 0 1 } export none parmtag { "autoscope" "0000000000000000" } } } } group { name "frostedGlass_g1_2" label "Specular" parm { name "wave_Ks" label "Specular Intensity" type float default { "0.6" } range { 0 1 } export none parmtag { "material_promoted" "1" } parmtag { "autoscope" "0000000000000000" } } parm { name "wave_specColor" label "Specular Color" type color size 3 default { "1" "1" "1" } range { 0 1 } export none parmtag { "material_promoted" "1" } parmtag { "autoscope" "0000000000000000" } } parm { name "wave_urough" label "Specular U Roughness" type float default { "0.1" } range { 0 1 } export none parmtag { "material_promoted" "1" } parmtag { "autoscope" "0000000000000000" } } parm { name "wave_vrough" label "Specular V Roughness" type float default { "0.03" } disablewhen "{ wave_specType != anisotropic }" range { 0 1 } export none parmtag { "material_promoted" "1" } parmtag { "autoscope" "0000000000000000" } } parm { name "wave_sharp" label "Specular Sharpness" type float default { "0.1" } disablewhen "{ wave_specType != glossy }" range { 0 1 } export none parmtag { "material_promoted" "1" } parmtag { "autoscope" "0000000000000000" } } parm { name "wave_specType" label "Specular Type" type string default { "spec" } menu { "phong" "Phong" "blinn" "Blinn" "anisotropic" "Anisotropic" "glossy" "Glossy" "spec" "VEX Specular" } range { 0 1 } export none parmtag { "material_promoted" "1" } parmtag { "autoscope" "0000000000000000" } } } group { name "frostedGlass_g1_3" label "Reflections" parm { name "frostedGlass_KR" label "Reflection Intensity" type float default { "0.5" } range { 0 1 } export none parmtag { "material_promoted" "1" } parmtag { "autoscope" "0000000000000000" } } parm { name "frostedGlass_reflColor" label "Reflection Tint" type color size 3 default { "1" "1" "1" } range { 0 1 } export none parmtag { "material_promoted" "1" } parmtag { "autoscope" "0000000000000000" } } group { name "frostedGlass_g7" label "Ray Trace" parm { name "wave_KT" label "Refraction Intensity" type float default { "1" } range { 0 1 } export none parmtag { "material_promoted" "1" } parmtag { "autoscope" "0000000000000000" } } parm { name "wave_transmitColor" label "Refraction Tint" type color size 3 default { "1" "1" "1" } range { 0 1 } export none parmtag { "material_promoted" "1" } parmtag { "autoscope" "0000000000000000" } } parm { name "wave_eta" label "Index of Refraction" type float default { "1.333" } range { 0 3 } export none parmtag { "material_promoted" "1" } parmtag { "autoscope" "0000000000000000" } } parm { name "wave_jitter" label "Jitter Amount" type float default { "1" } range { 0 1 } export none parmtag { "material_promoted" "1" } parmtag { "autoscope" "0000000000000000" } } parm { name "wave_bias" label "Ray Bias" type float default { "0.005" } range { 0 1 } export none parmtag { "material_promoted" "1" } parmtag { "autoscope" "0000000000000000" } } parm { name "wave_samples" label "Area Samples" type integer default { "4" } range { 0 64 } export none parmtag { "material_promoted" "1" } parmtag { "autoscope" "0000000000000000" } } } group { name "frostedGlass_g7_1" label "Environment Map" parm { name "wave_envmap" label "Environment Map" type image default { "" } range { 0 1 } export none parmtag { "material_promoted" "1" } parmtag { "autoscope" "0000000000000000" } } parm { name "wave_envobj" label "Transform Space" type string default { "space:world" } menu { "space:current" "No transform of vector" "space:world" "Transform to world space" "space:object" "Transform to object space" "/obj/null1" "Use /obj/null1 (or other object)" } range { 0 1 } export none parmtag { "material_promoted" "1" } parmtag { "autoscope" "0000000000000000" } } parm { name "wave_background_color" label "Background Color" type color size 3 default { "0" "0.2" "0.3" } range { 0 1 } export none parmtag { "material_promoted" "1" } parmtag { "autoscope" "0000000000000000" } } } } } group { name "surface_1" label "Displacement" parm { name "surf_freq" label "Frequency" type float size 3 default { "45" "15" "15" } range { 0 10 } export none parmtag { "autoscope" "0000000000000000" } } parm { name "surf_offset" label "Offset" type float size 3 default { "0" "0" "$T*2" } range { 0 10 } export none parmtag { "autoscope" "0000000000000000" } } parm { name "surf_noise_bias" label "Noise Bias" type float default { "1" } range { 0 5 } export none parmtag { "autoscope" "0000000000000000" } } parm { name "surf_low_range" label "Lower Noise Range" type float default { "-0.5" } range { -1 1 } export none parmtag { "autoscope" "0000000000000000" } } parm { name "surf_upper_range" label "Upper Noise Range" type float default { "0.5" } range { 0 1 } export none parmtag { "autoscope" "0000000000000000" } } } parm { name "reflectlimit" label "Reflect Limit" type integer default { "4" } range { 0 10 } export none parmtag { "spare_category" "Shading" } parmtag { "material_promoted" "1" } parmtag { "autoscope" "0000000000000000" } } parm { name "refractlimit" label "Refract Limit" type integer default { "4" } range { 0 10 } export none parmtag { "spare_category" "Shading" } parmtag { "material_promoted" "1" } parmtag { "autoscope" "0000000000000000" } } } } # Automatically generated script: Friday August 21, 10:00 \set noalias = 1 # # Creation script for wave operator # if ( "$arg1" == "" ) then echo This script is intended as a creation script exit endif # Node $arg1 (Sop/wave) opexprlanguage -s hscript $arg1 ParmsFromVfl := 0; PrefixDroppedParmName := 0; UseDSParms := 1; ForbidOutsideParms := 1; LockContents := 1; SaveSpareParms := 0; CheckExternal := 1; GzipContents := 1; MakeDefault := 1; PrefixDroppedParmLabel := 0; UnlockOnCreate := 0;
User Guide for the Breaking Wave OTL
Breaking Waves is used for generating breaking ocean waves. This asset allows the user the create the geometry, animation, shading and whitewater for the wave.
The breaking wave digital asset exists within the Geometry Level, so lay down a Geometry Object in the Scene Level, then dive inside it, delete the default File SOP. Press the Tab key and type Breaking Waves, select and press Enter to put down the asset.
Parameters
Wave Geometry
Wave Height |
This is the height of the wave. |
Wavelength |
This is the length of a wave from one crest/or trough to another. |
Translate |
The location to put down the breaking wave. |
Smooth |
This is the overall smoothness of the surface. It controls the amount the wave surface is subdivided. |
Fractal Depth |
This is the number of iterations of the fractal Brownian motion noise on the wave surface. |
Roughness |
Fractal roughness. |
Height |
Displacement amount of the height of the fractal noise on the wave surface. |
Frequency |
Noise frequency. |
Offset |
Noise offset. |
Animation
Control Type |
Choose whether the animation is using an Auto or a Custom control. |
Auto
Center |
This is the point along the center of the cross-section wave profile curves that the wave starts to break. |
Span |
How wide the breaking wave is. |
Falloff |
Adds non-linear variation to the wave shape. When the Falloff is greater than 1, it has an ease out effect on the breaking wave. If the Falloff is less than 1, the life-cycle of the breaking wave tends to be shorter. |
Time |
Controls the evolution of a breaking wave. 0 means at the beginning of the breaking wave’s life-cycle. As the value increases, the wave shape evolves and deforms out of the centre line of the surface. Time = 1 means that the wave reaches the very end of its life-cycle. |
Speed |
How fast the wave is moving forward. |
Custom
Wave Profile (s) |
Controls the evolution of a single breaking wave profile curve. |
Forward (s) |
This is the forward motion of a single breaking wave profile curve. |
Whitewater
Mist
Display |
This is whether to display the particles or not. |
Birth Rate |
Number of particles to emit. |
Life Expectancy |
How long the particle will live (in seconds). |
Life Variance |
Particles will live the number of seconds in Life expectancy, plus or minus this number of seconds. Use 0 for no variance. |
Initial Velocity |
Set or add to velocity attribute. |
Variance |
Variance to the initial velocity set above |
Attractor Scale |
This is how strong the attractor (moving along the surface) affects the particles moving direction. |
Turbulence |
Number of iterations of fractal noise to add. |
Noise Frequency |
Spatial frequency of noise field in X, Y, and Z. |
Noise Amplitude |
Maximum value of noise field. |
Gravity |
This is how strong the gravity affects the particles. |
Splash
Display |
This is whether to display the particles or not. |
Birth Rate |
Number of particles to emit. |
Life Expectancy |
How long the particle will live (in seconds). |
Life Variance |
Particles will live the number of seconds in Life expectancy, plus or minus this number of seconds. Use 0 for no variance. |
Initial Velocity |
Set or add to velocity attribute. |
Variance |
Variance to the initial velocity set above |
Splash Up |
How high the particles will travel. |
Splash Spread |
How wide the particles will travel. |
Jitter |
Overall scale of the jitter effect. |
Gravity |
This is how strong the gravity affects the particles. |
Shading
Surface
Diffuse
Diffuse Intensity |
The contribution of diffuse to the material. |
Diffuse Color |
This is the diffuse color. |
Diffuse Roughness |
This controls the size or spread of the diffuse contribution. |
Lighting Effects
Shadows
Shadow Color |
This value is used to tint the color of the shadow. |
SSS
Subsurface Intensity |
This is used to control the intensity of the returned color. |
Subsurface Color |
The color used to tint the color returned from the subsurface scatter calculation. |
Index of Refraction |
This is the Index of Refraction used in the subsurface scattering calculation to determine how muchlight bends as it pass through the surface. |
Depth |
This specifies how far the light travels after it pass through the surface. |
Ensure Faces Point Forward |
This toggle will change the normal to face forward towards the camera. It is recommended this toggle be on. |
Specular
Specular Intensity |
A multiplier for the specular contribution to the material. |
Specular Color |
The specular highlight color. |
Specular U Roughness |
This value controls the size or spread of the specular highlight. If Anisotropic is selected, this value controls the specular highlight in only the U direction. |
Specular V Roughness |
If Anisotropic is selected, this value controls the specular highlight in only the V direction. It is ignored with any other specular function. |
Specular Sharpness |
This value controls the sharpness of the edge of the specular highlight. It is used only if Glossy specular is selected. |
Specular Type |
A selector for the specular function. |
Reflections
Reflection Intensity |
A multiplier for the reflection contribution to the material. |
Reflection Tint |
This is a tint color for reflections. |
Ray Trace
Refraction Intensity |
A multiplier for the refraction contribution to the material. |
Refraction Tint |
This is a tint color for refraction. |
Index of Refraction |
This determines how much the ray bends as it passes from one material into another. Usually for water this is 1.333. |
Jitter Amount |
This controls how randomly the samples are distributed. |
Ray Bias |
This is typically a small number used to help solve self-intersection issues. |
Area Samples |
The number samples to calculate. The more samples, the better the quality, the slower the render. |
Environment Map
Environment Map |
If there is the path to a texture here and ray trace is turned off, then this map is used to calculate the reflection contribution. If ray trace is on and there is a texture, then the texture color is returned, when the ray does not hit anything. |
Transform Space |
he reflection ray used to do the look up in the map is transformed into this space. |
Background Color |
This color is returned when the ray does not hit anything and there is no environment map specified. |
Displacement
Frequency |
This is the scale of the noise pattern. Larger values give smaller, but not more detailed, patterns. Smaller values will benefit from higher Octaves values. |
Offset |
This vector positions the noise on the object in x, y and z. |
Noise Bias |
This value shifts the median value of the noise by passing it through a power function. Values greater than 1, will dampen the noise down, whereas values less than 1 will sharpen the contrast between the noise values. |
Lower Noise Range |
Control the size of the space between the rough areas. |
Upper Noise Range |
Control the height of the rough areas. |