POV-Ray : Newsgroups : povray.unofficial.patches : pigment function problems Server Time
1 Nov 2024 23:13:34 EDT (-0400)
  pigment function problems (Message 1 to 1 of 1)  
From: Sigmund Kyrre Aas
Subject: pigment function problems
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.