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
7 May 2024 07:00:32 EDT (-0400)
  Re: My idea: Developers need tips! Help me, please!  
From: LanuHum
Date: 31 Oct 2016 10:00:01
Message: <web.58174d25397eea9f7a3e03fe0@news.povray.org>
clipka <ano### [at] anonymousorg> wrote:
> Am 30.10.2016 um 11:16 schrieb LanuHum:
>
> My personal recommendation would be to add another keyword, e.g.
> "blender_object", write completely separate code to parse that, and use
> a string rather than an identifier to specify the Blender-internal name:
>
>     #declare Foo = blender_object { "foo" }
>
> The code would be something like:
>
>     char *s;
>     ...
>     CASE(BLENDER_OBJECT_TOKEN)
>         Parse_Begin();
>         s = Parse_C_String();
>         Object = addBlenderObject(std::string(s));
>         POV_FREE(s);
>         Parse_End();
>     END_CASE
>
>


Thanks!


Post a reply to this message

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