POV-Ray : Newsgroups : povray.windows : Modern Pov-Ray & Modern AI: chat-style generated scripts fail. : Re: Modern Pov-Ray & Modern AI: chat-style generated scripts fail. Server Time
5 Feb 2025 18:03:38 EST (-0500)
  Re: Modern Pov-Ray & Modern AI: chat-style generated scripts fail.  
From: Bald Eagle
Date: 5 Feb 2025 12:25:00
Message: <web.67a39df0713242dc52b3ee0425979125@news.povray.org>
"Kenneth" <kdw### [at] gmailcom> wrote:
> The AI-generated Pyramid macro is also badly composed:
>         #macro Pyramid(position, size)
>
> The lowercase 'size' variable used there is actually a POV-ray preserved
> keyword, meant only for use in a 'facets' pattern-- which has nothing to do with
> that particular macro. So the code would probably fail even with the additional
> closing bracket that Bald Eagle mentioned.

There are a lot of different AI packages, and I would assume each has their
particular strengths and weaknesses.

I have access to M$ CoPilot - which seems to do a truly suprisingly good job
with certain algorithms and SDL syntax - and then just completely drops the ball
when I try to model something which is (to me) comparatively simple, like
twisted rope.

> The AI generator should have written it differently, like  Size  or  SIZE  or
> something else, to be different from the keyword. Apparently 'the Brain' hasn't
> learned such syntax rules yet ;-)

Try a different AI model, or post a request for submitting your prompt to
another user's AI.

It's also just a good idea to hunt through your code and use it as a way to
learn proper SDL syntax, and good code formatting.


Post a reply to this message

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