POV-Ray : Newsgroups : povray.bugreports : Textures with declarartions : Textures with declarartions Server Time
28 Sep 2024 11:06:49 EDT (-0400)
  Textures with declarartions  
From: Friedemann Schmidt
Date: 1 Oct 1998 21:18:05
Message: <36141b86.7912930@news.povray.org>
Hi,

With POV-Ray for Windows v3.0 and v3.1 this works:

  sphere {
    0, 1
    texture { 
      #declare X = texture { pigment { color rgb <1, 0, 0> } } 
      #declare Dummy = 1234;
      X
    }
  }

This doesn't work - it causes an error like "Missing pigment"

  sphere {
    0, 1
    texture { 
      #declare X = texture { pigment { color rgb <1, 0, 0> } } 
      X
    }
  }

Bye,
Friedemann



Friedemann Schmidt
F.S### [at] fhtw-berlinde
Raytracing-Gallery: http://www.rz.fhtw-berlin.de/~s0049669/


Post a reply to this message

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