/usr/share/structure-synth/Misc/Sunflow-Ward.rendertemplate is in structure-synth 1.5.0-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 | <!--
-->
<template name="SunFlow Ward" defaultExtension="Sunflow scene file (*.sc)">
<description>
This is an example of a render template, using one Ward shader for each object.
Template by Syntopia.
</description>
<primitive name="begin">
<![CDATA[
%% common settings
image {
resolution {width} {height}
aa 0 2
}
accel bih
filter mitchell
bucket 32 spiral
%% camera
camera {
type pinhole
eye {CamPosX} {CamPosY} {CamPosZ}
target {CamTargetX} {CamTargetY} {CamTargetZ}
up {CamUpX} {CamUpY} {CamUpZ}
fov {fov}
aspect {aspect}
}
%% light sources
light {
type meshlight
name "meshlight"
emit 1 1 1
radiance 16
samples 32
points 4
-1.79750967026 -6.22097349167 5.70054674149
-2.28231739998 -7.26064729691 4.06224298477
-4.09493303299 -6.41541051865 4.06224298477
-3.61012482643 -5.37573671341 5.70054721832
triangles 2
0 1 2
0 2 3
}
light {
type meshlight
name "meshlight.001"
emit 1 1 1
radiance 15
samples 32
points 4
-4.25819396973 -4.8784570694 5.70054674149
-5.13696432114 -5.61583280563 4.06224298477
-6.422539711 -4.08374404907 4.06224298477
-5.54376888275 -3.34636831284 5.70054721832
triangles 2
0 1 2
0 2 3
}
%% scene background - comment out if not needed
background {
color { "sRGB nonlinear" {BR} {BG} {BB} }
}
%% geometry
object {
shader none
transform col 0.001 0 0 0 0 0.001 0 0 0 0 0.001 0 0 0 0 1
type generic-mesh
name "Box"
points 8
1 1 1
1 0 1
0 0 1
0 1 1
0 1 0
0 0 0
1 0 0
1 1 0
triangles 12
0 3 2
0 2 1
2 3 4
2 4 5
3 0 7
3 7 4
0 1 6
0 6 7
1 2 5
1 5 6
5 4 7
5 7 6
normals none
uvs none
}
]]>
</primitive>
<primitive name="end">
<![CDATA[
]]>
</primitive>
<primitive name="box">
<![CDATA[
shader {
name "shader{uid}"
type ward
diff { "sRGB nonlinear" {r} {g} {b} }
spec { "sRGB nonlinear" 1 1 1 }
rough .4 .01
}
instance {
name "{uid}"
geometry "Box"
transform col {matrix}
shader "shader{uid}"
}
]]>
</primitive>
<primitive name="sphere">
<![CDATA[
shader {
name "shader{uid}"
type ward
diff { "sRGB nonlinear" {r} {g} {b} }
spec { "sRGB nonlinear" 1 1 1 }
rough .4 .01
}
object {
shader "shader{uid}"
type sphere
c {cx} {cy} {cz}
r {rad}
}
]]>
</primitive>
</template>
|