~flypig/functy/trunk

« back to all changes in this revision

Viewing changes to working/Working.xml

  • Committer: David Llewellyn-Jones
  • Date: 2012-07-19 23:02:58 UTC
  • Revision ID: git-v1:4601f49c8e2bf40cbbe519f29bb9c2f00c9a9774
Added a few new example files for Functy and slightly offset the default 'up' direction from the z-axis for rendering curves (so that curves running along the z-axis can actually be rendered).

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
        </settings>
9
9
        <range>
10
10
                <min>
11
 
                        <coord x="-10.000000" y="-10.000000" z="-10.000000"/>
 
11
                        <coord x="-11.685368" y="-11.609003" z="-11.664000"/>
12
12
                </min>
13
13
                <width>
14
 
                        <coord x="20.000000" y="20.000000" z="20.000000"/>
 
14
                        <coord x="23.328000" y="23.328000" z="23.328000"/>
15
15
                </width>
16
16
        </range>
17
17
        <function type="curve">
18
 
                <equation>0.05</equation>
 
18
                <equation>0.05*(1*3/((3*cos(p-(a*22/7))**2)+(1*sin(p-(a*22/7))**2)**(1/2)))</equation>
19
19
                <red>(1+sin(25*a*44/7))/2</red>
20
20
                <green>(1+cos(25*a*44/7))/2</green>
21
21
                <blue>(1+cos((11/7)+(25*a*44/7)))/2</blue>
22
22
                <alpha>1</alpha>
23
23
                <accuracy double="0.000200"/>
24
 
                <accuracy-radius double="0.100000"/>
25
 
                <equation-x>4*cos(atan((2*sin(a*10*(22/7)))))*cos((((a/1))*(44/7)+((cos(a*10*(22/7))**5)*0.2*sin(a*300*22/7))))</equation-x>
26
 
                <equation-y>4*cos(atan((2*sin(a*10*(22/7)))))*sin((((a/1))*(44/7)+((cos(a*10*(22/7))**5)*0.2*sin(a*300*22/7))))</equation-y>
27
 
                <equation-z>4*sin(atan((2*sin(a*10*(22/7)))))</equation-z>
 
24
                <accuracy-radius double="0.020000"/>
 
25
                <equation-x>4*cos(atan((3*sin(a*12*(22/7)))))*cos((((a*1))*(44/7)+(3*sin((4/3)+a*6*22/7))))</equation-x>
 
26
                <equation-y>4*cos(atan((3*sin(a*12*(22/7)))))*sin((((a*1))*(44/7)+(3*sin((4/3)+a*6*22/7))))</equation-y>
 
27
                <equation-z>4*sin(atan((3*sin(a*12*(22/7)))))</equation-z>
28
28
                <centre-x>0.000</centre-x>
29
29
                <centre-y>0.000</centre-y>
30
30
                <centre-z>0.000</centre-z>
35
35
                <texture-y-offset>0.0</texture-y-offset>
36
36
        </function>
37
37
        <function type="curve">
38
 
                <equation>0.05</equation>
39
 
                <red>1.000</red>
40
 
                <green>0.550</green>
41
 
                <blue>0.550</blue>
42
 
                <alpha>0.900</alpha>
 
38
                <equation>0.03*(1*3/((3*cos(p-(a*22/7))**2)+(1*sin(p-(a*22/7))**2)**(1/2)))</equation>
 
39
                <red>1-(1+sin(25*a*44/7))/2</red>
 
40
                <green>1-(1+cos(25*a*44/7))/2</green>
 
41
                <blue>1-(1+cos((11/7)+(25*a*44/7)))/2</blue>
 
42
                <alpha>0</alpha>
43
43
                <accuracy double="0.000200"/>
44
 
                <accuracy-radius double="0.100000"/>
45
 
                <equation-x>((((a/1))*(44/7)+(cos(a*10*(22/7))*0.05*sin(a*300*22/7))))</equation-x>
46
 
                <equation-y>6</equation-y>
47
 
                <equation-z>2*(2*sin(a*10*(22/7)))</equation-z>
 
44
                <accuracy-radius double="0.020000"/>
 
45
                <equation-x>4*sin(15*a*22/7)*((1-(((a*2)-1)**2))**(1/2))</equation-x>
 
46
                <equation-y>4*cos(15*a*22/7)*((1-(((a*2)-1)**2))**(1/2))</equation-y>
 
47
                <equation-z>((a*8)-4)</equation-z>
48
48
                <centre-x>0.000</centre-x>
49
49
                <centre-y>0.000</centre-y>
50
50
                <centre-z>0.000</centre-z>