POV-Ray : Newsgroups : povray.general : mesh2 syntax query : Re: mesh2 syntax query Server Time
29 Jul 2024 00:28:34 EDT (-0400)
  Re: mesh2 syntax query  
From: James Holsenback
Date: 9 Dec 2013 07:41:45
Message: <52a5ba89$1@news.povray.org>
On 12/07/2013 10:57 AM, James Holsenback wrote:
> 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

should I roll back this change?


Post a reply to this message

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