dymokomi/luced-3d
Source of release 0.11.2
0.11.2 / examples / splats / splats_to_mesh.prisma
#prisma 4.0
def luced3d "scene" {
int display = 6
int next_id = 7
bool preview = false
int scope = -1
int selected = 6
int take = 0
float64[4] time = [1, 1, 240, 24]
str units = "mm"
int version = 1
def network "nodes" {
def Sphere "n2" {
int edit_count = 0
bool enabled = true
str frozen = ""
int guard = 0
str[0] hidden = []
int id = 2
float64[0] inputs = []
str name = "Sphere 2"
int output = -1
float64[32] parameters = [1, 64, 0, 0, 0, 0, 0, 0, 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, 0]
float64[0] sources = []
str[3] texts = ["", "weight", "renamed"]
bool time_dependent = false
bool visible = true
def recipes "edits" {
}
}
def Code "n3" {
int edit_count = 0
bool enabled = true
str frozen = ""
int guard = 0
str[0] hidden = []
int id = 3
float64[2] inputs = [2, -1]
str name = "Code 3"
int output = -1
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 = -1
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 = true
def recipes "edits" {
}
}
def "GSplats from Polygons" "n4" {
int edit_count = 0
bool enabled = true
str frozen = ""
int guard = 0
str[0] hidden = []
int id = 4
float64[1] inputs = [3]
str name = "GSplats from Polygons 4"
int output = -1
float64[32] parameters = [3000, 0, 0.5, 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]
int parent = -1
float64[2] position = [0, 180]
float64[1] sources = [0]
str[3] texts = ["", "weight", "renamed"]
bool time_dependent = false
bool visible = true
def recipes "edits" {
}
}
def "GSplats to Volume" "n5" {
int edit_count = 0
bool enabled = true
str frozen = ""
int guard = 0
str[0] hidden = []
int id = 5
float64[1] inputs = [4]
str name = "GSplats to Volume 5"
int output = -1
float64[32] parameters = [0.02, 1, 3, 0, 0, 0, 0, 0, 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, 270]
float64[1] sources = [0]
str[3] texts = ["", "", ""]
bool time_dependent = false
bool visible = true
def recipes "edits" {
}
}
def "Convert to Mesh" "n6" {
int edit_count = 0
bool enabled = true
str frozen = ""
int guard = 0
str[0] hidden = []
int id = 6
float64[1] inputs = [5]
str name = "Convert to Mesh 6"
int output = 1
float64[32] parameters = [0, 0.29999999999999999, 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, 360]
float64[1] sources = [0]
str[3] texts = ["", "weight", "renamed"]
bool time_dependent = false
bool visible = true
def recipes "edits" {
}
}
}
def takes "takes" {
def take "t0" {
str[5] cameras = ["", "", "", "", ""]
float64[5] counts = [0, 0, 0, 0, 0]
float64[5] enabled = [1, 1, 1, 1, 1]
str[5] hidden = ["", "", "", "", ""]
float64[5] ids = [2, 3, 4, 5, 6]
str name = "Main"
float64[0] transforms = []
float64[5] visible = [1, 1, 1, 1, 1]
}
}
def editor_view "view" {
float64[6] camera = [0.69999999999999996, 0.55000000000000004, 6.5437168341793868, -0.0038038492202758789, 0.99572349339723587, 0.02141273021697998]
float64[3] network = [1, 0, 0]
}
}