POV-Ray : Newsgroups : povray.binaries.scene-files : Req: "Oops!" source code for rails Server Time
7 May 2024 11:14:01 EDT (-0400)
  Req: "Oops!" source code for rails (Message 1 to 7 of 7)  
From: Peter Popov
Subject: Req: "Oops!" source code for rails
Date: 20 Aug 1998 00:15:46
Message: <35db94e2.0@news.povray.org>
There was once a picture in p.b.images called "Oops!" by Eric Freeman (if I
remember correctly, my ng file was killed in a windoze hdd crash...) If you
Mr. Freeman are out there somewhere reading (Hallo! Alpha 1 calling Eric, do
you copy?) could you please tell me how you made those nice rails, sleepers
(?) and bolts? Sharing some source code would be really nice. This would be
of great help for me in doing my subway scene, as I've never seen a subway
(is it just a normal passanger train?)

Thanks in advance.

Regards,

--Peter

pet### [at] usanet


Post a reply to this message

From: Eric Freeman
Subject: Re: "Oops!" source code for rails
Date: 6 Sep 1998 17:18:26
Message: <35f2ee12.0@news.povray.org>
Peter Popov wrote in message <35db94e2.0@news.povray.org>...
>There was once a picture in p.b.images called "Oops!" by Eric Freeman (if I
>remember correctly, my ng file was killed in a windoze hdd crash...) If you
>Mr. Freeman are out there somewhere reading (Hallo! Alpha 1 calling Eric,
do
>you copy?) could you please tell me how you made those nice rails, sleepers
>(?) and bolts? Sharing some source code would be really nice. This would be
>of great help for me in doing my subway scene, as I've never seen a subway
>(is it just a normal passanger train?)
>
>Thanks in advance.
>
>Regards,
>
>--Peter

Hey,

Glad you liked the rails.  I made them with sPatch.  Enclosed is the POV
code generated by sPatch, but if you want the sPatch file, let me know and
I'll post it.

// RAIL CODE ------------------
#declare rail_tex = texture {
  T_Copper_1B
  pigment { LightSteelBlue/2.5 }
 }
#declare rail = object {
union {
 bicubic_patch {
  type 1
  flatness 0
  u_steps 3
  v_steps 3
  <0.000, 1.300, 19.999> <0.000, 1.300, 14.000> <0.000, 1.300, 6.000>
<0.000, 1.300, 0.000>
  <-0.136, 1.300, 19.999> <-0.136, 1.300, 14.000> <-0.136, 1.300, 6.000>
<-0.136, 1.300, 0.000>
  <-0.317, 1.277, 19.999> <-0.317, 1.277, 14.000> <-0.317, 1.277, 6.000>
<-0.317, 1.277, 0.000>
  <-0.450, 1.250, 19.999> <-0.450, 1.250, 14.000> <-0.450, 1.250, 6.000>
<-0.450, 1.250, 0.000>
 }
 bicubic_patch {
  type 1
  flatness 0
  u_steps 3
  v_steps 3
  <0.000, 1.300, 19.999> <0.136, 1.300, 19.999> <0.317, 1.277, 19.999>
<0.450, 1.250, 19.999>
  <0.000, 1.300, 14.000> <0.136, 1.300, 14.000> <0.317, 1.277, 14.000>
<0.450, 1.250, 14.000>
  <0.000, 1.300, 6.000> <0.136, 1.300, 6.000> <0.317, 1.277, 6.000> <0.450,
1.250, 6.000>
  <0.000, 1.300, 0.000> <0.136, 1.300, 0.000> <0.317, 1.277, 0.000> <0.450,
1.250, 0.000>
 }
 bicubic_patch {
  type 1
  flatness 0
  u_steps 3
  v_steps 3
  <0.450, 1.250, 19.999> <0.471, 1.246, 19.999> <0.493, 1.220, 19.999>
<0.500, 1.200, 19.999>
  <0.450, 1.250, 14.000> <0.471, 1.246, 14.000> <0.493, 1.220, 14.000>
<0.500, 1.200, 14.000>
  <0.450, 1.250, 6.000> <0.471, 1.246, 6.000> <0.493, 1.220, 6.000> <0.500,
1.200, 6.000>
  <0.450, 1.250, 0.000> <0.471, 1.246, 0.000> <0.493, 1.220, 0.000> <0.500,
1.200, 0.000>
 }
 bicubic_patch {
  type 1
  flatness 0
  u_steps 3
  v_steps 3
  <0.500, 1.200, 19.999> <0.509, 1.172, 19.999> <0.509, 1.128, 19.999>
<0.500, 1.100, 19.999>
  <0.500, 1.200, 14.000> <0.509, 1.172, 14.000> <0.509, 1.128, 14.000>
<0.500, 1.100, 14.000>
  <0.500, 1.200, 6.000> <0.509, 1.172, 6.000> <0.509, 1.128, 6.000> <0.500,
1.100, 6.000>
  <0.500, 1.200, 0.000> <0.509, 1.172, 0.000> <0.509, 1.128, 0.000> <0.500,
1.100, 0.000>
 }
 bicubic_patch {
  type 1
  flatness 0
  u_steps 3
  v_steps 3
  <0.500, 1.100, 19.999> <0.493, 1.080, 19.999> <0.467, 1.063, 19.999>
<0.450, 1.050, 19.999>
  <0.500, 1.100, 14.000> <0.493, 1.080, 14.000> <0.467, 1.063, 14.000>
<0.450, 1.050, 14.000>
  <0.500, 1.100, 6.000> <0.493, 1.080, 6.000> <0.467, 1.063, 6.000> <0.450,
1.050, 6.000>
  <0.500, 1.100, 0.000> <0.493, 1.080, 0.000> <0.467, 1.063, 0.000> <0.450,
1.050, 0.000>
 }
 bicubic_patch {
  type 1
  flatness 0
  u_steps 3
  v_steps 3
  <0.450, 1.050, 19.999> <0.407, 1.018, 19.999> <0.338, 0.988, 19.999>
<0.300, 0.950, 19.999>
  <0.450, 1.050, 14.000> <0.407, 1.018, 14.000> <0.338, 0.988, 14.000>
<0.300, 0.950, 14.000>
  <0.450, 1.050, 6.000> <0.407, 1.018, 6.000> <0.338, 0.988, 6.000> <0.300,
0.950, 6.000>
  <0.450, 1.050, 0.000> <0.407, 1.018, 0.000> <0.338, 0.988, 0.000> <0.300,
0.950, 0.000>
 }
 bicubic_patch {
  type 1
  flatness 0
  u_steps 3
  v_steps 3
  <0.300, 0.950, 19.999> <0.276, 0.926, 19.999> <0.253, 0.883, 19.999>
<0.250, 0.850, 19.999>
  <0.300, 0.950, 14.000> <0.276, 0.926, 14.000> <0.253, 0.883, 14.000>
<0.250, 0.850, 14.000>
  <0.300, 0.950, 6.000> <0.276, 0.926, 6.000> <0.253, 0.883, 6.000> <0.250,
0.850, 6.000>
  <0.300, 0.950, 0.000> <0.276, 0.926, 0.000> <0.253, 0.883, 0.000> <0.250,
0.850, 0.000>
 }
 bicubic_patch {
  type 1
  flatness 0
  u_steps 3
  v_steps 3
  <0.250, 0.850, 19.999> <0.238, 0.701, 19.999> <0.238, 0.499, 19.999>
<0.250, 0.350, 19.999>
  <0.250, 0.850, 14.000> <0.238, 0.701, 14.000> <0.238, 0.499, 14.000>
<0.250, 0.350, 14.000>
  <0.250, 0.850, 6.000> <0.238, 0.701, 6.000> <0.238, 0.499, 6.000> <0.250,
0.350, 6.000>
  <0.250, 0.850, 0.000> <0.238, 0.701, 0.000> <0.238, 0.499, 0.000> <0.250,
0.350, 0.000>
 }
 bicubic_patch {
  type 1
  flatness 0
  u_steps 3
  v_steps 3
  <0.250, 0.350, 19.999> <0.253, 0.317, 19.999> <0.269, 0.262, 19.999>
<0.300, 0.250, 19.999>
  <0.250, 0.350, 14.000> <0.253, 0.317, 14.000> <0.269, 0.262, 14.000>
<0.300, 0.250, 14.000>
  <0.250, 0.350, 6.000> <0.253, 0.317, 6.000> <0.269, 0.262, 6.000> <0.300,
0.250, 6.000>
  <0.250, 0.350, 0.000> <0.253, 0.317, 0.000> <0.269, 0.262, 0.000> <0.300,
0.250, 0.000>
 }
 bicubic_patch {
  type 1
  flatness 0
  u_steps 3
  v_steps 3
  <0.300, 0.250, 19.999> <0.392, 0.213, 19.999> <0.527, 0.215, 19.999>
<0.625, 0.200, 19.999>
  <0.300, 0.250, 14.000> <0.392, 0.213, 14.000> <0.527, 0.215, 14.000>
<0.625, 0.200, 14.000>
  <0.300, 0.250, 6.000> <0.392, 0.213, 6.000> <0.527, 0.215, 6.000> <0.625,
0.200, 6.000>
  <0.300, 0.250, 0.000> <0.392, 0.213, 0.000> <0.527, 0.215, 0.000> <0.625,
0.200, 0.000>
 }
 bicubic_patch {
  type 1
  flatness 0
  u_steps 3
  v_steps 3
  <0.625, 0.200, 19.999> <0.625, 0.140, 19.999> <0.625, 0.060, 19.999>
<0.625, 0.000, 19.999>
  <0.625, 0.200, 14.000> <0.625, 0.140, 14.000> <0.625, 0.060, 14.000>
<0.625, 0.000, 14.000>
  <0.625, 0.200, 6.000> <0.625, 0.140, 6.000> <0.625, 0.060, 6.000> <0.625,
0.000, 6.000>
  <0.625, 0.200, 0.000> <0.625, 0.140, 0.000> <0.625, 0.060, 0.000> <0.625,
0.000, 0.000>
 }
 bicubic_patch {
  type 1
  flatness 0
  u_steps 3
  v_steps 3
  <0.625, 0.000, 19.999> <0.250, 0.000, 19.999> <-0.250, 0.000, 19.999>
<-0.625, 0.000, 19.999>
  <0.625, 0.000, 14.000> <0.250, 0.000, 14.000> <-0.250, 0.000, 14.000>
<-0.625, 0.000, 14.000>
  <0.625, 0.000, 6.000> <0.250, 0.000, 6.000> <-0.250, 0.000, 6.000>
<-0.625, 0.000, 6.000>
  <0.625, 0.000, 0.000> <0.250, 0.000, 0.000> <-0.250, 0.000, 0.000>
<-0.625, 0.000, 0.000>
 }
 bicubic_patch {
  type 1
  flatness 0
  u_steps 3
  v_steps 3
  <-0.625, 0.000, 19.999> <-0.625, 0.060, 19.999> <-0.625, 0.140, 19.999>
<-0.625, 0.200, 19.999>
  <-0.625, 0.000, 14.000> <-0.625, 0.060, 14.000> <-0.625, 0.140, 14.000>
<-0.625, 0.200, 14.000>
  <-0.625, 0.000, 6.000> <-0.625, 0.060, 6.000> <-0.625, 0.140, 6.000>
<-0.625, 0.200, 6.000>
  <-0.625, 0.000, 0.000> <-0.625, 0.060, 0.000> <-0.625, 0.140, 0.000>
<-0.625, 0.200, 0.000>
 }
 bicubic_patch {
  type 1
  flatness 0
  u_steps 3
  v_steps 3
  <-0.625, 0.200, 19.999> <-0.527, 0.215, 19.999> <-0.392, 0.213, 19.999>
<-0.300, 0.250, 19.999>
  <-0.625, 0.200, 14.000> <-0.527, 0.215, 14.000> <-0.392, 0.213, 14.000>
<-0.300, 0.250, 14.000>
  <-0.625, 0.200, 6.000> <-0.527, 0.215, 6.000> <-0.392, 0.213, 6.000>
<-0.300, 0.250, 6.000>
  <-0.625, 0.200, 0.000> <-0.527, 0.215, 0.000> <-0.392, 0.213, 0.000>
<-0.300, 0.250, 0.000>
 }
 bicubic_patch {
  type 1
  flatness 0
  u_steps 3
  v_steps 3
  <-0.300, 0.250, 19.999> <-0.269, 0.262, 19.999> <-0.253, 0.317, 19.999>
<-0.250, 0.350, 19.999>
  <-0.300, 0.250, 14.000> <-0.269, 0.262, 14.000> <-0.253, 0.317, 14.000>
<-0.250, 0.350, 14.000>
  <-0.300, 0.250, 6.000> <-0.269, 0.262, 6.000> <-0.253, 0.317, 6.000>
<-0.250, 0.350, 6.000>
  <-0.300, 0.250, 0.000> <-0.269, 0.262, 0.000> <-0.253, 0.317, 0.000>
<-0.250, 0.350, 0.000>
 }
 bicubic_patch {
  type 1
  flatness 0
  u_steps 3
  v_steps 3
  <-0.250, 0.350, 19.999> <-0.238, 0.499, 19.999> <-0.238, 0.701, 19.999>
<-0.250, 0.850, 19.999>
  <-0.250, 0.350, 14.000> <-0.238, 0.499, 14.000> <-0.238, 0.701, 14.000>
<-0.250, 0.850, 14.000>
  <-0.250, 0.350, 6.000> <-0.238, 0.499, 6.000> <-0.238, 0.701, 6.000>
<-0.250, 0.850, 6.000>
  <-0.250, 0.350, 0.000> <-0.238, 0.499, 0.000> <-0.238, 0.701, 0.000>
<-0.250, 0.850, 0.000>
 }
 bicubic_patch {
  type 1
  flatness 0
  u_steps 3
  v_steps 3
  <-0.250, 0.850, 19.999> <-0.253, 0.883, 19.999> <-0.276, 0.926, 19.999>
<-0.300, 0.950, 19.999>
  <-0.250, 0.850, 14.000> <-0.253, 0.883, 14.000> <-0.276, 0.926, 14.000>
<-0.300, 0.950, 14.000>
  <-0.250, 0.850, 6.000> <-0.253, 0.883, 6.000> <-0.276, 0.926, 6.000>
<-0.300, 0.950, 6.000>
  <-0.250, 0.850, 0.000> <-0.253, 0.883, 0.000> <-0.276, 0.926, 0.000>
<-0.300, 0.950, 0.000>
 }
 bicubic_patch {
  type 1
  flatness 0
  u_steps 3
  v_steps 3
  <-0.300, 0.950, 19.999> <-0.338, 0.988, 19.999> <-0.407, 1.018, 19.999>
<-0.450, 1.050, 19.999>
  <-0.300, 0.950, 14.000> <-0.338, 0.988, 14.000> <-0.407, 1.018, 14.000>
<-0.450, 1.050, 14.000>
  <-0.300, 0.950, 6.000> <-0.338, 0.988, 6.000> <-0.407, 1.018, 6.000>
<-0.450, 1.050, 6.000>
  <-0.300, 0.950, 0.000> <-0.338, 0.988, 0.000> <-0.407, 1.018, 0.000>
<-0.450, 1.050, 0.000>
 }
 bicubic_patch {
  type 1
  flatness 0
  u_steps 3
  v_steps 3
  <-0.450, 1.050, 19.999> <-0.467, 1.063, 19.999> <-0.493, 1.080, 19.999>
<-0.500, 1.100, 19.999>
  <-0.450, 1.050, 14.000> <-0.467, 1.063, 14.000> <-0.493, 1.080, 14.000>
<-0.500, 1.100, 14.000>
  <-0.450, 1.050, 6.000> <-0.467, 1.063, 6.000> <-0.493, 1.080, 6.000>
<-0.500, 1.100, 6.000>
  <-0.450, 1.050, 0.000> <-0.467, 1.063, 0.000> <-0.493, 1.080, 0.000>
<-0.500, 1.100, 0.000>
 }
 bicubic_patch {
  type 1
  flatness 0
  u_steps 3
  v_steps 3
  <-0.500, 1.100, 19.999> <-0.509, 1.128, 19.999> <-0.509, 1.172, 19.999>
<-0.500, 1.200, 19.999>
  <-0.500, 1.100, 14.000> <-0.509, 1.128, 14.000> <-0.509, 1.172, 14.000>
<-0.500, 1.200, 14.000>
  <-0.500, 1.100, 6.000> <-0.509, 1.128, 6.000> <-0.509, 1.172, 6.000>
<-0.500, 1.200, 6.000>
  <-0.500, 1.100, 0.000> <-0.509, 1.128, 0.000> <-0.509, 1.172, 0.000>
<-0.500, 1.200, 0.000>
 }
 bicubic_patch {
  type 1
  flatness 0
  u_steps 3
  v_steps 3
  <-0.500, 1.200, 19.999> <-0.493, 1.220, 19.999> <-0.471, 1.246, 19.999>
<-0.450, 1.250, 19.999>
  <-0.500, 1.200, 14.000> <-0.493, 1.220, 14.000> <-0.471, 1.246, 14.000>
<-0.450, 1.250, 14.000>
  <-0.500, 1.200, 6.000> <-0.493, 1.220, 6.000> <-0.471, 1.246, 6.000>
<-0.450, 1.250, 6.000>
  <-0.500, 1.200, 0.000> <-0.493, 1.220, 0.000> <-0.471, 1.246, 0.000>
<-0.450, 1.250, 0.000>
 }
 bicubic_patch {
  type 1
  flatness 0
  u_steps 3
  v_steps 3
  <0.000, 1.300, 20.000> <0.000, 1.300, 20.000> <0.000, 1.300, 20.000>
<0.000, 1.300, 20.000>
  <-0.136, 1.300, 20.000> <0.000, 1.300, 20.000> <0.000, 1.300, 20.000>
<0.136, 1.300, 20.000>
  <-0.317, 1.277, 20.000> <-0.047, 1.277, 20.000> <0.047, 1.277, 20.000>
<0.317, 1.277, 20.000>
  <-0.450, 1.250, 20.000> <-0.180, 1.250, 20.000> <0.180, 1.250, 20.000>
<0.450, 1.250, 20.000>
 }
 bicubic_patch {
  type 1
  flatness 0
  u_steps 3
  v_steps 3
  <-0.625, 0.000, 20.000> <-0.625, 0.060, 20.000> <-0.625, 0.140, 20.000>
<-0.625, 0.200, 20.000>
  <-0.250, 0.000, 20.000> <-0.250, 0.060, 20.000> <-0.250, 0.140, 20.000>
<-0.250, 0.200, 20.000>
  <0.250, 0.000, 20.000> <0.250, 0.060, 20.000> <0.250, 0.140, 20.000>
<0.250, 0.200, 20.000>
  <0.625, 0.000, 20.000> <0.625, 0.060, 20.000> <0.625, 0.140, 20.000>
<0.625, 0.200, 20.000>
 }
 bicubic_patch {
  type 1
  flatness 0
  u_steps 3
  v_steps 3
  <-0.625, 0.000, 20.000> <-0.625, 0.000, 20.000> <-0.625, 0.000, 20.000>
<-0.625, 0.000, 20.000>
  <-0.625, 0.060, 20.000> <-0.250, 0.060, 20.000> <-0.250, 0.060, 20.000>
<-0.250, 0.000, 20.000>
  <-0.625, 0.140, 20.000> <-0.250, 0.080, 20.000> <-0.125, 0.060, 20.000>
<0.250, 0.000, 20.000>
  <-0.625, 0.200, 20.000> <-0.250, 0.140, 20.000> <0.250, 0.060, 20.000>
<0.625, 0.000, 20.000>
 }
 bicubic_patch {
  type 1
  flatness 0
  u_steps 3
  v_steps 3
  <0.625, 0.000, 20.000> <0.625, 0.000, 20.000> <0.625, 0.000, 20.000>
<0.625, 0.000, 20.000>
  <0.250, 0.060, 20.000> <0.250, 0.120, 20.000> <0.250, 0.120, 20.000>
<0.625, 0.060, 20.000>
  <-0.250, 0.140, 20.000> <0.125, 0.140, 20.000> <0.250, 0.140, 20.000>
<0.625, 0.140, 20.000>
  <-0.625, 0.200, 20.000> <-0.250, 0.200, 20.000> <0.250, 0.200, 20.000>
<0.625, 0.200, 20.000>
 }
 bicubic_patch {
  type 1
  flatness 0
  u_steps 3
  v_steps 3
  <-0.625, 0.200, 20.000> <-0.527, 0.215, 20.000> <-0.392, 0.213, 20.000>
<-0.300, 0.250, 20.000>
  <-0.250, 0.200, 20.000> <-0.152, 0.215, 20.000> <-0.212, 0.213, 20.000>
<-0.120, 0.250, 20.000>
  <0.250, 0.200, 20.000> <0.152, 0.215, 20.000> <0.212, 0.213, 20.000>
<0.120, 0.250, 20.000>
  <0.625, 0.200, 20.000> <0.527, 0.215, 20.000> <0.392, 0.213, 20.000>
<0.300, 0.250, 20.000>
 }
 bicubic_patch {
  type 1
  flatness 0
  u_steps 3
  v_steps 3
  <-0.300, 0.250, 20.000> <-0.269, 0.262, 20.000> <-0.253, 0.317, 20.000>
<-0.250, 0.350, 20.000>
  <-0.120, 0.250, 20.000> <-0.089, 0.262, 20.000> <-0.103, 0.317, 20.000>
<-0.100, 0.350, 20.000>
  <0.120, 0.250, 20.000> <0.089, 0.262, 20.000> <0.103, 0.317, 20.000>
<0.100, 0.350, 20.000>
  <0.300, 0.250, 20.000> <0.269, 0.262, 20.000> <0.253, 0.317, 20.000>
<0.250, 0.350, 20.000>
 }
 bicubic_patch {
  type 1
  flatness 0
  u_steps 3
  v_steps 3
  <-0.250, 0.350, 20.000> <-0.238, 0.499, 20.000> <-0.238, 0.701, 20.000>
<-0.250, 0.850, 20.000>
  <-0.100, 0.350, 20.000> <-0.088, 0.499, 20.000> <-0.088, 0.701, 20.000>
<-0.100, 0.850, 20.000>
  <0.100, 0.350, 20.000> <0.088, 0.499, 20.000> <0.088, 0.701, 20.000>
<0.100, 0.850, 20.000>
  <0.250, 0.350, 20.000> <0.238, 0.499, 20.000> <0.238, 0.701, 20.000>
<0.250, 0.850, 20.000>
 }
 bicubic_patch {
  type 1
  flatness 0
  u_steps 3
  v_steps 3
  <-0.250, 0.850, 20.000> <-0.253, 0.883, 20.000> <-0.276, 0.926, 20.000>
<-0.300, 0.950, 20.000>
  <-0.100, 0.850, 20.000> <-0.103, 0.883, 20.000> <-0.096, 0.926, 20.000>
<-0.120, 0.950, 20.000>
  <0.100, 0.850, 20.000> <0.103, 0.883, 20.000> <0.096, 0.926, 20.000>
<0.120, 0.950, 20.000>
  <0.250, 0.850, 20.000> <0.253, 0.883, 20.000> <0.276, 0.926, 20.000>
<0.300, 0.950, 20.000>
 }
 bicubic_patch {
  type 1
  flatness 0
  u_steps 3
  v_steps 3
  <-0.300, 0.950, 20.000> <-0.338, 0.988, 20.000> <-0.407, 1.018, 20.000>
<-0.450, 1.050, 20.000>
  <-0.120, 0.950, 20.000> <-0.158, 0.988, 20.000> <-0.137, 1.018, 20.000>
<-0.180, 1.050, 20.000>
  <0.120, 0.950, 20.000> <0.158, 0.988, 20.000> <0.137, 1.018, 20.000>
<0.180, 1.050, 20.000>
  <0.300, 0.950, 20.000> <0.338, 0.988, 20.000> <0.407, 1.018, 20.000>
<0.450, 1.050, 20.000>
 }
 bicubic_patch {
  type 1
  flatness 0
  u_steps 3
  v_steps 3
  <-0.450, 1.050, 20.000> <-0.467, 1.063, 20.000> <-0.493, 1.080, 20.000>
<-0.500, 1.100, 20.000>
  <-0.180, 1.050, 20.000> <-0.197, 1.063, 20.000> <-0.193, 1.080, 20.000>
<-0.200, 1.100, 20.000>
  <0.180, 1.050, 20.000> <0.197, 1.063, 20.000> <0.193, 1.080, 20.000>
<0.200, 1.100, 20.000>
  <0.450, 1.050, 20.000> <0.467, 1.063, 20.000> <0.493, 1.080, 20.000>
<0.500, 1.100, 20.000>
 }
 bicubic_patch {
  type 1
  flatness 0
  u_steps 3
  v_steps 3
  <-0.500, 1.100, 20.000> <-0.509, 1.128, 20.000> <-0.509, 1.172, 20.000>
<-0.500, 1.200, 20.000>
  <-0.200, 1.100, 20.000> <-0.209, 1.128, 20.000> <-0.209, 1.172, 20.000>
<-0.200, 1.200, 20.000>
  <0.200, 1.100, 20.000> <0.209, 1.128, 20.000> <0.209, 1.172, 20.000>
<0.200, 1.200, 20.000>
  <0.500, 1.100, 20.000> <0.509, 1.128, 20.000> <0.509, 1.172, 20.000>
<0.500, 1.200, 20.000>
 }
 bicubic_patch {
  type 1
  flatness 0
  u_steps 3
  v_steps 3
  <-0.500, 1.200, 20.000> <-0.493, 1.220, 20.000> <-0.471, 1.246, 20.000>
<-0.450, 1.250, 20.000>
  <-0.200, 1.200, 20.000> <-0.193, 1.220, 20.000> <-0.201, 1.246, 20.000>
<-0.180, 1.250, 20.000>
  <0.200, 1.200, 20.000> <0.193, 1.220, 20.000> <0.201, 1.246, 20.000>
<0.180, 1.250, 20.000>
  <0.500, 1.200, 20.000> <0.493, 1.220, 20.000> <0.471, 1.246, 20.000>
<0.450, 1.250, 20.000>
 }
 bicubic_patch {
  type 1
  flatness 0
  u_steps 3
  v_steps 3
  <0.000, 1.300, 0.000> <0.000, 1.300, 0.000> <0.000, 1.300, 0.000> <0.000,
1.300, 0.000>
  <-0.136, 1.300, 0.000> <0.000, 1.300, 0.000> <0.000, 1.300, 0.000> <0.136,
1.300, 0.000>
  <-0.317, 1.277, 0.000> <-0.047, 1.277, 0.000> <0.047, 1.277, 0.000>
<0.317, 1.277, 0.000>
  <-0.450, 1.250, 0.000> <-0.180, 1.250, 0.000> <0.180, 1.250, 0.000>
<0.450, 1.250, 0.000>
 }
 bicubic_patch {
  type 1
  flatness 0
  u_steps 3
  v_steps 3
  <-0.625, 0.000, 0.000> <-0.625, 0.060, 0.000> <-0.625, 0.140, 0.000>
<-0.625, 0.200, 0.000>
  <-0.250, 0.000, 0.000> <-0.250, 0.060, 0.000> <-0.250, 0.140, 0.000>
<-0.250, 0.200, 0.000>
  <0.250, 0.000, 0.000> <0.250, 0.060, 0.000> <0.250, 0.140, 0.000> <0.250,
0.200, 0.000>
  <0.625, 0.000, 0.000> <0.625, 0.060, 0.000> <0.625, 0.140, 0.000> <0.625,
0.200, 0.000>
 }
 bicubic_patch {
  type 1
  flatness 0
  u_steps 3
  v_steps 3
  <-0.625, 0.000, 0.000> <-0.625, 0.000, 0.000> <-0.625, 0.000, 0.000>
<-0.625, 0.000, 0.000>
  <-0.625, 0.060, 0.000> <-0.250, 0.060, 0.000> <-0.250, 0.060, 0.000>
<-0.250, 0.000, 0.000>
  <-0.625, 0.140, 0.000> <-0.250, 0.080, 0.000> <-0.125, 0.060, 0.000>
<0.250, 0.000, 0.000>
  <-0.625, 0.200, 0.000> <-0.250, 0.140, 0.000> <0.250, 0.060, 0.000>
<0.625, 0.000, 0.000>
 }
 bicubic_patch {
  type 1
  flatness 0
  u_steps 3
  v_steps 3
  <0.625, 0.000, 0.000> <0.625, 0.000, 0.000> <0.625, 0.000, 0.000> <0.625,
0.000, 0.000>
  <0.250, 0.060, 0.000> <0.250, 0.120, 0.000> <0.250, 0.120, 0.000> <0.625,
0.060, 0.000>
  <-0.250, 0.140, 0.000> <0.125, 0.140, 0.000> <0.250, 0.140, 0.000> <0.625,
0.140, 0.000>
  <-0.625, 0.200, 0.000> <-0.250, 0.200, 0.000> <0.250, 0.200, 0.000>
<0.625, 0.200, 0.000>
 }
 bicubic_patch {
  type 1
  flatness 0
  u_steps 3
  v_steps 3
  <-0.625, 0.200, 0.000> <-0.527, 0.215, 0.000> <-0.392, 0.213, 0.000>
<-0.300, 0.250, 0.000>
  <-0.250, 0.200, 0.000> <-0.152, 0.215, 0.000> <-0.212, 0.213, 0.000>
<-0.120, 0.250, 0.000>
  <0.250, 0.200, 0.000> <0.152, 0.215, 0.000> <0.212, 0.213, 0.000> <0.120,
0.250, 0.000>
  <0.625, 0.200, 0.000> <0.527, 0.215, 0.000> <0.392, 0.213, 0.000> <0.300,
0.250, 0.000>
 }
 bicubic_patch {
  type 1
  flatness 0
  u_steps 3
  v_steps 3
  <-0.300, 0.250, 0.000> <-0.269, 0.262, 0.000> <-0.253, 0.317, 0.000>
<-0.250, 0.350, 0.000>
  <-0.120, 0.250, 0.000> <-0.089, 0.262, 0.000> <-0.103, 0.317, 0.000>
<-0.100, 0.350, 0.000>
  <0.120, 0.250, 0.000> <0.089, 0.262, 0.000> <0.103, 0.317, 0.000> <0.100,
0.350, 0.000>
  <0.300, 0.250, 0.000> <0.269, 0.262, 0.000> <0.253, 0.317, 0.000> <0.250,
0.350, 0.000>
 }
 bicubic_patch {
  type 1
  flatness 0
  u_steps 3
  v_steps 3
  <-0.250, 0.350, 0.000> <-0.238, 0.499, 0.000> <-0.238, 0.701, 0.000>
<-0.250, 0.850, 0.000>
  <-0.100, 0.350, 0.000> <-0.088, 0.499, 0.000> <-0.088, 0.701, 0.000>
<-0.100, 0.850, 0.000>
  <0.100, 0.350, 0.000> <0.088, 0.499, 0.000> <0.088, 0.701, 0.000> <0.100,
0.850, 0.000>
  <0.250, 0.350, 0.000> <0.238, 0.499, 0.000> <0.238, 0.701, 0.000> <0.250,
0.850, 0.000>
 }
 bicubic_patch {
  type 1
  flatness 0
  u_steps 3
  v_steps 3
  <-0.250, 0.850, 0.000> <-0.253, 0.883, 0.000> <-0.276, 0.926, 0.000>
<-0.300, 0.950, 0.000>
  <-0.100, 0.850, 0.000> <-0.103, 0.883, 0.000> <-0.096, 0.926, 0.000>
<-0.120, 0.950, 0.000>
  <0.100, 0.850, 0.000> <0.103, 0.883, 0.000> <0.096, 0.926, 0.000> <0.120,
0.950, 0.000>
  <0.250, 0.850, 0.000> <0.253, 0.883, 0.000> <0.276, 0.926, 0.000> <0.300,
0.950, 0.000>
 }
 bicubic_patch {
  type 1
  flatness 0
  u_steps 3
  v_steps 3
  <-0.300, 0.950, 0.000> <-0.338, 0.988, 0.000> <-0.407, 1.018, 0.000>
<-0.450, 1.050, 0.000>
  <-0.120, 0.950, 0.000> <-0.158, 0.988, 0.000> <-0.137, 1.018, 0.000>
<-0.180, 1.050, 0.000>
  <0.120, 0.950, 0.000> <0.158, 0.988, 0.000> <0.137, 1.018, 0.000> <0.180,
1.050, 0.000>
  <0.300, 0.950, 0.000> <0.338, 0.988, 0.000> <0.407, 1.018, 0.000> <0.450,
1.050, 0.000>
 }
 bicubic_patch {
  type 1
  flatness 0
  u_steps 3
  v_steps 3
  <-0.450, 1.050, 0.000> <-0.467, 1.063, 0.000> <-0.493, 1.080, 0.000>
<-0.500, 1.100, 0.000>
  <-0.180, 1.050, 0.000> <-0.197, 1.063, 0.000> <-0.193, 1.080, 0.000>
<-0.200, 1.100, 0.000>
  <0.180, 1.050, 0.000> <0.197, 1.063, 0.000> <0.193, 1.080, 0.000> <0.200,
1.100, 0.000>
  <0.450, 1.050, 0.000> <0.467, 1.063, 0.000> <0.493, 1.080, 0.000> <0.500,
1.100, 0.000>
 }
 bicubic_patch {
  type 1
  flatness 0
  u_steps 3
  v_steps 3
  <-0.500, 1.100, 0.000> <-0.509, 1.128, 0.000> <-0.509, 1.172, 0.000>
<-0.500, 1.200, 0.000>
  <-0.200, 1.100, 0.000> <-0.209, 1.128, 0.000> <-0.209, 1.172, 0.000>
<-0.200, 1.200, 0.000>
  <0.200, 1.100, 0.000> <0.209, 1.128, 0.000> <0.209, 1.172, 0.000> <0.200,
1.200, 0.000>
  <0.500, 1.100, 0.000> <0.509, 1.128, 0.000> <0.509, 1.172, 0.000> <0.500,
1.200, 0.000>
 }
 bicubic_patch {
  type 1
  flatness 0
  u_steps 3
  v_steps 3
  <-0.500, 1.200, 0.000> <-0.493, 1.220, 0.000> <-0.471, 1.246, 0.000>
<-0.450, 1.250, 0.000>
  <-0.200, 1.200, 0.000> <-0.193, 1.220, 0.000> <-0.201, 1.246, 0.000>
<-0.180, 1.250, 0.000>
  <0.200, 1.200, 0.000> <0.193, 1.220, 0.000> <0.201, 1.246, 0.000> <0.180,
1.250, 0.000>
  <0.500, 1.200, 0.000> <0.493, 1.220, 0.000> <0.471, 1.246, 0.000> <0.450,
1.250, 0.000>
 }
  texture { rail_tex }
}
}
// END RAIL CODE

The spikes are just flattened spheres:
#declare spike = sphere {
  < 0, 0, 0 >
  0.07
  scale <2.5, 1, 2.5 >
  translate < -0.6, tie_y+plate_y+0.07, 0 >
}

Eric

--------------------------------
http://www.geocities.com/SiliconValley/Heights/2354/
http://www.datasync.com/~reba/


Post a reply to this message

From: Peter Popov
Subject: Re: "Oops!" source code for rails
Date: 6 Sep 1998 19:03:56
Message: <35f306cc.0@news.povray.org>
Eric Freeman wrote in message <35f2ee12.0@news.povray.org>...
>Peter Popov wrote in message <35db94e2.0@news.povray.org>...

>Hey,
>
>Glad you liked the rails.  I made them with sPatch.  Enclosed is the POV
>code generated by sPatch, but if you want the sPatch file, let me know and
>I'll post it.
>
> <code>
>Eric
>
>--------------------------------
>http://www.geocities.com/SiliconValley/Heights/2354/
>http://www.datasync.com/~reba/
>


Thanks. Once I get VC++ 5.0 to compile POV with the bugfix for normal
average... } I'll get back to this scene. And, yes, can you send me the
.spt, please (zipped)? TIA.

Regards,

Peter


Post a reply to this message

From: Eric Freeman
Subject: Re: "Oops!" source code for rails
Date: 9 Sep 1998 01:59:53
Message: <35f60b49.0@news.povray.org>
Peter Popov wrote in message <35f306cc.0@news.povray.org>...
>Thanks. Once I get VC++ 5.0 to compile POV with the bugfix for normal
>average... } I'll get back to this scene. And, yes, can you send me the
>.spt, please (zipped)? TIA.

Here's the sPatch file for the rail... as it is only 8k I didn't zip it.

Eric

--------------------------------
http://www.geocities.com/SiliconValley/Heights/2354/
http://www.datasync.com/~reba/


Post a reply to this message


Attachments:
Download 'rail2.spt.txt' (9 KB)

From: Ken
Subject: Re: "Oops!" source code for rails
Date: 9 Sep 1998 02:04:18
Message: <35F60BD2.FEF31DF6@pacbell.net>
Eric Freeman wrote:

> Hey,
>
> Glad you liked the rails.  I made them with sPatch.  Enclosed is the POV
> code generated by sPatch, but if you want the sPatch file, let me know and
> I'll post it.
>

I rendered the rails and agree they are very realistic looking.
May I obtain your permission to use them in a train tunnel I
have been working on ?

Ken


Post a reply to this message

From: Eric Freeman
Subject: Re: "Oops!" source code for rails
Date: 10 Sep 1998 08:54:24
Message: <35f7bdf0.0@news.povray.org>
Ken wrote in message <35F60BD2.FEF31DF6@pacbell.net>...
>I rendered the rails and agree they are very realistic looking.
>May I obtain your permission to use them in a train tunnel I
>have been working on ?
>
>Ken

Sure.  Could u post the final image to binaries.images???

Eric

--------------------------------
http://www.geocities.com/SiliconValley/Heights/2354/
http://www.datasync.com/~reba/


Post a reply to this message

From: Ken
Subject: Re: "Oops!" source code for rails
Date: 10 Sep 1998 09:02:22
Message: <35F7BF4C.827F05C5@pacbell.net>
Eric Freeman wrote:

> Sure.  Could u post the final image to binaries.images???
>
> Eric

Yes Sir !

Ken


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.