|
|
Am 04.11.2016 um 14:54 schrieb LanuHum:
> clipka <ano### [at] anonymousorg> wrote:
>> Am 04.11.2016 um 12:59 schrieb LanuHum:
>>
>>> At textures no name. How to initialize?
>>
>> I'm not sure what you mean.
>>
>> POV-Ray's render engine does not use any names -- neither for objects
>> nor for textures. That's just a thing used in the parser to make life
>> easier for users.
>
>
> File Scene.pov:
>
> #declare Tex0 = texture {...}
> #declare Tex1 = texture {...}
> #declare Tex2 = texture {...}
> #declare Tex3 = texture {...}
>
> #declare Foo = blender_object { "foo" }
Well, wouldn't the Blender object named "foo" also include references to
the textures as they are defined in Blender?
If not, then you'll of course have to design the syntax of
"blender_object" in such a manner that you can list the POV-Ray textures
that the Blender object is supposed to use, maybe like so:
blender_object {
STRING
texture_list {
texture { Tex0 },
texture { Tex1 },
texture { Tex2 },
texture { Tex3 }
}
}
Post a reply to this message
|
|