POV-Ray : Newsgroups : povray.general : metal "swirl" finish Server Time
11 Aug 2024 09:23:31 EDT (-0400)
  metal "swirl" finish (Message 8 to 17 of 17)  
<<< Previous 7 Messages Goto Initial 10 Messages
From: Ken
Subject: Re: metal "swirl" finish
Date: 2 Sep 1999 03:46:57
Message: <37CE2B20.33352239@pacbell.net>
Ron Parker wrote:

> >Try a repeat warp on the pattern.
> 
> won't work.  The pattern he's talking about has roughly circular
> boundaries, and a repeat warp will put noticeable straight lines
> in the pattern.

I think I will stop posting suggestions for the rest of the week. Suggestion
burn out I suppose. Did anyone else just hear that crackling sound in my head ?

-- 
Ken Tyler

See my 850+ Povray and 3D Rendering and Raytracing Links at:
http://home.pacbell.net/tylereng/index.html


Post a reply to this message

From: Peter Popov
Subject: Re: metal "swirl" finish
Date: 2 Sep 1999 04:49:33
Message: <TwfON2ogzAHh+j4FxZU1vK5rOWqm@4ax.com>
On Tue, 31 Aug 1999 22:10:29 -0500, "John M. Dlugosz"
<joh### [at] dlugoszcom> wrote:

>I've seen metal plates and surfaces that are covered with polished circles,
>which I assume is due to being formed by a vertical milling machine.
>
>Any idea how I can do that with a texture in POV?
>
>--John
>

1. (easiest) Use a ripples normal along with Chris Colefax's texture
tiler macro 

2. (harder) Use an average of 10-20 randomly displaced (in the plane)
normals using the spherical pattern with a high frequency and a repeat
warp set up so that it does not intersect the pattern edges

3. (easy, Superpatch reuqired) Use an isosurface normal

4. (has its drawbacks) Rob a bank (you only need $3600) and then ask
Lance what to do :) "MAX.....3.0.... mumble.....mumble... yeah
kewl..... mumble ......anisotropic....mumble..... shading.....
nah...it's... cheap.....mumble....." etc, mumble <grin>


Peter Popov
ICQ: 15002700


Post a reply to this message

From: Margus Ramst
Subject: Re: metal "swirl" finish
Date: 2 Sep 1999 05:46:35
Message: <37CE4772.C7D48268@peak.edu.ee>
This could be done quite well with the crackle normal with a high frequency.
However, the crackle pattern in official POV will always give angular, rather
than circular features. I think the modified crackle pattern in the Superpatch
could produce almost exactly what you are looking for - if you're willing to
give it a try.
And whatever method you use, expect aliasing galore! My current background image
also imitates the milled metal effect. While I actually wanted the interference
patterns, it is probably not desirable in your case. Plus the render time was
HUGE.

Margus

"John M. Dlugosz" wrote:
> 
> I've seen metal plates and surfaces that are covered with polished circles,
> which I assume is due to being formed by a vertical milling machine.
> 
> Any idea how I can do that with a texture in POV?
> 
> --John


Post a reply to this message

From: Rune S  Johansen
Subject: Re: metal "swirl" finish
Date: 2 Sep 1999 15:25:33
Message: <37cecf2d@news.povray.org>
Nieminen Juha wrote:
>Xplo Eristotle <inq### [at] unforgettablecom> wrote:
>: If I understand what you're referring to, I'm thinking that your best
>: chance at doing this is creating an image (with lots of little circles)
>
>  Why?
>  Circles can be easyly done with procedural textures.

If I understand what you're referring to, I think a regular onion or wood
should do it.

If you want the rings to be so thin that they aren't separately visible to
the eye you can just scale the normal large so that the normal pattern range
from 0 in the center to 1 at the edge. Average two of these normals. They
must be exactly the same except that the one should be inverted. If you use
this method you don't need large resolutions to get nice results.

Greetings,

Rune S. Johansen

---
Visit The RSJ Website at http://rsj.mobilixnet.dk
for 3D images including still lives, dragons,
mathematical shapes, and more. Stereograms,
tutorials, The POV Desktop Theme, hundreds of
raytracing jokes, miscellaneous other things,
and a lot of fun!


Post a reply to this message

From: Ron Parker
Subject: Re: metal "swirl" finish
Date: 2 Sep 1999 16:03:03
Message: <37ced7f7@news.povray.org>
/* 
On Thu, 02 Sep 1999 00:45:36 -0700, Ken wrote:
>
>
>Ron Parker wrote:
>
>> >Try a repeat warp on the pattern.
>> 
>> won't work.  The pattern he's talking about has roughly circular
>> boundaries, and a repeat warp will put noticeable straight lines
>> in the pattern.
>
>I think I will stop posting suggestions for the rest of the week. Suggestion
>burn out I suppose. Did anyone else just hear that crackling sound in my head ?

Looks like you were kinda right and I was kinda wrong.  I found a way to
use a repeat warp and not get any straight lines.  Render this scene.  Try
different values for Rings.  You are getting very sleepy...

John probably wants it as a normal, but that's relatively easy to accomplish.  
*/

#declare Rings=8;
                                      
#macro ScalesPigment( Map ) 
  #local Scale=pigment {wood color_map {Map} scale 2} pigment { wood 
  pigment_map {[1/sqrt(2) Scale scale .5/sqrt(2)][1/sqrt(2) Scale translate 1 
  scale .5/sqrt(2)]} scale sqrt(2) rotate 90*x warp {repeat z/2 flip z} warp 
  {repeat x/2 offset z/2}}
#end

#declare MyMap=color_map { 
  #declare i=0; 
  #while (i<=2*Rings-1) [i/(2*Rings-1) rgb mod(i,2)] #declare i=i+1; #end
}

camera {location 2 look_at 0}
plane {y,0 ScalesPigment( MyMap ) finish {ambient 1}}


Post a reply to this message

From: John M  Dlugosz
Subject: Re: metal "swirl" finish
Date: 2 Sep 1999 17:18:22
Message: <37cee99e@news.povray.org>
Nieminen Juha <war### [at] cctutfi> wrote in message
news:37ce27dc@news.povray.org...
>   I'm not sure if I understand at all what do you mean.
>   Do you mean something like this?

Not really... a single circle going on forever is easy.  The metal is
polished in one place making a swirl pattern, then polished in another spot,
and another, etc. so the surface is covered with lots of circles, not one
big one.

--John


Post a reply to this message

From: Nieminen Juha
Subject: Re: metal "swirl" finish
Date: 3 Sep 1999 04:32:40
Message: <37cf87a8@news.povray.org>
John M. Dlugosz <joh### [at] dlugoszcom> wrote:
: Not really... a single circle going on forever is easy.  The metal is
: polished in one place making a swirl pattern, then polished in another spot,
: and another, etc. so the surface is covered with lots of circles, not one
: big one.

  Perhaps something like this then:

#declare Distance=5;
#declare Circles=20;
camera { location <0,10,-10>*1.5 look_at 0 angle 35 }
light_source { <100,100,-100> 1 }
plane
{ y,0
  pigment { rgb x }
  finish { specular .5 }
  #declare CirclesNormal=
    normal
    { spherical 2 slope_map
      { [0 <0,0>]
        [.5 <1,2>]
        [.5 <1,-2>]
        [1 <0,0>]
      }
      frequency Circles
      scale Distance*sqrt(2)/2
    }
  normal
  { average normal_map
    { [1 CirclesNormal]
      [1 CirclesNormal translate x*Distance]
      [1 CirclesNormal translate -x*Distance]
      [1 CirclesNormal translate z*Distance]
      [1 CirclesNormal translate -z*Distance]
    }
    translate x*Distance/2
    warp { repeat x*Distance }
    translate -x*Distance/2
    translate z*Distance/2
    warp { repeat z*Distance }
    translate -z*Distance/2
  }
}


-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

From: Kevin Wampler
Subject: Re: metal "swirl" finish
Date: 4 Sep 1999 16:24:47
Message: <37D18042.F291609C@tapestry.tucson.az.us>
Try something like this for your slope_map if you have Superpatch:

crackle
form <1,0,0>
frequency BIG_NUMBER

You'll have to play around a bit, and use really high AA, but it might give you
what your looking for.


Post a reply to this message

From: Rune S  Johansen
Subject: Re: metal "swirl" finish
Date: 4 Sep 1999 20:33:32
Message: <37d1ba5c@news.povray.org>
"Kevin Wampler" wrote:
>Try something like this for your slope_map if you have Superpatch:
>
>crackle
>form <1,0,0>
>frequency BIG_NUMBER
>
>You'll have to play around a bit, and use really high AA, but it might give
you
>what your looking for.

I haven't tried it but this should work as well but with no need for high AA
at all.

normal {
   average
   normal_map {
      [crackle +1 form <1,0,0>]
      [crackle -1 form <1,0,0>]
   }
}

Greetings,

Rune S. Johansen

---
Visit The RSJ Website at http://rsj.mobilixnet.dk
for 3D images including still lives, dragons,
mathematical shapes, and more. Stereograms,
tutorials, The POV Desktop Theme, hundreds of
raytracing jokes, miscellaneous other things,
and a lot of fun!


Post a reply to this message

From: Matt Giwer
Subject: Re: metal "swirl" finish
Date: 5 Sep 1999 03:24:12
Message: <37D21A9C.EE89458@giwersworld.org>
"John M. Dlugosz" wrote:

> I've seen metal plates and surfaces that are covered with polished circles,
> which I assume is due to being formed by a vertical milling machine.

> Any idea how I can do that with a texture in POV?

	Specular finish.


Post a reply to this message

<<< Previous 7 Messages Goto Initial 10 Messages

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