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