~kubuntu-members/perlkde/4.11

« back to all changes in this revision

Viewing changes to qt/qtgui/examples/graphicsview/portedasteroids/sprites/ship/ship.pov

  • Committer: Ian Monroe
  • Date: 2011-01-11 21:59:47 UTC
  • Revision ID: git-v1:137efc29fcf3fc78bad68ad57529a9397154ac9c
Tags: v4.6.90, v4.7.3, v4.7.95, v4.7.97, v4.9.0, v4.9.1, v4.9.2, v4.9.3, v4.9.80
Removed perlqt.

You may need to use git log --follow to see commits after this point.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 
2
 
#version 3.0
3
 
global_settings { assumed_gamma 2.0 }
4
 
 
5
 
#include "colors.inc"
6
 
#include "textures.inc"
7
 
#include "metals.inc"
8
 
 
9
 
camera {
10
 
  orthographic
11
 
  up <0, 130, 0>
12
 
  right <130, 0, 0>
13
 
  location <0, 0, -130>
14
 
  look_at <0, 0, 0>
15
 
}
16
 
 
17
 
light_source { <50, 25, -25> colour White }
18
 
light_source { <0, 0, -100> colour Gray80 }
19
 
 
20
 
#declare ShipColor = color red 1.0 green 1.0 blue 0.9
21
 
 
22
 
#declare BaseTexture =
23
 
texture {
24
 
    pigment { ShipColor }
25
 
}
26
 
 
27
 
#declare Grubby =
28
 
texture {
29
 
    pigment {
30
 
        bozo
31
 
        color_map {
32
 
            [0.0 color rgbt <1, 1, 1, 1>]
33
 
            [0.8 color rgbt <0.9, 0.9, 0.9, 0.5>]
34
 
            [1.0 color rgbt <0.8, 0.8, 0.8, 0.5>]
35
 
        }
36
 
        turbulence 2.0
37
 
        scale 3
38
 
    }
39
 
}
40
 
 
41
 
#declare ShipTexture =
42
 
texture { BaseTexture }
43
 
texture { Grubby }
44
 
 
45
 
union {
46
 
    cone {
47
 
        <12, 0, 0>, 0.5
48
 
        <11, 0, 0>, 1.0
49
 
        texture { ShipTexture }
50
 
    }
51
 
    cone {
52
 
        <11, 0, 0>, 1.0
53
 
        <8, 0, 0>, 2.0
54
 
        texture { ShipTexture }
55
 
    }
56
 
    cone {
57
 
        <8, 0, 0>, 2.0
58
 
        <3.5, 0, 0>, 3.8
59
 
        texture { ShipTexture }
60
 
    }
61
 
    difference {
62
 
        cone {
63
 
            <8, 0, -0.01>, 2.0
64
 
            <3.5, 0, -0.01>, 3.8
65
 
            pigment { color Gray20 }
66
 
        }
67
 
        box {
68
 
            <9, -4.0, -3.7>,
69
 
            <2, 4.0, 10>
70
 
            rotate <0, -18, 0>
71
 
        }
72
 
        box {
73
 
            <6.5, -4.0, -8>,
74
 
            <10, 4.0, 8>
75
 
        }
76
 
        box {
77
 
            <2, -4.0, -8>,
78
 
            <4.5, 4.0, 8>
79
 
        }
80
 
    }
81
 
    cone {
82
 
        <3.5, 0, 0>, 3.8
83
 
        <2, 0, 0>, 4.0
84
 
        texture { ShipTexture }
85
 
    }
86
 
    cylinder {
87
 
        <2, 0, 0>,
88
 
        <-9, 0, 0>,
89
 
        4.0
90
 
        texture { ShipTexture }
91
 
    }
92
 
    cone {
93
 
        <-9, 0, 0>, 4.0
94
 
        <-10, 0, 0>, 3.5
95
 
        texture { ShipTexture }
96
 
    }
97
 
    prism {
98
 
        linear_sweep
99
 
        linear_spline
100
 
        0,
101
 
        0.5,
102
 
        4,
103
 
        <7.5, 0>, <-7.5, 10>, <-7.5, -10>, <7.5, 0>
104
 
        rotate <90, 0, 0>
105
 
        texture { T_Silver_2A }
106
 
        texture { ShipTexture }
107
 
    }
108
 
    prism {
109
 
        linear_sweep
110
 
        linear_spline
111
 
        -0.5,
112
 
        0.5,
113
 
        4,
114
 
        <4, 0>, <-7.5, 5>, <-7.5, -5>, <4, 0>
115
 
        pigment { color White }
116
 
    }
117
 
    cone {
118
 
        <-12, 0, 0>, 3.0
119
 
        <-10, 0, 0>, 2.0
120
 
        texture { T_Silver_2A }
121
 
        pigment { color Gray60 }
122
 
    }
123
 
 
124
 
    rotate <0, 0,-360*clock>
125
 
    scale <5, 5, 5>
126
 
}
127
 
 
128