POV-Ray : Newsgroups : povray.general : Is this a bug? : Re: Is this a bug? Server Time
1 Aug 2024 18:21:49 EDT (-0400)
  Re: Is this a bug?  
From: Bob Hughes
Date: 4 Jun 2005 15:41:13
Message: <42a203d9$1@news.povray.org>
Well, it does work okay if not doing a texture, as in the following:

#declare UV_Pigment = pigment { uv_mapping agate }

#declare UVP_Changed = pigment { UV_Pigment granite }

sphere {0,1 texture {UVP_Changed}}

So this seems to be a problem with the way texture alone is done.


As for the 'tiles' error, that pattern type is only a vague memory to me. 
Must be something going back to the earliest POV versions. I do get that 
same problem in both 3.6 and 3.5. #version directive didn't help.

I'm not exactly sure how to write it. Looking at the documentation it would 
seem correct to write it like so:

texture {tiles T1 tile2 T2}

with T1 and T2 being previously declared textures.

POV complains about a missing leading brace "{" and instead a texture 
identifier found, yet I would have thought it were used like the checker 
pattern.

Hugo, was that tiles usage taken from an earlier scene file? Or was it 
you're own interpretation of how it the syntax for it is to be written. 
Or... did you attempt following the error message suggestion that a { was 
missing if leaving it out?

I'm curious how you happened across this problem, since it seems something 
left in for backwards compatibility and not something people might be using 
still today. Of course, regardless, anything in POV is certainly supposed to 
be possible without a crash but I think the correct syntax needs to be 
realized.

Bob Hughes


Post a reply to this message

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