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

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