POV-Ray : Newsgroups : povray.general : mesh2 syntax query : Re: mesh2 syntax query Server Time
29 Jul 2024 00:37:42 EDT (-0400)
  Re: mesh2 syntax query  
From: James Holsenback
Date: 7 Dec 2013 10:58:00
Message: <52a34588@news.povray.org>
On 12/07/2013 08:52 AM, clipka wrote:
> Am 07.12.2013 14:26, schrieb David Given:
>
>> I want the texture list to be in the Povray file, not in the machine
>> generated include file, because it's source code. But the syntax appears
>> to be insisting that the texture_list clause goes *between* the
>> vertex_vectors and face_indices clause. In order to emit it there, my
>> tool needs to know stuff about the structure of the Povray file that it
>> really shouldn't know.
>>
>> I've tried defining the texture list with #declare, but that doesn't
>> work because texture_list isn't an rvalue and can't be assigned to a
>> variable.
>>
>> Is there any wrinkle of syntax that will allow me to get the texture
>> list out of the include file?
>
> There is indeed: While the documentation claims that the texture_list
> must go between vertex_vectors and face_indices, the actual
> implementation also allows it to be placed /before/ vertex_vectors.
>

better? ... http://wiki.povray.org/content/Reference:Mesh2


Post a reply to this message

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