POV-Ray : Newsgroups : povray.newusers : Help : checker pattern Server Time
14 Nov 2024 18:23:05 EST (-0500)
  Help : checker pattern (Message 1 to 5 of 5)  
From: vhdldbx
Subject: Help : checker pattern
Date: 26 Feb 1998 02:33:11
Message: <34F51AB7.916A50BB@hotmail.com>
Hi,
    I try to make a checker pattern with two pre-defined textures , but
I get a syntax error.

 texture {
      checker texture { T_Stone1 } , texture { T_Stone2 }
      finish {  diffuse .9 }
}

If I remove the "finish" parameter, it works.
Can anyone tell me why I cannot add the "finish" line in to the texture
?

Thanks


Post a reply to this message

From: GrimDude
Subject: Re: Help : checker pattern
Date: 26 Feb 1998 03:01:26
Message: <34f52576.0@news.povray.org>
I don't think you can assign a finish to a predefined texture. You might try
re-defining the textures with the finish you want (and assigning them your
own unique name).

--
Paul Hinds
gri### [at] swbellnet


Post a reply to this message

From: Roland Mas
Subject: Re: Help : checker pattern
Date: 26 Feb 1998 03:44:48
Message: <6d3a20$bf2$1@melchior.cuivre.fr.eu.org>
GrimDude (grimdude&nos### [at] swbellnet) wrote:
> I don't think you can assign a finish to a predefined texture. You might try
> re-defining the textures with the finish you want (and assigning them your
> own unique name).

That is exactly what is done by texture { T_Stone1 finish { diffuse 0.9 } }:
the finish of T_Stone1 is overriden (replaced) by finish { diffuse 0.9 }.

B-o-b, also known as Roland.
--

bob### [at] casimirrezelenstfr -- Linux, POV-Ray, LaTeX


Post a reply to this message

From: GrimDude
Subject: Re: Help : checker pattern
Date: 26 Feb 1998 14:03:46
Message: <34f5bf83.0@news.povray.org>
Yeah, I'm tasting shoe leather again. :)

--
Paul Hinds
gri### [at] swbellnet


Post a reply to this message

From: Roland Mas
Subject: Re: Help : checker pattern
Date: 26 Feb 1998 03:13:28
Message: <6d3878$ahr$2@melchior.cuivre.fr.eu.org>
vhdldbx (vhd### [at] hotmailcom) wrote:
>  texture {
>       checker texture { T_Stone1 } , texture { T_Stone2 }
>       finish {  diffuse .9 }
> }

Try this:
texture {
  checker
  texture { T_Stone1 finish { diffuse 0.9 } }
  texture { T_Stone2 finish { diffuse 0.9 } }
}

B-o-b.
--

bob### [at] casimirrezelenstfr -- Linux, POV-Ray, LaTeX


Post a reply to this message

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