Luce packages
LuceLuce BaseLuciaOS

dymokomi/luced-3d

Source of release 0.11.7

0.11.7 / examples / splats / splat_shadows.prisma

#prisma 4.0
def luced3d "scene" {
    int display = 17
    int next_id = 18
    int scope = -1
    int selected = 17
    int take = 0
    float64[4] time = [1, 1, 240, 24]
    float64[4] tolerances = [0.01, 0.001, 0.0017453292519943296, 0.0050000000000000001]
    str units = "mm"
    int version = 1
    def network "nodes" {
        def Geo "n2" {
            int edit_count = 0
            bool enabled = true
            str frozen = ""
            int guard = 0
            int held_actions = 0
            str held_aligns = ""
            str held_failure = ""
            str held_file = ""
            int held_input = 0
            int held_key = 0
            str held_note = ""
            str[0] hidden = []
            int id = 2
            float64[0] inputs = []
            str name = "Geo 2"
            float64[48] parameters = [0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
            int parent = -1
            float64[2] position = [40, 70]
            float64[0] sources = []
            str[3] texts = ["", "weight", "renamed"]
            bool time_dependent = false
            bool visible = true
            def recipes "edits" {
            }
        }
        def Sphere "n3" {
            int edit_count = 0
            bool enabled = true
            str frozen = ""
            int guard = 0
            int held_actions = 0
            str held_aligns = ""
            str held_failure = ""
            str held_file = ""
            int held_input = 0
            int held_key = 0
            str held_note = ""
            str[0] hidden = []
            int id = 3
            float64[0] inputs = []
            str name = "Sphere 3"
            float64[48] parameters = [1, 96, 48, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
            int parent = 2
            float64[2] position = [0, 0]
            float64[0] sources = []
            str[3] texts = ["", "weight", "renamed"]
            bool time_dependent = false
            bool visible = false
            def recipes "edits" {
            }
        }
        def Code "n4" {
            int edit_count = 0
            bool enabled = true
            str frozen = ""
            int guard = 0
            int held_actions = 0
            str held_aligns = ""
            str held_failure = ""
            str held_file = ""
            int held_input = 0
            int held_key = 0
            str held_note = ""
            str[0] hidden = []
            int id = 4
            float64[2] inputs = [3, -1]
            str name = "Code 4"
            float64[64] parameters = [1, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
            int parent = 2
            float64[2] position = [0, 90]
            float64[2] sources = [0, 0]
            str[5] texts = ["", "# Bumps along the normal (the sphere stands on the ground, its center at\n# height 1), warm at the bottom and cool on top.\nlet out = normalized(p.P - [0.0, 1.0, 0.0, 0.0])\np.P = p.P + out * (snoise(p.P * 2.5) * 0.12)\nlet t = fit(p.P[1], 0.0, 2.0, 0.0, 1.0)\np.Cd = [lerp(0.9, 0.15, t), lerp(0.45, 0.55, t), lerp(0.15, 0.85, t), 0.0]\n", "", "", ""]
            bool time_dependent = false
            bool visible = false
            def recipes "edits" {
            }
        }
        def GSplats "n5" {
            int edit_count = 0
            bool enabled = true
            str frozen = ""
            int guard = 0
            int held_actions = 0
            str held_aligns = ""
            str held_failure = ""
            str held_file = ""
            int held_input = 0
            int held_key = 0
            str held_note = ""
            str[0] hidden = []
            int id = 5
            float64[2] inputs = [4, -1]
            str name = "GSplats 5"
            float64[48] parameters = [0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
            int parent = 2
            float64[2] position = [0, 180]
            float64[2] sources = [0, 0]
            str[3] texts = ["", "weight", "renamed"]
            bool time_dependent = false
            bool visible = true
            def recipes "edits" {
            }
        }
        def Input "n6" {
            int edit_count = 0
            bool enabled = true
            str frozen = ""
            int guard = 0
            int held_actions = 0
            str held_aligns = ""
            str held_failure = ""
            str held_file = ""
            int held_input = 0
            int held_key = 0
            str held_note = ""
            str[0] hidden = []
            int id = 6
            float64[0] inputs = []
            str name = "Input 6"
            float64[48] parameters = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
            int parent = 5
            float64[2] position = [0, 0]
            float64[0] sources = []
            str[3] texts = ["", "weight", "renamed"]
            bool time_dependent = false
            bool visible = false
            def recipes "edits" {
            }
        }
        def "GSplats from Polygons" "n7" {
            int edit_count = 0
            bool enabled = true
            str frozen = ""
            int guard = 0
            int held_actions = 0
            str held_aligns = ""
            str held_failure = ""
            str held_file = ""
            int held_input = 0
            int held_key = 0
            str held_note = ""
            str[0] hidden = []
            int id = 7
            float64[1] inputs = [6]
            str name = "GSplats from Polygons 7"
            float64[48] parameters = [3000, 0, 0.10000000000000001, 1, 0.80000000000000004, 0.80000000000000004, 0.80000000000000004, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
            int parent = 5
            float64[2] position = [0, 180]
            float64[1] sources = [0]
            str[3] texts = ["", "weight", "renamed"]
            bool time_dependent = false
            bool visible = false
            def recipes "edits" {
            }
        }
        def Geo "n8" {
            int edit_count = 0
            bool enabled = true
            str frozen = ""
            int guard = 0
            int held_actions = 0
            str held_aligns = ""
            str held_failure = ""
            str held_file = ""
            int held_input = 0
            int held_key = 0
            str held_note = ""
            str[0] hidden = []
            int id = 8
            float64[2] inputs = [-1, -1]
            str name = "Geo 8"
            float64[48] parameters = [0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
            int parent = 5
            float64[2] position = [0, 270]
            float64[2] sources = [0, 0]
            str[3] texts = ["", "weight", "renamed"]
            bool time_dependent = false
            bool visible = false
            def recipes "edits" {
            }
        }
        def Grid "n9" {
            int edit_count = 0
            bool enabled = true
            str frozen = ""
            int guard = 0
            int held_actions = 0
            str held_aligns = ""
            str held_failure = ""
            str held_file = ""
            int held_input = 0
            int held_key = 0
            str held_note = ""
            str[0] hidden = []
            int id = 9
            float64[0] inputs = []
            str name = "Grid 9"
            float64[48] parameters = [8, 8, 8, 8, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
            int parent = 8
            float64[2] position = [0, 270]
            float64[0] sources = []
            str[3] texts = ["", "weight", "renamed"]
            bool time_dependent = false
            bool visible = true
            def recipes "edits" {
            }
        }
        def Merge "n10" {
            int edit_count = 0
            bool enabled = true
            str frozen = ""
            int guard = 0
            int held_actions = 0
            str held_aligns = ""
            str held_failure = ""
            str held_file = ""
            int held_input = 0
            int held_key = 0
            str held_note = ""
            str[0] hidden = []
            int id = 10
            float64[2] inputs = [7, 8]
            str name = "Merge 10"
            float64[48] parameters = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
            int parent = 5
            float64[2] position = [0, 360]
            float64[2] sources = [0, 0]
            str[3] texts = ["", "weight", "renamed"]
            bool time_dependent = false
            bool visible = false
            def recipes "edits" {
            }
        }
        def Geo "n11" {
            int edit_count = 0
            bool enabled = true
            str frozen = ""
            int guard = 0
            int held_actions = 0
            str held_aligns = ""
            str held_failure = ""
            str held_file = ""
            int held_input = 0
            int held_key = 0
            str held_note = ""
            str[0] hidden = []
            int id = 11
            float64[2] inputs = [-1, -1]
            str name = "Geo 11"
            float64[48] parameters = [0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
            int parent = 5
            float64[2] position = [0, 450]
            float64[2] sources = [0, 0]
            str[3] texts = ["", "weight", "renamed"]
            bool time_dependent = false
            bool visible = false
            def recipes "edits" {
            }
        }
        def Sphere "n12" {
            int edit_count = 0
            bool enabled = true
            str frozen = ""
            int guard = 0
            int held_actions = 0
            str held_aligns = ""
            str held_failure = ""
            str held_file = ""
            int held_input = 0
            int held_key = 0
            str held_note = ""
            str[0] hidden = []
            int id = 12
            float64[0] inputs = []
            str name = "Sphere 12"
            float64[48] parameters = [0.5, 48, 24, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
            int parent = 11
            float64[2] position = [0, 450]
            float64[0] sources = []
            str[3] texts = ["", "weight", "renamed"]
            bool time_dependent = false
            bool visible = false
            def recipes "edits" {
            }
        }
        def Transform "n13" {
            int edit_count = 0
            bool enabled = true
            str frozen = ""
            int guard = 0
            int held_actions = 0
            str held_aligns = ""
            str held_failure = ""
            str held_file = ""
            int held_input = 0
            int held_key = 0
            str held_note = ""
            str[0] hidden = []
            int id = 13
            float64[1] inputs = [12]
            str name = "Transform 13"
            float64[48] parameters = [0, 1.8, 0.5, 0.59999999999999998, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
            int parent = 11
            float64[2] position = [0, 540]
            float64[1] sources = [0]
            str[3] texts = ["", "weight", "renamed"]
            bool time_dependent = false
            bool visible = true
            def recipes "edits" {
            }
        }
        def Merge "n14" {
            int edit_count = 0
            bool enabled = true
            str frozen = ""
            int guard = 0
            int held_actions = 0
            str held_aligns = ""
            str held_failure = ""
            str held_file = ""
            int held_input = 0
            int held_key = 0
            str held_note = ""
            str[0] hidden = []
            int id = 14
            float64[2] inputs = [10, 11]
            str name = "Merge 14"
            float64[48] parameters = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
            int parent = 5
            float64[2] position = [0, 630]
            float64[2] sources = [0, 0]
            str[3] texts = ["", "weight", "renamed"]
            bool time_dependent = false
            bool visible = true
            def recipes "edits" {
            }
        }
        def Light "n15" {
            int edit_count = 0
            bool enabled = true
            str frozen = ""
            int guard = 0
            int held_actions = 0
            str held_aligns = ""
            str held_failure = ""
            str held_file = ""
            int held_input = 0
            int held_key = 0
            str held_note = ""
            str[0] hidden = []
            int id = 15
            float64[0] inputs = []
            str name = "Light 15"
            float64[48] parameters = [0, -2, 4, 1, -70, -30, 0, 1, 1, 1, 30, 0, 0, 6500, 2, 2, 0.5, 0.53000000000000003, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
            int parent = -1
            float64[2] position = [0, 720]
            float64[0] sources = []
            str[3] texts = ["light15", "", ""]
            bool time_dependent = false
            bool visible = true
            def recipes "edits" {
            }
        }
        def Camera "n16" {
            int edit_count = 0
            bool enabled = true
            str frozen = ""
            int guard = 0
            int held_actions = 0
            str held_aligns = ""
            str held_failure = ""
            str held_file = ""
            int held_input = 0
            int held_key = 0
            str held_note = ""
            str[0] hidden = []
            int id = 16
            float64[0] inputs = []
            str name = "Camera 16"
            float64[48] parameters = [0, 3.5, 2.5, 6.5, -16, 25, 0, 50, 36, 24, 0.10000000000000001, 10000, 0, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
            int parent = -1
            float64[2] position = [0, 810]
            float64[0] sources = []
            str[3] texts = ["camera16", "", ""]
            bool time_dependent = false
            bool visible = true
            def recipes "edits" {
            }
        }
        def Render "n17" {
            int edit_count = 0
            bool enabled = true
            str frozen = ""
            int guard = 0
            int held_actions = 0
            str held_aligns = ""
            str held_failure = ""
            str held_file = ""
            int held_input = 0
            int held_key = 0
            str held_note = ""
            str[0] hidden = []
            int id = 17
            float64[0] inputs = []
            str name = "Render 17"
            float64[48] parameters = [0, 1920, 1080, 64, 0, 12, 4, 8, 12, 0.01, 0, 0, 0.80000000000000004, 0.80000000000000004, 0.80000000000000004, 0, 0, 1, 1, 1, 1, 0.29999999999999999, 1.5, 0, 0, 1, 1, 1, 0.5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
            int parent = -1
            float64[2] position = [0, 900]
            float64[0] sources = []
            str[3] texts = ["", "", ""]
            bool time_dependent = false
            bool visible = true
            def recipes "edits" {
            }
        }
    }
    def takes "takes" {
        def take "t0" {
            str[16] cameras = ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""]
            float64[16] counts = [12, 3, 0, 12, 0, 0, 12, 3, 0, 12, 3, 12, 0, 6, 6, 0]
            float64[16] enabled = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]
            str[16] hidden = ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""]
            float64[16] ids = [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17]
            str name = "Main"
            float64[81] transforms = [0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 1.8, 0.5, 0.59999999999999998, 0, 0, 0, 1, 1, 1, 0, 0, 0, -2, 4, 1, -70, -30, 0, 3.5, 2.5, 6.5, -16, 25, 0]
            float64[16] visible = [1, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 1, 1, 1]
        }
    }
    def editor_view "view" {
        float64[3] network = [1, 0, 0]
        float64[46] panes = [0, 1, 1, -1, 0, 1.5707963267948966, 9, 0, 0.80000000000000004, 0, 0, 1, 45, 0, -1, 0.69999999999999996, 0.55000000000000004, 25.313977742131868, 0, 2.38663467898045, 1.25, 0, 0, 45, 3, -1, 0, 0, 9, 0, 0.80000000000000004, 0, 0, 1, 45, 6, -1, 1.5707963267948966, 0, 9, 0, 0.80000000000000004, 0, 0, 1, 45]
    }
}