POV-Ray : Newsgroups : povray.newusers : Paper Texture Server Time
29 Mar 2024 05:42:18 EDT (-0400)
  Paper Texture (Message 1 to 4 of 4)  
From: Bryan Heit
Subject: Paper Texture
Date: 27 Feb 2007 10:26:36
Message: <45e44dac$1@news.povray.org>
I've been trying to develop a texture which resembles old 
paper/parchment.  I've not yet got the effect I want - I can get a 
texture that looks fine from a distance, but cannot get something which 
has that fibrous look close-up.  I'm also having trouble matching the 
tan/brown colour of old paper (maybe I need a color_map?).  The only 
other "catch" is that I need something which'll render relatively fast, 
as I'm going to be using this in a fairly long animation - i.e. I'm 
trying to avoid functions and isosurfaces.

Here's what I've got so far - the pigment is white; just to highlight 
the texture.  As you can see, I've got a long ways to go:

#declare T_Paper = texture {
   pigment { color rgb <1,1,1> }
   normal { wrinkles 1 scale 0.01 }
   finish { diffuse .7 roughness .0085 ambient 0.2 }
   }//end paper texture

Any ideas?

Bryan


Post a reply to this message

From: Stephen Klebs
Subject: Re: Paper Texture
Date: 27 Feb 2007 14:10:01
Message: <web.45e4811bf6158139977978930@news.povray.org>
I get the best results with paper textures by using an image_map and
bump_map together. You can find some good paper textures on Paul Bourke's
site, http://local.wasp.uwa.edu.au/~pbourke/texture_colour/paper/. Use the
original as your image_map and use another, the same original converted to
grayscale, as a bump_map. (You can use the same image for both but the
creases won't be so pronounced) Then use something like:

    pigment {
      image_map {
        jpeg Paper.jpg
      }
    }
    finish {
      ambient 0.1
      diffuse 0.5
    }
    normal {
      bump_map {
        gif Paper.gif
        bump_size 6         //reduce for wrinkles, increase for creases
        interpolate 2
      }
    }

It works best if you want heavy creases or folds.

Steve Klebs
http://www.cloudinthesky.com


Post a reply to this message

From: Bryan Heit
Subject: Re: Paper Texture
Date: 28 Feb 2007 09:56:07
Message: <45e59807$1@news.povray.org>
Stephen Klebs wrote:
> I get the best results with paper textures by using an image_map and
> bump_map together. 

Looks like that's the route I'm going to have to take.  My first 
attempts with the bump maps and image maps looks far better then any of 
my textures developed over the last 2 days.

Thanx for your help

Bryan


Post a reply to this message

From: Mike Sobers
Subject: Re: Paper Texture
Date: 1 Mar 2007 12:50:01
Message: <web.45e7112ef61581391009749b0@news.povray.org>
Bryan Heit <bjh### [at] NOSPAMucalgaryca> wrote:
> Stephen Klebs wrote:
> > I get the best results with paper textures by using an image_map and
> > bump_map together.
>
> Looks like that's the route I'm going to have to take.  My first
> attempts with the bump maps and image maps looks far better then any of
> my textures developed over the last 2 days.
>
> Thanx for your help
>
> Bryan

Here's a procedural texture for a coarse grain paper (normals based on
leopard pattern):

#declare paper = texture {
  pigment { granite
    color_map {
     [0 color rgb <1,0.98,0.95>]
     [0.2 color rgb <1,0.98,0.95>]
     [0.21 color rgb <1,0.96,0.83>]
     [0.3 color rgb <1,0.96,0.83>]
     [0.4 0.5 color rgb <1,0.98,0.95> color rgb <1,0.98,0.95>]
     [0.51 0.6 color rgb <.77,0.54,0.33> color rgb <.77,0.54,0.33>]
     [0.61 0.9 color rgb <1,0.96,0.83> color rgb <1,0.96,0.83>]
     [0.91 color rgb <.77,0.54,0.33>]
     [1 color rgb <.77,0.54,0.33>]
    }
  scale 0.5
  }
}
texture { pigment { color rgbt <1,0.96,0.83,0.1>}
  normal { leopard 1 turbulence 1.7 scale 0.01 }
}

- Mike


Post a reply to this message

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