~ubuntu-branches/ubuntu/maverick/freecad/maverick

« back to all changes in this revision

Viewing changes to src/Mod/Raytracing/App/resources/FCSimple.pov

  • Committer: Bazaar Package Importer
  • Author(s): Teemu Ikonen
  • Date: 2009-07-16 18:37:41 UTC
  • Revision ID: james.westby@ubuntu.com-20090716183741-oww9kcxqrk991i1n
Tags: upstream-0.8.2237
ImportĀ upstreamĀ versionĀ 0.8.2237

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// Persistence of Vision Ray Tracer Scene Description File
 
2
// File: ?.pov
 
3
// Vers: 3.6
 
4
// Desc: Basic Scene Example
 
5
// Date: mm/dd/yy
 
6
// Auth: ?
 
7
//
 
8
 
 
9
#version 3.6;
 
10
 
 
11
#include "colors.inc"
 
12
 
 
13
global_settings {
 
14
  assumed_gamma 1.0
 
15
}  
 
16
 
 
17
 
 
18
// ----------------------------------------
 
19
 
 
20
// includes the Part mesh writen from FreeCAD
 
21
#include "TempPart.inc"
 
22
object {Part
 
23
   texture { pigment {rgb <0.3,0.8,0.3>} finish {ambient 0.2 reflection 0.2 specular 0.7} }
 
24
 }
 
25
 
 
26
 
 
27
 
 
28
// ----------------------------------------
 
29
 
 
30
// includes the camera from FreeCAD
 
31
#include "TempCamera.inc"
 
32
camera {
 
33
  location  CamPos[0]
 
34
  look_at   LookAt[0]
 
35
  sky       Up[0]
 
36
  angle     50
 
37
}
 
38
 
 
39
 
 
40
light_source {
 
41
  CamPos[0] - CamDir[0] * 5 + Up[0] * 10           // light's position
 
42
  color rgb <1, 1, 1>  // light's color
 
43
 
44
 
 
45
// ----------------------------------------
 
46
 
 
47
 
 
48
sky_sphere {
 
49
  pigment {
 
50
    gradient y
 
51
    color_map {
 
52
      [0.0 rgb <0.6,0.7,1.0>]
 
53
      [0.7 rgb <0.0,0.1,0.8>]
 
54
    }
 
55
  }
 
56
}
 
57
 
 
58
 
 
59
// ----------------------------------------
 
60
 
 
61
plane {
 
62
  y, -1
 
63
  pigment { color rgb <0.7,0.5,0.3> }
 
64
}
 
65
 
 
66
sphere {
 
67
  0.0, 1
 
68
  texture {
 
69
    pigment {
 
70
      radial
 
71
      frequency 8
 
72
      color_map {
 
73
        [0.00 color rgb <1.0,0.4,0.2> ]
 
74
        [0.33 color rgb <0.2,0.4,1.0> ]
 
75
        [0.66 color rgb <0.4,1.0,0.2> ]
 
76
        [1.00 color rgb <1.0,0.4,0.2> ]
 
77
      }
 
78
    }
 
79
    finish{
 
80
      specular 0.6
 
81
    }
 
82
  }
 
83
}
 
84