|
|
In article <40bb476a@news.povray.org> , Warp <war### [at] tagpovrayorg> wrote:
> Thorsten Froehlich <tho### [at] trfde> wrote:
>> But can something like this always be determined in constant time? If not,
>> and I think it cannot always be determined in constant time, it would make
>> parsing really slow.
>
> Can you give an example where it can't be solved in constant time?
This is a guess from the top of my head. What would be the color of the
sphere sp1 and sp2?
Thorsten
#declare sp1 = sphere
{
z*10,1
texture
{
pigment
{
color
#declare blue = 0;
blue
#declare blue = 1;
blue
blue
blue
blue
}
}
}
#declare sp2 = sphere
{
z*10,1
texture
{
pigment
{
color
#declare blue = 0;
blue
#declare blue = 1;
blue
blue
blue
blue
blue
}
}
}
____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde
Visit POV-Ray on the web: http://mac.povray.org
Post a reply to this message
|
|