//
// time: Tue Jan 16 16:15:29 1996
//
// version: 3.0.0 (format), 3.1.1 (DX)
//
//
// MODULE main
// workspace: width = 534, height = 594
// layout: snap = 0, width = 50, height = 50, align = UL
//
macro main(
) -> (
) {
    // 
    // node Toggle[1]: x = 270, y = 452, inputs = 6, label = Toggle
    // input[1]: defaulting = 0, visible = 0, type = 32, value = "Toggle_1"
    // input[2]: defaulting = 0, visible = 0, type = 29, value = 1
    // input[3]: defaulting = 0, visible = 0, type = 3, value = 1
    // input[4]: defaulting = 1, visible = 1, type = 29, value = 1
    // input[5]: defaulting = 1, visible = 1, type = 29, value = 0
    // output[1]: visible = 1, type = 29, value = 1
    // toggle : 1
    //
    // 
    // node Import[1]: x = 22, y = 29, inputs = 6, label = Import
    // input[1]: defaulting = 0, visible = 1, type = 32, value = "cloudwater"
    //
main_Import_1_out_1 = 
    Import(
    main_Import_1_in_1,
    main_Import_1_in_2,
    main_Import_1_in_3,
    main_Import_1_in_4,
    main_Import_1_in_5,
    main_Import_1_in_6
    ) [instance: 1, cache: 1];
    // 
    // node Isosurface[1]: x = 25, y = 124, inputs = 6, label = Isosurface
    //
main_Isosurface_1_out_1 = 
    Isosurface(
    main_Import_1_out_1,
    main_Isosurface_1_in_2,
    main_Isosurface_1_in_3,
    main_Isosurface_1_in_4,
    main_Isosurface_1_in_5,
    main_Isosurface_1_in_6
    ) [instance: 1, cache: 1];
    // 
    // node Import[2]: x = 162, y = 40, inputs = 6, label = Import
    // input[1]: defaulting = 0, visible = 1, type = 32, value = "wind"
    //
main_Import_2_out_1 = 
    Import(
    main_Import_2_in_1,
    main_Import_2_in_2,
    main_Import_2_in_3,
    main_Import_2_in_4,
    main_Import_2_in_5,
    main_Import_2_in_6
    ) [instance: 2, cache: 1];
    // 
    // node Map[1]: x = 72, y = 222, inputs = 4, label = Map
    //
main_Map_1_out_1 = 
    Map(
    main_Isosurface_1_out_1,
    main_Import_2_out_1,
    main_Map_1_in_3,
    main_Map_1_in_4
    ) [instance: 1, cache: 1];
    // 
    // node AutoColor[1]: x = 89, y = 310, inputs = 10, label = AutoColor
    //
main_AutoColor_1_out_1,
main_AutoColor_1_out_2 = 
    AutoColor(
    main_Map_1_out_1,
    main_AutoColor_1_in_2,
    main_AutoColor_1_in_3,
    main_AutoColor_1_in_4,
    main_AutoColor_1_in_5,
    main_AutoColor_1_in_6,
    main_AutoColor_1_in_7,
    main_AutoColor_1_in_8,
    main_AutoColor_1_in_9,
    main_AutoColor_1_in_10
    ) [instance: 1, cache: 1];
    // 
    // node Sequencer[1]: x = 328, y = 35, inputs = 7, label = Sequencer
    // input[1]: defaulting = 0, visible = 0, type = 32, value = "Sequencer_1"
    // input[4]: defaulting = 1, visible = 1, type = 1, value = 0
    // input[5]: defaulting = 1, visible = 1, type = 1, value = 30
    // input[6]: defaulting = 1, visible = 0, type = 1, value = 1
    // input[7]: defaulting = 0, visible = 0, type = 16777217, value = { 0 30 1 0 30 1 }
    // vcr[1]: min = 0, max = 30, beg = 0, end = 30, cur = 0, inc = 1, loop = off, step = off, pal = off
    // window: position = (0.2109,0.0283), size = 0.2188x0.0781
    //
    main_Sequencer_1_out_1 = @frame;
    // 
    // node Compute[1]: x = 340, y = 129, inputs = 2, label = Compute
    // input[1]: defaulting = 0, visible = 0, type = 32, value = "$0*5"
    // expression: value = frame*5
    // name[2]: value = frame
    //
main_Compute_1_out_1 = 
    Compute(
    main_Compute_1_in_1,
    main_Sequencer_1_out_1
    ) [instance: 1, cache: 1];
    // 
    // node Direction[1]: x = 260, y = 205, inputs = 3, label = Direction
    // input[2]: defaulting = 0, visible = 1, type = 5, value = 30.0
    //
main_Direction_1_out_1 = 
    Direction(
    main_Compute_1_out_1,
    main_Direction_1_in_2,
    main_Direction_1_in_3
    ) [instance: 1, cache: 1];
    // 
    // node AutoCamera[1]: x = 275, y = 312, inputs = 9, label = AutoCamera
    // input[3]: defaulting = 0, visible = 1, type = 5, value = 70000.0
    // input[4]: defaulting = 0, visible = 1, type = 1, value = 300
    //
main_AutoCamera_1_out_1 = 
    AutoCamera(
    main_AutoColor_1_out_1,
    main_Direction_1_out_1,
    main_AutoCamera_1_in_3,
    main_AutoCamera_1_in_4,
    main_AutoCamera_1_in_5,
    main_AutoCamera_1_in_6,
    main_AutoCamera_1_in_7,
    main_AutoCamera_1_in_8,
    main_AutoCamera_1_in_9
    ) [instance: 1, cache: 1];
    // 
    // node Render[1]: x = 160, y = 396, inputs = 3, label = Render
    //
main_Render_1_out_1 = 
    Render(
    main_AutoColor_1_out_1,
    main_AutoCamera_1_out_1,
    main_Render_1_in_3
    ) [instance: 1, cache: 1];
    // 
    // node Route[1]: x = 358, y = 442, inputs = 2, outputs = 2, label = Route
    //
main_Route_1_out_1,
main_Route_1_out_2 = 
    Route(
    main_Toggle_1_out_1,
    main_Render_1_out_1
    ) [instance: 1, cache: 1];
    // 
    // node Format[1]: x = 436, y = 285, inputs = 2, label = Format
    // input[1]: defaulting = 0, visible = 1, type = 32, value = "iso.%d.yuv"
    //
main_Format_1_out_1 = 
    Format(
    main_Format_1_in_1,
    main_Sequencer_1_out_1
    ) [instance: 1, cache: 1];
    // 
    // node WriteImage[1]: x = 437, y = 486, inputs = 4, label = WriteImage
    // input[2]: defaulting = 1, visible = 1, type = 32, value = "iso"
    // input[3]: defaulting = 0, visible = 1, type = 32, value = "yuv"
    // input[4]: defaulting = 0, visible = 1, type = 1, value = 0
    //
    WriteImage(
    main_Route_1_out_1,
    main_Format_1_out_1,
    main_WriteImage_1_in_3,
    main_WriteImage_1_in_4
    ) [instance: 1, cache: 1];
    // 
    // node Display[1]: x = 204, y = 531, inputs = 4, label = Display
    // depth: value = 8
    // window: position = (0.1375,0.5811), size = 0.2453x0.2881
    //
    Display(
    main_Render_1_out_1,
    main_Display_1_in_2,
    main_Display_1_in_3,
    main_Display_1_in_4
    ) [instance: 1, cache: 1];
// network: end of macro body
}
main_Toggle_1_in_1 = "Toggle_1";
main_Toggle_1_in_2 = 1;
main_Toggle_1_in_3 = 1;
main_Toggle_1_in_4 = NULL;
main_Toggle_1_in_5 = NULL;
main_Toggle_1_in_6 = NULL;
main_Toggle_1_out_1 = 1;
main_Import_1_in_1 = "cloudwater";
main_Import_1_in_2 = NULL;
main_Import_1_in_3 = NULL;
main_Import_1_in_4 = NULL;
main_Import_1_in_5 = NULL;
main_Import_1_in_6 = NULL;
main_Import_1_out_1 = NULL;
main_Isosurface_1_in_2 = NULL;
main_Isosurface_1_in_3 = NULL;
main_Isosurface_1_in_4 = NULL;
main_Isosurface_1_in_5 = NULL;
main_Isosurface_1_in_6 = NULL;
main_Isosurface_1_out_1 = NULL;
main_Import_2_in_1 = "wind";
main_Import_2_in_2 = NULL;
main_Import_2_in_3 = NULL;
main_Import_2_in_4 = NULL;
main_Import_2_in_5 = NULL;
main_Import_2_in_6 = NULL;
main_Import_2_out_1 = NULL;
main_Map_1_in_3 = NULL;
main_Map_1_in_4 = NULL;
main_Map_1_out_1 = NULL;
main_AutoColor_1_in_2 = NULL;
main_AutoColor_1_in_3 = NULL;
main_AutoColor_1_in_4 = NULL;
main_AutoColor_1_in_5 = NULL;
main_AutoColor_1_in_6 = NULL;
main_AutoColor_1_in_7 = NULL;
main_AutoColor_1_in_8 = NULL;
main_AutoColor_1_in_9 = NULL;
main_AutoColor_1_in_10 = NULL;
main_AutoColor_1_out_1 = NULL;
main_Sequencer_1_in_1 = "Sequencer_1";
main_Sequencer_1_in_2 = NULL;
main_Sequencer_1_in_3 = NULL;
main_Sequencer_1_in_4 = NULL;
main_Sequencer_1_in_5 = NULL;
main_Sequencer_1_in_6 = NULL;
main_Sequencer_1_in_7 = { 0 30 1 0 30 1 };
main_Sequencer_1_out_1 = NULL;

@startframe = 0;
@nextframe  = @startframe;
@endframe   = 30;
@deltaframe = 1;
main_Compute_1_in_1 = "$0*5";
main_Compute_1_out_1 = NULL;
main_Direction_1_in_2 = 30.0;
main_Direction_1_in_3 = NULL;
main_Direction_1_out_1 = NULL;
main_AutoCamera_1_in_3 = 70000.0;
main_AutoCamera_1_in_4 = 300;
main_AutoCamera_1_in_5 = NULL;
main_AutoCamera_1_in_6 = NULL;
main_AutoCamera_1_in_7 = NULL;
main_AutoCamera_1_in_8 = NULL;
main_AutoCamera_1_in_9 = NULL;
main_AutoCamera_1_out_1 = NULL;
main_Render_1_in_3 = NULL;
main_Render_1_out_1 = NULL;
main_Route_1_out_1 = NULL;
main_Format_1_in_1 = "iso.%d.yuv";
main_Format_1_out_1 = NULL;
main_WriteImage_1_in_3 = "yuv";
main_WriteImage_1_in_4 = 0;
main_Display_1_in_2 = NULL;
main_Display_1_in_3 = "X8,,";
main_Display_1_in_4 = NULL;
Executive("product version 3 1 1");
$sync

sequence main();
play;
