~flypig/functy/trunk

« back to all changes in this revision

Viewing changes to working/Martin01.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="-100.000000" y="-100.000000" z="-100.000000"/>
12
12
                </min>
13
13
                <width>
14
 
                        <coord x="20.000000" y="20.000000" z="20.000000"/>
 
14
                        <coord x="200.000000" y="200.000000" z="200.000000"/>
15
15
                </width>
16
16
        </range>
17
17
        <function type="curve">
18
 
                <equation>0.1</equation>
19
 
                <red>1.000</red>
20
 
                <green>0.550</green>
21
 
                <blue>0.550</blue>
 
18
                <equation>1*((3+sin(4*(p+((1+sin((10*a*(22/7))))*8*22/7))))/4)</equation>
 
19
                <red>1</red>
 
20
                <green>((1+sin(4*(p+((1+sin((10*a*(22/7))))*8*22/7))))/2)*0.6</green>
 
21
                <blue>((1+sin(4*(p+((1+sin((10*a*(22/7))))*8*22/7))))/2)*0.4</blue>
22
22
                <alpha>1</alpha>
23
 
                <accuracy double="0.002000"/>
24
 
                <accuracy-radius double="0.020000"/>
25
 
                <equation-x>4*cos(atan((2*sin(a*20*(22/7)))))*cos((2*a*(44/7)))</equation-x>
26
 
                <equation-y>4*cos(atan((2*sin(a*20*(22/7)))))*sin((2*a*(44/7)))</equation-y>
27
 
                <equation-z>4*sin(atan((2*sin(a*20*(22/7)))))</equation-z>
 
23
                <accuracy double="0.000250"/>
 
24
                <accuracy-radius double="0.033333"/>
 
25
                <equation-x>40*cos(atan((2*sin(a*10*(22/7)))))*cos((a*(44/7)))</equation-x>
 
26
                <equation-y>40*cos(atan((2*sin(a*10*(22/7)))))*sin((a*(44/7)))</equation-y>
 
27
                <equation-z>40*sin(atan((2*sin(a*10*(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.1</equation>
39
 
                <red>0.666</red>
40
 
                <green>0.975</green>
 
38
                <equation>1*((3+sin(4*(p+(((sin((10*a*(22/7)))))*8*22/7))))/4)</equation>
 
39
                <red>((1+sin(4*(p+((1+sin((10*a*(22/7))))*8*22/7))))/2)</red>
 
40
                <green>0.95</green>
41
41
                <blue>0.459</blue>
42
42
                <alpha>1</alpha>
43
 
                <accuracy double="0.002000"/>
44
 
                <accuracy-radius double="0.020000"/>
45
 
                <equation-x>4*cos(atan((2*sin(a*20*(22/7)))))*sin((2*a*(44/7)))</equation-x>
46
 
                <equation-y>4*sin(atan((2*sin(a*20*(22/7)))))</equation-y>
47
 
                <equation-z>4*cos(atan((2*sin(a*20*(22/7)))))*cos((2*a*(44/7)))</equation-z>
 
43
                <accuracy double="0.000250"/>
 
44
                <accuracy-radius double="0.033333"/>
 
45
                <equation-x>40*cos(atan((2*sin(a*10*(22/7)))))*sin((a*(44/7)))</equation-x>
 
46
                <equation-y>40*sin(atan((2*sin(a*10*(22/7)))))</equation-y>
 
47
                <equation-z>40*cos(atan((2*sin(a*10*(22/7)))))*cos((a*(44/7)))</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>