POV-Ray : Newsgroups : povray.windows : #declare texture Server Time
24 Nov 2024 09:01:37 EST (-0500)
  #declare texture (Message 1 to 3 of 3)  
From: Sander
Subject: #declare texture
Date: 15 Nov 1999 09:45:14
Message: <38301c7a@news.povray.org>
Hello old hands,

How can I declare an identifier to a texture name and use it in the code? I
tried:
...
#declare Tname = T_Stone22
...
box{-1,1 texture{Tname}}
...
but this gives a parsing error at the declaration statement.
Sander
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
http://www.amtechnical.com/jeff/rose.html


Post a reply to this message

From: Ken
Subject: Re: #declare texture
Date: 15 Nov 1999 10:02:34
Message: <3830204D.8056C4BB@pacbell.net>
Sander wrote:
> 
> Hello old hands,
> 
> How can I declare an identifier to a texture name and use it in the code? I
> tried:


 #declare Tname = texture {T_Stone22}

 box{-1,1 texture{Tname}}

-- 
Ken Tyler -  1200+ Povray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/


Post a reply to this message

From: Sander
Subject: Re: #declare texture
Date: 15 Nov 1999 10:49:05
Message: <38302b71@news.povray.org>
Than you thank you, Ken.
I hope to ever be able to think of this kind of simple things myself...
Sander
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
http://www.amtechnical.com/jeff/rose.html

Ken <tyl### [at] pacbellnet> schreef in berichtnieuws
3830204D.8056C4BB@pacbell.net...
>
>
> Sander wrote:
> >
> > Hello old hands,
> >
> > How can I declare an identifier to a texture name and use it in the
code? I
> > tried:
>
>
>  #declare Tname = texture {T_Stone22}
>
>  box{-1,1 texture{Tname}}


Post a reply to this message

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