POV-Ray : Newsgroups : povray.beta-test : Colored specular highlights feature request : Re: Colored specular highlights feature request Server Time
29 Apr 2024 02:02:56 EDT (-0400)
  Re: Colored specular highlights feature request  
From: clipka
Date: 22 Feb 2013 06:27:37
Message: <51275629$1@news.povray.org>
Am 22.02.2013 09:08, schrieb Mr:

> I tried it, and now I remember what I forgot: I had already tried, and this is
> why it won't do for me:
>
> It is inside the same index of a texture_list. and POV tells me it is "expecting
> } ...other texture found instead" POV won't accept layered textures inside
> texture_lists.
>
> We use those in Blender exporter to convert several materials per object. The
> rest of the texture translation code is already quite convoluted to be able to
> use transparency maps, along with diffuse color map, bump map and specular map
> using several finishes mixed together.
>
> any other workaround?

Yup: #define (or #local) the layered texture outside the texture_list, 
and you should be fine.

It's just a limitation of the syntax (the comma in texture_list is 
optional, so POV-Ray can't tell where a layered texture ends), not of 
the inner workings.


Post a reply to this message

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