POV-Ray : Newsgroups : povray.binaries.images : Patina/grime (40k) : Re: Patina/grime (40k) Server Time
20 Nov 2024 12:44:16 EST (-0500)
  Re: Patina/grime (40k)  
From: Kari Kivisalo
Date: 31 Aug 2001 04:53:20
Message: <3B8F5133.90BE6E9C@engineer.com>
ben paschke wrote:
> 
> Concerning your latest patina experiments, may i suggest you have a look
> at an old test i did, but with the proximity pattern ..
> 
> news://news.povray.org/3AA72A9B.7B8E4326%40rsp.com.au

The net effect of proximity pattern seems to be abs(curvature).
Proximity is about distance from surface and patina simulations
are based on visibility so it's natural one can't be used in place
of other. The reason it worked with a stack of balls is that the
highest curvature is where they intersect. 

If proxomity pattern could select positive or negative curvature
it could be used to detect edges and apply wear and tear or deposit
grime on negative curvature areas. 

Notice the concentration on both negative and positive high
curvature areas. http://www.pp.hv.fi/kkivisal/prox.jpg

texture{
  proximity {
  Tut, 5
  samples 30
  sample_bailout 30
  max_density 1
  type 0
  method 1
  sides 2
}
  texture_map{
    [0.2 Grime]
    [0.7 Clear]
  }  
}

_____________
Kari Kivisalo


Post a reply to this message

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