POV-Ray : Newsgroups : povray.beta-test : New uv_mapping bug in beta 15 : New uv_mapping bug in beta 15 Server Time
29 Jul 2024 18:25:00 EDT (-0400)
  New uv_mapping bug in beta 15  
From: Stephen Dartnall
Date: 1 Apr 2002 13:04:02
Message: <3ca8a112$1@news.povray.org>
Hi,

Using the uv_mapping command inside a texture statement (in accordance with
the documentation) gives a parsing error: "No matching } in 'pigment',
uv_mapping found instead".

eg:

texture {
      uv_mapping pigment {
        image_map { jpeg "texture.jpg" }
          }
       ... normal ... finish ... etc ...
        }

The documentation states the uv_mapping syntax as follows:

texture {
    uv_mapping pigment { PIGMENT_BODY } | pigment { uv_mapping
PIGMENT_BODY }
    uv_mapping normal  { NORMAL_BODY  } | normal  { uv_mapping
ORMAL_BODY  }
    uv_mapping texture { TEXTURE_BODY } | texture { uv_mapping
TEXTURE_BODY )
  }

so surely the above example should work?

The POV-Ray/scenes/objects/mesh.pov file also gives the error.

This bug has only appeared in beta 15, which has a uv_mapping fix which
disallows the uv_mapping command in function patterns - could this be the
reason?

Regards,

Stephen

win98 256MB PII & 512MB PIII - pov3.5.beta.15.icl.win32


Post a reply to this message

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