POV-Ray : Newsgroups : povray.newusers : Texture Question Server Time
30 Jul 2024 16:24:02 EDT (-0400)
  Texture Question (Message 1 to 3 of 3)  
From: Felbrigg
Subject: Texture Question
Date: 2 Feb 2004 06:38:55
Message: <401e36cf$1@news.povray.org>
Is is possible to include a full texture in a color map, I keep getting an
error with the T_Chrome_5A setting below.  Is there perhaps some other
technique for achieving the same thing?

What I'm attempting is to show a ripped up paper sign on a box.  The Box
beneath is textured first with T_Chrome_5A , then an Image Map for the paper
sign.  Then I want the paper to look damp and torn off, thus I have to apply
some T_Chrome_5A over the top of the Image Map.  Hope this makes sense

                texture {
                        pigment {
                                agate agate_turb 1
                                color_map       {
                                                [0      color Clear]
                                                [0.9   color Tan]
                                                [0.98   color Brown]
                                                [0.999   color  T_Chrome_5A]
                                                }
                                }
                        scale 12
                        }


Post a reply to this message

From: Warp
Subject: Re: Texture Question
Date: 2 Feb 2004 06:58:55
Message: <401e3b7e@news.povray.org>
You have to use texture_map to use textures. Like this:

texture
{ agate
  texture_map
  { [0 texture1]
    [.9 texture2]
    etc
  }
  scale 12
}

-- 
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -


Post a reply to this message

From: kurtz le pirate
Subject: Re: Texture Question
Date: 3 Feb 2004 03:03:06
Message: <401f55ba$1@news.povray.org>

news:401e36cf$1@news.povray.org...
> Is is possible to include a full texture in a color map, I keep getting an
> error with the T_Chrome_5A setting below.  Is there perhaps some other
> technique for achieving the same thing?
>
> What I'm attempting is to show a ripped up paper sign on a box.  The Box
> beneath is textured first with T_Chrome_5A , then an Image Map for the
paper
> sign.  Then I want the paper to look damp and torn off, thus I have to
apply
> some T_Chrome_5A over the top of the Image Map.  Hope this makes sense
>
>                 texture {
>                         pigment {
>                                 agate agate_turb 1
>                                 color_map       {
>                                                 [0      color Clear]
>                                                 [0.9   color Tan]
>                                                 [0.98   color Brown]
>                                                 [0.999   color
T_Chrome_5A]
>                                                 }
>                                 }
>                         scale 12
>                         }
>
>
color_map need colors... T_Chrome_5A is a texture !
use texture_map.


Post a reply to this message

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