POV-Ray : Newsgroups : povray.text.scene-files : Metal texture Server Time
28 Jul 2024 14:19:06 EDT (-0400)
  Metal texture (Message 1 to 6 of 6)  
From: Chris Huff
Subject: Metal texture
Date: 2 Jan 2000 13:05:39
Message: <chrishuff_99-48FC49.13054102012000@news.povray.org>
// Persistence of Vision Ray Tracer Scene Description File
// File: Metal Texture.pov
// Vers: 3.1
// Desc: a demo of a metal texture for nuts and bolts
// Date: 1/2/2000
// Auth: Chris Huff
//*******************************************
#include "colors.inc"
#version 3.1;

#declare groundPlane = yes;
//-------------------------------------------
global_settings {
   assumed_gamma 1.8
}
background {
   color rgb < 0.870000, 0.870000, 0.870000 > 
}
camera {
   location < 4, 5, -8>*2
   look_at < 0, 0, 0>
   angle 30
}
#if(groundPlane = yes)
   plane {y, 0
      texture {
         pigment {checker color White color rgb < 0, 0, 0.15>}
         finish {
            diffuse 0.7
            ambient 0.30
            reflection 0.2
         }
         scale 3
      }
   }
#end

//*******************************************
#declare MetalTex =
texture {
   pigment {bozo
      color_map {
         [0 color rgb < 1, 0.9, 0.85>]
         [0.5 color rgb < 1, 0.9, 0.85>]
         [1 color White]
      }
      turbulence 0.2
      scale 2
   }
   finish {
      specular 0.4
      metallic
      reflect_metallic
      reflection 0.15
      irid {0.25
         thickness 0.5
         turbulence 1
      }
      diffuse 0.6
//    brilliance 1.0
   }
   normal {agate 0.1
      scale 0.25
   }
}

difference {
   intersection {
      box {<-10,-2.5,-5>, < 10, 2.5, 5>}
      box {<-10,-3,-5>, < 10, 3, 5> rotate -y*60}
      box {<-10,-3,-5>, < 10, 3, 5> rotate y*60}
      sphere {< 0, 0, 0>, sqrt(50)-0.1 scale <1, 0.5, 1>}
   }
   union {
      cylinder {< 0,-3, 0>, < 0, 3, 0>, 2.5}
   }
   texture {MetalTex}
   translate y*2.5
   scale 0.5
   rotate y*35
}
//*******************************************

light_source {<-10, 50,-40>*100 color White }

//-------------------------------------------

-- 
Chris Huff
e-mail: chr### [at] yahoocom
Web page: http://chrishuff.dhs.org/


Post a reply to this message

From: omniVERSE
Subject: Re: Metal texture
Date: 2 Jan 2000 18:20:31
Message: <386fdd3f@news.povray.org>
Should always get the correct version into such files so people realize
which it needs, something like what I threw into the header below.

Bob

"Chris Huff" <chr### [at] yahoocom> wrote in message
news:chrishuff_99-48FC49.13054102012000@news.povray.org...
> // Persistence of Vision Ray Tracer Scene Description File
> // File: Metal Texture.pov
> // Vers: MegaPOV 0.3
> // Desc: a demo of a metal texture for nuts and bolts
> // Date: 1/2/2000
> // Auth: Chris Huff
>


Post a reply to this message

From: Ken
Subject: Re: Metal texture
Date: 2 Jan 2000 19:10:49
Message: <386FE7B2.98D12203@pacbell.net>
omniVERSE wrote:
> 
> Should always get the correct version into such files so people realize
> which it needs, something like what I threw into the header below.
> 
> Bob

 It would be safer to presume that everyone uses the official version in
which case it should be explicitly identified as needing a patched version
of POV-Ray to render correctly. See correction below -
 
// Vers: Requires the MegaPOV 0.3 patched version of POV-Ray

But I pick nits...

-- 
Ken Tyler -  1300+ Povray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/


Post a reply to this message

From: Chris Huff
Subject: Re: Metal texture
Date: 2 Jan 2000 19:15:38
Message: <chrishuff_99-524EE5.19154102012000@news.povray.org>
In article <386FE7B2.98D12203@pacbell.net>, lin### [at] povrayorg 
wrote:

>  It would be safer to presume that everyone uses the official version in
> which case it should be explicitly identified as needing a patched version
> of POV-Ray to render correctly. See correction below -
>  
> // Vers: Requires the MegaPOV 0.3 patched version of POV-Ray
> 
> But I pick nits...

I was actually trying to keep it within official POV-Ray, not sure 
exactly how reflect_metallic slipped past. :-)

-- 
Chris Huff
e-mail: chr### [at] yahoocom
Web page: http://chrishuff.dhs.org/


Post a reply to this message

From: Ken
Subject: Re: Metal texture
Date: 2 Jan 2000 19:22:45
Message: <386FEA7C.A65BDFCB@pacbell.net>
Chris Huff wrote:

> I was actually trying to keep it within official POV-Ray, not sure
> exactly how reflect_metallic slipped past. :-)

Chris,

 I have seen the warning signs building in you for a couple of months
and now I am sure of it. You have become a patchaholic. It is not too
late to seek professional guidance...

-- 
Ken Tyler -  1300+ Povray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/


Post a reply to this message

From: Jon A  Cruz
Subject: Re: Metal texture
Date: 2 Jan 2000 21:36:03
Message: <38700C0B.727490E1@geocities.com>
Ken wrote:

> Chris Huff wrote:
>
> > I was actually trying to keep it within official POV-Ray, not sure
> > exactly how reflect_metallic slipped past. :-)
>
> Chris,
>
>  I have seen the warning signs building in you for a couple of months
> and now I am sure of it. You have become a patchaholic. It is not too
> late to seek professional guidance...
>

I noticed that too. Ken, please explain to him how he's supposed to change
POV-Ray script and run the program, not the other way around.

--
"My new computer's got the clocks, it rocks
But it was obsolete before I opened the box" - W.A.Y.


Post a reply to this message

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