POV-Ray : Newsgroups : povray.binaries.programming : My idea: Developers need tips! Help me, please! : Re: My idea: Developers need tips! Help me, please! Server Time
23 Apr 2024 03:38:52 EDT (-0400)
  Re: My idea: Developers need tips! Help me, please!  
From: clipka
Date: 4 Nov 2016 13:59:09
Message: <581ccc6d$1@news.povray.org>
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

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