|
![](/i/fill.gif) |
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.
Post a reply to this message
|
![](/i/fill.gif) |