POV-Ray : Newsgroups : povray.windows : #declare texture : Re: #declare texture Server Time
28 Jul 2024 06:15:29 EDT (-0400)
  Re: #declare texture  
From: Ken
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

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