|
|
"Marc Champagne" <nos### [at] pleasecom> wrote in message
news:Xns### [at] 204213191226...
>
> I have double spaced each line, if any of the lines have wrapped around,
> unwrap them before running.
Marc, I have sent you an email, but for the benefit of the Group, I though I
would post here as well.
I was a jeweler when I was younger, and came across the specs for a standard
round Brilliant Diamond with unstacked mains. The link is to a 1meg
animation using Mega POV (3.1 back then). I am also attaching the POV file
as well, but you will notice my lack of fancy POV coding, as I was a novice
at the time I developed it. Perhaps this will help you with your diamond as
well, although I am interested in seeing it now...
http://winhunter.sourceforge.net/mega.avi
Group,
I am a novice POVRayer, and thus my scenefile reflects as such, in fact, it
was a scene file from an older version of POV which was brought up to speed
to run in MEGAPOV.
:o")
// Persistence of Vision Raytracer
// Standard Round Brilliant Diamond With Unstacked Mains
// by Andrew Reed
//#include "srb.inc"
#version unofficial MegaPov 0.7; // version number may be different
#include "megashapes.inc"
global_settings {
adc_bailout 0.003922
ambient_light <1.0,1.0,1.0>
assumed_gamma 1.9
hf_gray_16 off
irid_wavelength <0.247059,0.176471,0.137255>
max_intersections 64
max_trace_level 10
number_of_waves 10
photons {
spacing 0.025*5
autostop 0
}
}
background { color <0.000,0.000,0.000> }
#declare ct1 = 25.0; //25.0
#declare ct2 = 15.0; //15.0
#declare ct3 = 3.0; //
#declare ct4 = -8; //-9
#declare pt1 = -76.8; //76.8
#declare pt3 = -77.5; //77.5
//#declare Start = 19.0;
//#declare End = 45.0;
//#declare My_Clock = Start+(End-Start)*clock;
#declare bendloc = .11;
camera {
location <0, 0, 0>
direction <0, 0, 1>
up <0, 1, 0>
right <1.33, 0, 0>
translate <1.0, 1.0, 0.0>
look_at <0.0, 0.0, 0.0>
}
// light source
// light_source {
// <25, 200, 0> colour red 1.0 green 1.0 blue 1.0
// spotlight
// point_at <0, 0, 0>
// tightness 50
// radius 400
// falloff 500
// }
//
// ******* L I G H T S *******
//
light_source { // Light1
<-12, 2, 2>
color rgb <1.000, 0.000, 0.000>*200
fade_distance 1
fade_power 2
}
light_source { // Light1
<-12, 0, 2>
color rgb <0.000, 1.000, 0.000>*200
fade_distance 1
fade_power 2
}
light_source { // Light1
<-12, -2, 2>
color rgb <0.000, 0.000, 1.000>*200
fade_distance 1
fade_power 2
}
//
// ******** TEXTURES *******
//
#declare Diamond1 =
material {// Diamond
texture {
pigment { color rgbf <1.0, 1.0, 1.0, 0.99> }
finish {
ambient 0.0
diffuse 0.0
specular 1.0
roughness 0.001
reflection 0.1
}
}
interior { ior 2.47 } // Diamond
}
object {
plane { <0.0, 1.0, 0.0>, 0.0 translate <0.0, -320.0, 0.0> }
texture {
pigment { red 1.0 green 1.0 blue 1.0 }
finish {
diffuse 0.7
}
}
}
object {
plane { <0.0, -1.0, 0.0>, 0.0 translate <0.0, 320.0, 0.0> }
texture {
pigment { red 1.0 green 1.0 blue 1.0 }
finish {
diffuse 0.7
ambient 0.4
}
}
}
#declare Prong =
object {
union {
sphere { <0, 0.15, 0> .075 }
cylinder { <0.0, -bendloc, 0.0>, <0.0, .15, 0.0>, .075 }
sphere { <0, -bendloc, 0> .075 }
cylinder { <0.0, -bendloc, 0.0>, <0.0, 1.5, 0.0>, .075 translate
<-bendloc, bendloc, 0.0> rotate <0.0, 0.0, 94.3> }//translate <0.0, -0.05,
0.0> }
}
texture {
//pigment { color red 0.9 green 0.698039 blue 0.396078 }
pigment { color red 0.71 green 0.65 blue 0.26 }
finish {
metallic
ambient 0.5
diffuse 0.8
brilliance 6
reflection 0.5
phong 0.75
phong_size 80
}
}
rotate <0.0, 0.0, -42.3>
translate <0.25, -1.0, 0.0>
rotate <0.0, 0.0, 90.0>
}
#declare srb =
//object {
difference {
cylinder { <0, -90, 0>, <0, 10, 0>, 100 open }
// Crown facets C1 -16-
plane { <0.0, -1.0, 0.0>, 0.0 rotate <42.30, 0.0, 0.0> translate <0.0,
ct1, 0.0> rotate <0.0, 11.25, 0.0> }
plane { <0.0, -1.0, 0.0>, 0.0 rotate <42.30, 0.0, 0.0> translate <0.0,
ct1, 0.0> rotate <0.0, 33.75, 0.0> }
plane { <0.0, -1.0, 0.0>, 0.0 rotate <42.30, 0.0, 0.0> translate <0.0,
ct1, 0.0> rotate <0.0, 56.25, 0.0> }
plane { <0.0, -1.0, 0.0>, 0.0 rotate <42.30, 0.0, 0.0> translate <0.0,
ct1, 0.0> rotate <0.0, 78.75, 0.0> }
plane { <0.0, -1.0, 0.0>, 0.0 rotate <42.30, 0.0, 0.0> translate <0.0,
ct1, 0.0> rotate <0.0, 101.25, 0.0> }
plane { <0.0, -1.0, 0.0>, 0.0 rotate <42.30, 0.0, 0.0> translate <0.0,
ct1, 0.0> rotate <0.0, 123.75, 0.0> }
plane { <0.0, -1.0, 0.0>, 0.0 rotate <42.30, 0.0, 0.0> translate <0.0,
ct1, 0.0> rotate <0.0, 146.25, 0.0> }
plane { <0.0, -1.0, 0.0>, 0.0 rotate <42.30, 0.0, 0.0> translate <0.0,
ct1, 0.0> rotate <0.0, 168.75, 0.0> }
plane { <0.0, -1.0, 0.0>, 0.0 rotate <42.30, 0.0, 0.0> translate <0.0,
ct1, 0.0> rotate <0.0, 191.25, 0.0> }
plane { <0.0, -1.0, 0.0>, 0.0 rotate <42.30, 0.0, 0.0> translate <0.0,
ct1, 0.0> rotate <0.0, 213.75, 0.0> }
plane { <0.0, -1.0, 0.0>, 0.0 rotate <42.30, 0.0, 0.0> translate <0.0,
ct1, 0.0> rotate <0.0, 236.25, 0.0> }
plane { <0.0, -1.0, 0.0>, 0.0 rotate <42.30, 0.0, 0.0> translate <0.0,
ct1, 0.0> rotate <0.0, 258.75, 0.0> }
plane { <0.0, -1.0, 0.0>, 0.0 rotate <42.30, 0.0, 0.0> translate <0.0,
ct1, 0.0> rotate <0.0, 281.25, 0.0> }
plane { <0.0, -1.0, 0.0>, 0.0 rotate <42.30, 0.0, 0.0> translate <0.0,
ct1, 0.0> rotate <0.0, 303.75, 0.0> }
plane { <0.0, -1.0, 0.0>, 0.0 rotate <42.30, 0.0, 0.0> translate <0.0,
ct1, 0.0> rotate <0.0, 326.25, 0.0> }
plane { <0.0, -1.0, 0.0>, 0.0 rotate <42.30, 0.0, 0.0> translate <0.0,
ct1, 0.0> rotate <0.0, 348.75, 0.0> }
// Crown facets C2 -8-
plane { <0.0, -1.0, 0.0>, 0.0 rotate <35.0, 0.0, 0.0> translate <0.0, ct2,
0.0> rotate <0.0, 45.0, 0.0> }
plane { <0.0, -1.0, 0.0>, 0.0 rotate <35.0, 0.0, 0.0> translate <0.0, ct2,
0.0> rotate <0.0, 90.0, 0.0> }
plane { <0.0, -1.0, 0.0>, 0.0 rotate <35.0, 0.0, 0.0> translate <0.0, ct2,
0.0> rotate <0.0, 135.0, 0.0> }
plane { <0.0, -1.0, 0.0>, 0.0 rotate <35.0, 0.0, 0.0> translate <0.0, ct2,
0.0> rotate <0.0, 180.0, 0.0> }
plane { <0.0, -1.0, 0.0>, 0.0 rotate <35.0, 0.0, 0.0> translate <0.0, ct2,
0.0> rotate <0.0, 225.0, 0.0> }
plane { <0.0, -1.0, 0.0>, 0.0 rotate <35.0, 0.0, 0.0> translate <0.0, ct2,
0.0> rotate <0.0, 270.0, 0.0> }
plane { <0.0, -1.0, 0.0>, 0.0 rotate <35.0, 0.0, 0.0> translate <0.0, ct2,
0.0> rotate <0.0, 315.0, 0.0> }
plane { <0.0, -1.0, 0.0>, 0.0 rotate <35.0, 0.0, 0.0> translate <0.0, ct2,
0.0> rotate <0.0, 360.0, 0.0> }
// Crown facets C3 -8-
plane { <0.0, -1.0, 0.0>, 0.0 rotate <19.8, 0.0, 0.0> translate <0.0, ct3,
0.0> rotate <0.0, 22.5, 0.0> }
plane { <0.0, -1.0, 0.0>, 0.0 rotate <19.8, 0.0, 0.0> translate <0.0, ct3,
0.0> rotate <0.0, 67.5, 0.0> }
plane { <0.0, -1.0, 0.0>, 0.0 rotate <19.8, 0.0, 0.0> translate <0.0, ct3,
0.0> rotate <0.0, 112.5, 0.0> }
plane { <0.0, -1.0, 0.0>, 0.0 rotate <19.8, 0.0, 0.0> translate <0.0, ct3,
0.0> rotate <0.0, 157.5, 0.0> }
plane { <0.0, -1.0, 0.0>, 0.0 rotate <19.8, 0.0, 0.0> translate <0.0, ct3,
0.0> rotate <0.0, 202.5, 0.0> }
plane { <0.0, -1.0, 0.0>, 0.0 rotate <19.8, 0.0, 0.0> translate <0.0, ct3,
0.0> rotate <0.0, 247.5, 0.0> }
plane { <0.0, -1.0, 0.0>, 0.0 rotate <19.8, 0.0, 0.0> translate <0.0, ct3,
0.0> rotate <0.0, 292.5, 0.0> }
plane { <0.0, -1.0, 0.0>, 0.0 rotate <19.8, 0.0, 0.0> translate <0.0, ct3,
0.0> rotate <0.0, 337.5, 0.0> }
// Table facet C4
plane { <0.0, -1.0, 0.0>, 0.0 translate <0.0, ct4, 0.0> }
// Pavillion facets p1 -16-
plane { <0.0, 0.0, -1.0>, 0.0 rotate <40.1, 0.0, 0.0> translate <0.0, pt1,
0.0> rotate <0.0, 11.25, 0.0> }
plane { <0.0, 0.0, -1.0>, 0.0 rotate <40.1, 0.0, 0.0> translate <0.0, pt1,
0.0> rotate <0.0, 33.75, 0.0> }
plane { <0.0, 0.0, -1.0>, 0.0 rotate <40.1, 0.0, 0.0> translate <0.0, pt1,
0.0> rotate <0.0, 56.25, 0.0> }
plane { <0.0, 0.0, -1.0>, 0.0 rotate <40.1, 0.0, 0.0> translate <0.0, pt1,
0.0> rotate <0.0, 78.75, 0.0> }
plane { <0.0, 0.0, -1.0>, 0.0 rotate <40.1, 0.0, 0.0> translate <0.0, pt1,
0.0> rotate <0.0, 101.25, 0.0> }
plane { <0.0, 0.0, -1.0>, 0.0 rotate <40.1, 0.0, 0.0> translate <0.0, pt1,
0.0> rotate <0.0, 123.75, 0.0> }
plane { <0.0, 0.0, -1.0>, 0.0 rotate <40.1, 0.0, 0.0> translate <0.0, pt1,
0.0> rotate <0.0, 146.25, 0.0> }
plane { <0.0, 0.0, -1.0>, 0.0 rotate <40.1, 0.0, 0.0> translate <0.0, pt1,
0.0> rotate <0.0, 168.75, 0.0> }
plane { <0.0, 0.0, -1.0>, 0.0 rotate <40.1, 0.0, 0.0> translate <0.0, pt1,
0.0> rotate <0.0, 191.25, 0.0> }
plane { <0.0, 0.0, -1.0>, 0.0 rotate <40.1, 0.0, 0.0> translate <0.0, pt1,
0.0> rotate <0.0, 213.75, 0.0> }
plane { <0.0, 0.0, -1.0>, 0.0 rotate <40.1, 0.0, 0.0> translate <0.0, pt1,
0.0> rotate <0.0, 236.25, 0.0> }
plane { <0.0, 0.0, -1.0>, 0.0 rotate <40.1, 0.0, 0.0> translate <0.0, pt1,
0.0> rotate <0.0, 258.75, 0.0> }
plane { <0.0, 0.0, -1.0>, 0.0 rotate <40.1, 0.0, 0.0> translate <0.0, pt1,
0.0> rotate <0.0, 281.25, 0.0> }
plane { <0.0, 0.0, -1.0>, 0.0 rotate <40.1, 0.0, 0.0> translate <0.0, pt1,
0.0> rotate <0.0, 303.75, 0.0> }
plane { <0.0, 0.0, -1.0>, 0.0 rotate <40.1, 0.0, 0.0> translate <0.0, pt1,
0.0> rotate <0.0, 326.25, 0.0> }
plane { <0.0, 0.0, -1.0>, 0.0 rotate <40.1, 0.0, 0.0> translate <0.0, pt1,
0.0> rotate <0.0, 348.75, 0.0> }
// Pavillion facets p2 -16- edge
plane { <0.0, 1.0, 0.0>, 0.0 translate <0.0, -47.0, 0.0> rotate <90.0,
0.0, 0.0> rotate <0.0, 11.25, 0.0> }
plane { <0.0, 1.0, 0.0>, 0.0 translate <0.0, -47.0, 0.0> rotate <90.0,
0.0, 0.0> rotate <0.0, 33.75, 0.0> }
plane { <0.0, 1.0, 0.0>, 0.0 translate <0.0, -47.0, 0.0> rotate <90.0,
0.0, 0.0> rotate <0.0, 56.25, 0.0> }
plane { <0.0, 1.0, 0.0>, 0.0 translate <0.0, -47.0, 0.0> rotate <90.0,
0.0, 0.0> rotate <0.0, 78.75, 0.0> }
plane { <0.0, 1.0, 0.0>, 0.0 translate <0.0, -47.0, 0.0> rotate <90.0,
0.0, 0.0> rotate <0.0, 101.25, 0.0> }
plane { <0.0, 1.0, 0.0>, 0.0 translate <0.0, -47.0, 0.0> rotate <90.0,
0.0, 0.0> rotate <0.0, 123.75, 0.0> }
plane { <0.0, 1.0, 0.0>, 0.0 translate <0.0, -47.0, 0.0> rotate <90.0,
0.0, 0.0> rotate <0.0, 146.25, 0.0> }
plane { <0.0, 1.0, 0.0>, 0.0 translate <0.0, -47.0, 0.0> rotate <90.0,
0.0, 0.0> rotate <0.0, 168.75, 0.0> }
plane { <0.0, 1.0, 0.0>, 0.0 translate <0.0, -47.0, 0.0> rotate <90.0,
0.0, 0.0> rotate <0.0, 191.25, 0.0> }
plane { <0.0, 1.0, 0.0>, 0.0 translate <0.0, -47.0, 0.0> rotate <90.0,
0.0, 0.0> rotate <0.0, 213.75, 0.0> }
plane { <0.0, 1.0, 0.0>, 0.0 translate <0.0, -47.0, 0.0> rotate <90.0,
0.0, 0.0> rotate <0.0, 236.25, 0.0> }
plane { <0.0, 1.0, 0.0>, 0.0 translate <0.0, -47.0, 0.0> rotate <90.0,
0.0, 0.0> rotate <0.0, 258.75, 0.0> }
plane { <0.0, 1.0, 0.0>, 0.0 translate <0.0, -47.0, 0.0> rotate <90.0,
0.0, 0.0> rotate <0.0, 281.25, 0.0> }
plane { <0.0, 1.0, 0.0>, 0.0 translate <0.0, -47.0, 0.0> rotate <90.0,
0.0, 0.0> rotate <0.0, 303.75, 0.0> }
plane { <0.0, 1.0, 0.0>, 0.0 translate <0.0, -47.0, 0.0> rotate <90.0,
0.0, 0.0> rotate <0.0, 326.25, 0.0> }
plane { <0.0, 1.0, 0.0>, 0.0 translate <0.0, -47.0, 0.0> rotate <90.0,
0.0, 0.0> rotate <0.0, 348.75, 0.0> }
// Pavillion facets p3 -8-
plane { <0.0, 0.0, -1.0>, 0.0 rotate <39.0, 0.0, 0.0> translate <0.0, pt3,
0.0> rotate <0.0, 22.5, 0.0> }
plane { <0.0, 0.0, -1.0>, 0.0 rotate <39.0, 0.0, 0.0> translate <0.0, pt3,
0.0> rotate <0.0, 67.5, 0.0> }
plane { <0.0, 0.0, -1.0>, 0.0 rotate <39.0, 0.0, 0.0> translate <0.0, pt3,
0.0> rotate <0.0, 112.5, 0.0> }
plane { <0.0, 0.0, -1.0>, 0.0 rotate <39.0, 0.0, 0.0> translate <0.0, pt3,
0.0> rotate <0.0, 157.5, 0.0> }
plane { <0.0, 0.0, -1.0>, 0.0 rotate <39.0, 0.0, 0.0> translate <0.0, pt3,
0.0> rotate <0.0, 202.5, 0.0> }
plane { <0.0, 0.0, -1.0>, 0.0 rotate <39.0, 0.0, 0.0> translate <0.0, pt3,
0.0> rotate <0.0, 247.5, 0.0> }
plane { <0.0, 0.0, -1.0>, 0.0 rotate <39.0, 0.0, 0.0> translate <0.0, pt3,
0.0> rotate <0.0, 292.5, 0.0> }
plane { <0.0, 0.0, -1.0>, 0.0 rotate <39.0, 0.0, 0.0> translate <0.0, pt3,
0.0> rotate <0.0, 337.5, 0.0> }
}
object {
srb
material { Diamond1 }
translate <0, 27, 0>
scale <0.02, 0.02, 0.02>
//rotate <0.0, My_Clock, 0.0>
rotate <0.0, 12.5, 0.0>
photons {
target 0.7
refraction on
}
bounded_by { sphere { <0, 0, 0> 1 } }
}
//object {
// Prong
// rotate <0.0, 22.5, 0.0>
//}
//object {
// Prong
// rotate <0.0, 112.5, 0.0>
//}
//object {
// Prong
// rotate <0.0, 202.5, 0.0>
//}
//object {
// Prong
// rotate <0.0, 292.5, 0.0>
//}
Post a reply to this message
|
|