From 10b536ac089a1598bb871cf7c280c4236e8b0b48 Mon Sep 17 00:00:00 2001 From: Cristian Hinz Date: Thu, 23 Sep 2021 15:33:01 -0700 Subject: [PATCH] added windField AEtemplate --- mel/AETemplates/AEchwWindFieldTemplate.mel | 61 ++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 mel/AETemplates/AEchwWindFieldTemplate.mel diff --git a/mel/AETemplates/AEchwWindFieldTemplate.mel b/mel/AETemplates/AEchwWindFieldTemplate.mel new file mode 100644 index 0000000..fe56f72 --- /dev/null +++ b/mel/AETemplates/AEchwWindFieldTemplate.mel @@ -0,0 +1,61 @@ +global proc AEchwWindFieldTemplate( string $nodeName ) +{ + editorTemplate -beginScrollLayout; + + editorTemplate -beginLayout "CHW Wind Field Attributes" -collapse 0; + editorTemplate -addControl "direction"; + editorTemplate -addControl "maxDistance"; + editorTemplate -addControl "useMaxDistance"; + editorTemplate -addControl "attenuation"; + editorTemplate -addControl "attenuationMode"; + AEaddRampControl( $nodeName + ".falloffCurve" ); + + editorTemplate -beginLayout "Noise" -collapse 0; + editorTemplate -addControl "noiseWeight"; + editorTemplate -addControl "noiseTimeMult"; + editorTemplate -addControl "noiseOctaves"; + editorTemplate -addControl "noisePersistence"; + editorTemplate -addControl "noiseFrequency"; + editorTemplate -addControl "noisePhase"; + editorTemplate -endLayout; + + + editorTemplate -beginLayout "Gust" -collapse 0; + editorTemplate -addControl "gustWeight"; + editorTemplate -addControl "gustTimeMult"; + editorTemplate -addControl "gustOctaves"; + editorTemplate -addControl "gustPersistence"; + editorTemplate -addControl "gustFrequency"; + editorTemplate -addControl "gustPhase"; + editorTemplate -addControl "gustBounds"; + editorTemplate -endLayout; + + + editorTemplate -beginLayout "Swirl" -collapse 0; + editorTemplate -addControl "swirlWeight"; + editorTemplate -addControl "swirlTimeMult"; + editorTemplate -addControl "swirlOctaves"; + editorTemplate -addControl "swirlPersistence"; + editorTemplate -addControl "swirlFrequency"; + editorTemplate -addControl "swirlPhase"; + editorTemplate -endLayout; + + + editorTemplate -beginLayout "Occlusion" -collapse 0; + editorTemplate -addControl "oclusionMesh"; + editorTemplate -addControl "occlusionMeshRadius"; + editorTemplate -addControl "occlusionSelfRadius"; + editorTemplate -endLayout; + + + editorTemplate -beginLayout "Display" -collapse 0; + editorTemplate -addControl "displayField"; + editorTemplate -addControl "displayNormalized"; + editorTemplate -addControl "displayScale"; + editorTemplate -endLayout; + + editorTemplate -endLayout; + + editorTemplate -addExtraControls; + editorTemplate -endScrollLayout; +} \ No newline at end of file