POV-Ray : Newsgroups : povray.unofficial.patches : pigment function problems : pigment function problems Server Time
2 Sep 2024 06:19:11 EDT (-0400)
  pigment function problems  
From: Sigmund Kyrre Aas
Date: 26 Apr 2000 13:02:34
Message: <39071F11.8EC3664C@stud.ntnu.no>
Why can't I use #while, #declare etc. inside a pigment function? Such as:
 
isosurface { 
    function { 
       pigment {
        pattern      
        pigment_map { 
	   #while (this)
	   [ that ]
 	   #end
	}
    }
}

I get 
pigment_map {
   # <----ERROR
error: Must have at least one entry in map.


Post a reply to this message

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