POV-Ray : Newsgroups : povray.newusers : corner detection and textures Server Time
4 Nov 2024 13:01:29 EST (-0500)
  corner detection and textures (Message 1 to 5 of 5)  
From: David
Subject: corner detection and textures
Date: 25 Jul 2003 12:05:01
Message: <web.3f215484da245f5a5c8e72650@news.povray.org>
Hi,

sorry if this is an old topic but - is there any way to write a texture that
will respond to corners (outward or inward inward facing)?

The reason I want to do this is to add a weathered and used effect to my
model. The inward corners dirty the outward lighter colors.

Any help on this would be most appreciated.


Thanks in advance.

David


Post a reply to this message

From: Doug Eichenberg
Subject: Re: corner detection and textures
Date: 27 Jul 2003 21:43:49
Message: <3f247fd5$1@news.povray.org>
Hmm, not sure I understand what you are after here... sounds like you want
the dents in the surface that are facing inward (towards the center of the
object) to have a specific texture?

--
Doug Eichenberg
www.getinfo.net/douge
dou### [at] nlsnet


Post a reply to this message

From: David
Subject: Re: corner detection and textures
Date: 29 Jul 2003 06:20:02
Message: <web.3f26493e63b187465c8e72650@news.povray.org>
Doug Eichenberg wrote:
>Hmm, not sure I understand what you are after here... sounds like you want
>the dents in the surface that are facing inward (towards the center of the
>object) to have a specific texture?
>
>--
>Doug Eichenberg
>www.getinfo.net/douge
>dou### [at] nlsnet
>

Sorry I must have phrased it wrong. What I want is away of simulating dirt
collecting in corners.

        |  dirt effect in here
 edge   | /
   of   |/     OUTSIDE
 object -----------
           edge
 INSIDE     of
           object




And wear on edges (corners)

       OUTSIDE     lighter (worn) "paint" here
                  /
      ___________/
       edges of |
         object |
                |
      INSIDE    |


Any help appreciated.

Cheers,

David


Post a reply to this message

From: Tom Melly
Subject: Re: corner detection and textures
Date: 29 Jul 2003 10:14:53
Message: <3f26815d$1@news.povray.org>
"David" <dh2### [at] iucrorg> wrote in message
news:web.3f26493e63b187465c8e72650@news.povray.org...
>
> Sorry I must have phrased it wrong. What I want is away of simulating dirt
> collecting in corners.

IMHO the short answer is "no" - the longer answer is "yes, but not with just a
texture".

Options include image maps or applying appropriate textures to each wall
separately.

The problem you/pov faces with this is that the areas where dirt collects say
more about the cleaning-lady's abilities rather than any inherant property of
the point that you want clean/dirty (so, for example, the slope pattern is no
help).


Post a reply to this message

From: Christopher James Huff
Subject: Re: corner detection and textures
Date: 29 Jul 2003 13:13:01
Message: <cjameshuff-120BDA.12130129072003@netplex.aussie.org>
In article <web.3f26493e63b187465c8e72650@news.povray.org>,
 "David" <dh2### [at] iucrorg> wrote:

> Sorry I must have phrased it wrong. What I want is away of simulating dirt
> collecting in corners.

And things like paint/tarnish wearing off edges? This is often called a 
"patina" effect, you might also find what you want by looking for 
"erosion". My curvature pattern patch attempted this (with only some 
success, it was far too grainy...I might be able to fix that though). I 
think you could generate a DF3 of the object, process it a little, and 
use it as a pattern. Or generate a mesh and use an external program to 
come up with good vertex textures. For a simple object like a box, you 
might be able to just use a spherical pattern.

http://graphics.lcs.mit.edu/~dorsey/papers/patina/

And a Scientific American article about the same work:
http://tinyurl.com/ievt

-- 
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/


Post a reply to this message

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