POV-Ray : Newsgroups : povray.beta-test : New uv_mapping bug in beta 15 Server Time
1 Nov 2024 17:21:50 EDT (-0400)
  New uv_mapping bug in beta 15 (Message 1 to 2 of 2)  
From: Stephen Dartnall
Subject: New uv_mapping bug in beta 15
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

From: Thorsten Froehlich
Subject: Re: New uv_mapping bug in beta 15
Date: 1 Apr 2002 14:50:30
Message: <3ca8ba06@news.povray.org>
In article <3ca8a112$1@news.povray.org> , "Stephen Dartnall" 
<ste### [at] dartnallcouk> wrote:

> 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?

Yes, this will be fixed in the next beta.

    Thorsten

____________________________________________________
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

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