![](/i/fill.gif) |
![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
I did this for a school report on how raytracing works. (I got to pick to
topic.) CSG and a couple sphere_sweep's, textures all from standard
includes. Comments?
Thanks.
- Kevin R.
Post a reply to this message
Attachments:
Download 'raytracing.jpg' (32 KB)
Preview of image 'raytracing.jpg'
![raytracing.jpg](/povray.binaries.images/attachment/%3C3c992e4a%40news.povray.org%3E/raytracing.jpg?preview=1)
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
You should have at least one glass object.. or is the red one glass?
"Kevin R." <$vjr#spam#iggle@mtcn$spam$et.net#> wrote in message
news:3c992e4a@news.povray.org...
> I did this for a school report on how raytracing works. (I got to pick to
> topic.) CSG and a couple sphere_sweep's, textures all from standard
> includes. Comments?
>
> Thanks.
> - Kevin R.
>
>
>
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
> I did this for a school report on how raytracing works. (I got to pick to
> topic.) CSG and a couple sphere_sweep's, textures all from standard
> includes. Comments?
Just one: don't!
I once tried to explain the class what raytracing was and how it works. They
thought it was boring and far too technical. I couldn't have picked a worse
subject to talk about :(
cu!
--
camera{location-z*3}#macro G(b,e)b+(e-b)*(C/50)#end#macro L(b,e,k,l)#local C=0
;#while(C<50)sphere{G(b,e),.1pigment{rgb G(k,l)}finish{ambient 1}}#local C=C+1
;#end#end L(y-x,y,x,x+y)L(y,-x-y,x+y,y)L(-x-y,-y,y,y+z)L(-y,y,y+z,x+y)L(0,x+y,
<.5,1,.5>,x)L(0,x-y,<.5,1,.5>,x) // ZK http://www.povplace.be.tf
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
> I once tried to explain the class what raytracing was and how it works.
They
> thought it was boring and far too technical.
I'm lucky. My art teacher has a math minor. :)
- Kevin R.
"Zeger Knaepen" <zeg### [at] student kuleuven ac be> wrote in message
news:3c993b30$1@news.povray.org...
> > I did this for a school report on how raytracing works. (I got to pick
to
> > topic.) CSG and a couple sphere_sweep's, textures all from standard
> > includes. Comments?
> Just one: don't!
> I once tried to explain the class what raytracing was and how it works.
They
> thought it was boring and far too technical. I couldn't have picked a
worse
> subject to talk about :(
>
> cu!
> --
> camera{location-z*3}#macro G(b,e)b+(e-b)*(C/50)#end#macro L(b,e,k,l)#local
C=0
> ;#while(C<50)sphere{G(b,e),.1pigment{rgb G(k,l)}finish{ambient 1}}#local
C=C+1
> ;#end#end
L(y-x,y,x,x+y)L(y,-x-y,x+y,y)L(-x-y,-y,y,y+z)L(-y,y,y+z,x+y)L(0,x+y,
> <.5,1,.5>,x)L(0,x-y,<.5,1,.5>,x) // ZK
http://www.povplace.be.tf
>
>
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
The red one is glass, although it isn't real obvious. Hmm...
- Kevin R.
"Mahalis" <don### [at] fakey com> wrote in message
news:3c9933eb$1@news.povray.org...
> You should have at least one glass object.. or is the red one glass?
> "Kevin R." <$vjr#spam#iggle@mtcn$spam$et.net#> wrote in message
> news:3c992e4a@news.povray.org...
> > I did this for a school report on how raytracing works. (I got to pick
to
> > topic.) CSG and a couple sphere_sweep's, textures all from standard
> > includes. Comments?
> >
> > Thanks.
> > - Kevin R.
> >
> >
> >
>
>
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
> > I once tried to explain the class what raytracing was and how it works.
> They
> > thought it was boring and far too technical.
> I'm lucky. My art teacher has a math minor. :)
Well... good luck!
cu!
--
camera{location-z*3}#macro G(b,e)b+(e-b)*(C/50)#end#macro L(b,e,k,l)#local C=0
;#while(C<50)sphere{G(b,e),.1pigment{rgb G(k,l)}finish{ambient 1}}#local C=C+1
;#end#end L(y-x,y,x,x+y)L(y,-x-y,x+y,y)L(-x-y,-y,y,y+z)L(-y,y,y+z,x+y)L(0,x+y,
<.5,1,.5>,x)L(0,x-y,<.5,1,.5>,x) // ZK http://www.povplace.be.tf
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
you need at least one chrome sphere
--
Rick
Kitty5 WebDesign - http://Kitty5.com
POV-Ray News & Resources - http://Povray.co.uk
TEL : +44 (01270) 501101 - FAX : +44 (01270) 251105 - ICQ : 15776037
PGP Public Key
http://pgpkeys.mit.edu:11371/pks/lookup?op=get&search=0x231E1CEA
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
> you need at least one chrome sphere
<grin>
- Kevin R.
"Rick [Kitty5]" <ric### [at] kitty5 com> wrote in message
news:3c9a63ac$1@news.povray.org...
>
> you need at least one chrome sphere
>
>
> --
> Rick
>
> Kitty5 WebDesign - http://Kitty5.com
> POV-Ray News & Resources - http://Povray.co.uk
> TEL : +44 (01270) 501101 - FAX : +44 (01270) 251105 - ICQ : 15776037
>
> PGP Public Key
> http://pgpkeys.mit.edu:11371/pks/lookup?op=get&search=0x231E1CEA
>
>
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
> > you need at least one chrome sphere
> <grin>
he is right! Replace the torus from the "a" with a chrome sphere! :)
cu!
--
camera{location-z*3}#macro G(b,e)b+(e-b)*(C/50)#end#macro L(b,e,k,l)#local C=0
;#while(C<50)sphere{G(b,e),.1pigment{rgb G(k,l)}finish{ambient 1}}#local C=C+1
;#end#end L(y-x,y,x,x+y)L(y,-x-y,x+y,y)L(-x-y,-y,y,y+z)L(-y,y,y+z,x+y)L(0,x+y,
<.5,1,.5>,x)L(0,x-y,<.5,1,.5>,x) // ZK http://www.povplace.be.tf
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Not a bad idea, actually... I'd have to retexture the "g", since that's
chrome right now. Hmm... Now I know what I'm doing this weekend! :-)
- Kevin R.
"Zeger Knaepen" <zeg### [at] student kuleuven ac be> wrote in message
news:3c9a65b5$1@news.povray.org...
> > > you need at least one chrome sphere
> > <grin>
> he is right! Replace the torus from the "a" with a chrome sphere! :)
>
> cu!
> --
> camera{location-z*3}#macro G(b,e)b+(e-b)*(C/50)#end#macro L(b,e,k,l)#local
C=0
> ;#while(C<50)sphere{G(b,e),.1pigment{rgb G(k,l)}finish{ambient 1}}#local
C=C+1
> ;#end#end
L(y-x,y,x,x+y)L(y,-x-y,x+y,y)L(-x-y,-y,y,y+z)L(-y,y,y+z,x+y)L(0,x+y,
> <.5,1,.5>,x)L(0,x-y,<.5,1,.5>,x) // ZK
http://www.povplace.be.tf
>
>
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |