POV-Ray : Newsgroups : povray.general : Graph Paper Texture : Re: Graph Paper Texture Server Time
19 Nov 2024 13:19:32 EST (-0500)
  Re: Graph Paper Texture  
From: Randy Hawley
Date: 24 Feb 2002 02:10:35
Message: <3C789288.734EEDD7@iquest.net>
In 3.1 I've used something like:

#declare GraphPaper =
    texture {
        pigment {
            gradient x
            color_map {
                [0.1 color Red]
                [0.1 color transmit 1.0]
                }
            }
        }
    texture {
        pigment {
            gradient y
            color_map {
                [0.1 color Green]
                [0.1 color transmit 1.0]
                }
            }
        }
    texture {
        pigment {
            gradient z
            color_map {
                [0.1 color Blue]
                [0.1 color transmit 1.0]
                }
            }
        }

Tweaking this gives me a decent "graph paper" look.  I've never noticed it being
significantly slower than, say, checkers, bricks, or similar.  Although, I must
admit, you are doing good things with your macro.  Nice work.

    Randy

Bill DeWitt wrote:

>     I really like my graphpaper background object macro (see "Graphpaper" in
> pbi), but it renders very slowly. I suspect it is the layered texture with
> large amounts of transparency. It also cannot be placed on an object as well
> as it does on the flat surfaces of my background. So I was looking for
> another way to do it. I think quilt is the most likely pattern, but I don't
> seem to be able to get a sharp enough curve. Is there a better way to do
> what I want?
>
> --
>     First snow, then silence.
>     This thousand dollar screen dies
>     so beautifully.


Post a reply to this message

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