POV-Ray : Newsgroups : povray.binaries.images : Wood screws, redux Server Time
2 Aug 2024 20:16:23 EDT (-0400)
  Wood screws, redux (Message 11 to 17 of 17)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Trevor G Quayle
Subject: Re: Wood screws, redux
Date: 16 May 2007 14:15:02
Message: <web.464b491d4ef76416c150d4c10@news.povray.org>
"Trevor G Quayle" <Tin### [at] hotmailcom> wrote:
> Warp <war### [at] tagpovrayorg> wrote:
> > aaglo wrote:
> > > - metal texture on the screws & screwdriver
> >
> >   I have to admit that I have no idea how to make a realistic-looking
> > metallic texture for the screwdriver...
>
> If you want a reflective clean metal, like crome or polished stainless
> steel, the material is basically defined by what it reflects.  Using
> environment mapping and real reflections rather than phong or specular
> highlighting (which tend to look more plasticky) can help considerably.
> You can also overlay a simple reflective chrome with layers of grease,
> dust, dirt, rust etc and still have the reflectivity partially revealed.
>
> -tgq

A shiny, denty, rusty, dusty chrome:

#declare TChrome=
texture{
  pigment{rgb 0.8}
  finish{ambient 0
    conserve_energy
    diffuse 0.0
    reflection{0 1 fresnel on metallic 0}
  }
  normal{dents 0.25 scale 1/15}
}


#declare TRust=
texture{
  pigment {
    granite
    color_map {
      [0.08 rgb <0.89, 0.51, 0.28>]
      [0.15 rgb <0.70, 0.13, 0.00>]
      [0.30 rgb <0.69, 0.41, 0.08>]
      [0.30 rgb <0.49, 0.31, 0.28>]
      [0.40 rgb <0.89, 0.51, 0.28>]
      [0.40 rgbt 1]
    }
  }
  finish {ambient 0 diffuse 0.4}
  normal{
    granite
    normal_map{
      [0.40 average normal_map{[1 granite -0.3][1 granite 0.2 scale 1/5]}]
      [0.40 granite 0]
    }
  }
}

#declare TDusty=
texture{
  pigment{

    #declare PW=1;
    slope y
    color_map{
      [pow(0.5,PW) rgbt 1]
      [1.0 rgbt <0.40784, 0.39216, 0.18431,0.1>]

    }
    poly_wave PW
  }
  finish{
    ambient 0
    diffuse 0.6
  }
  normal{
    slope y
    normal_map{
      [0.50 granite 0]
      [1.00 granite 0.2 scale 1/10]
    }
  }
}

#declare M1=
material{
  texture{TChrome}
  texture{TRust}
  texture{TDusty}
  interior{ior 15}
}


-tgq


Post a reply to this message

From: Warp
Subject: Re: Wood screws, redux
Date: 16 May 2007 18:39:19
Message: <464b8815@news.povray.org>
Trevor G Quayle <Tin### [at] hotmailcom> wrote:
> A shiny, denty, rusty, dusty chrome:

  Nice, but doesn't look too good on the screwdriver:


Post a reply to this message


Attachments:
Download 'sd.jpg' (22 KB) Download 's.jpg' (20 KB)

Preview of image 'sd.jpg'
sd.jpg

Preview of image 's.jpg'
s.jpg


 

From: Trevor G Quayle
Subject: Re: Wood screws, redux
Date: 17 May 2007 10:10:02
Message: <web.464c611a4ef76416c150d4c10@news.povray.org>
Warp <war### [at] tagpovrayorg> wrote:
> Trevor G Quayle <Tin### [at] hotmailcom> wrote:
> > A shiny, denty, rusty, dusty chrome:
>
>   Nice, but doesn't look too good on the screwdriver:

You're right, it didn't come out too well for you.  Try removing the dust
layer and scaling down the rust layer.  You can also try adjusting other
aspects of the rust layer too like pattern type (though I think granite
looks the best from what I've tried), normals and the colour_mapping.

Also, as I said before, for materials such as this, it's all about what is
there to be reflected.  An empty background will result in flat,
unconvincing reflections I find.  This is why I've started using a lot of
environment mapping.  I used to be a true purist and not want to use it,
but I have found that it's a lot easier than modelling a whole scene just
to show off one little object (also it stems from the development of the
lighting macro I posted recently)

Have a look at this image.  The top is rendered with just a black background
and a textured plane (with a single point light).  The bottom simply adds an
environment map (plus the associated scene lighting).

-tgq


Post a reply to this message


Attachments:
Download 'rustychrome.jpg' (644 KB)

Preview of image 'rustychrome.jpg'
rustychrome.jpg


 

From: Charles C
Subject: Re: Wood screws, redux
Date: 18 May 2007 01:10:02
Message: <web.464d33ea4ef76416a5fa4f50@news.povray.org>
Warp <war### [at] tagpovrayorg> wrote:
> Trevor G Quayle <Tin### [at] hotmailcom> wrote:
> > A shiny, denty, rusty, dusty chrome:
>
>   Nice, but doesn't look too good on the screwdriver:

FWIW, I don't think there's anything wrong with just shiney.  I think a
different texture for the tips might be nice.  The dull/grey portion at the
tips to me actually seems a little short on the ones in this photo, at least
compared with most of the screwdrivers I've seen that have this.
Charles


Post a reply to this message


Attachments:
Download 'screwdriver photo.jpg' (22 KB)

Preview of image 'screwdriver photo.jpg'
screwdriver photo.jpg


 

From: bob
Subject: Re: Wood screws, redux
Date: 18 May 2007 05:52:40
Message: <pan.2007.05.16.19.11.32.654330@almost.bestweb.net>
On Wed, 16 May 2007 02:55:36 -0400, Warp wrote:

>   How about this one?

I really like the blue highlight on the upright screw.  Little touches
like this make (or break) a scene.  The wood texture is the only thing I
find wrong with this picture: it is somehow unconvincing.  Look at the
"knothole" by the screwdriver to see what I mean.


Post a reply to this message

From: St 
Subject: Re: Wood screws, redux
Date: 18 May 2007 06:32:37
Message: <464d80c5$1@news.povray.org>
"Charles C" <nomail@nomail> wrote in message 
news:web.464d33ea4ef76416a5fa4f50@news.povray.org...

     I think those might be magnetic tips?


        ~Steve~


Post a reply to this message

From: Darren New
Subject: Re: Wood screws, redux
Date: 18 May 2007 12:04:30
Message: <464dce8e$1@news.povray.org>
St. wrote:
>      I think those might be magnetic tips?

Not necessarily. They're just a stronger alloy than the screws tend to 
be made from.

-- 
   Darren New / San Diego, CA, USA (PST)
     His kernel fu is strong.
     He studied at the Shao Linux Temple.


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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