POV-Ray : Newsgroups : povray.advanced-users : User input : Re: User input Server Time
14 May 2024 17:30:36 EDT (-0400)
  Re: User input  
From: John Greenwood
Date: 9 Jun 2015 08:10:00
Message: <web.5576d63410c95335a7cafab50@news.povray.org>
clipka <ano### [at] anonymousorg> wrote:
> Am 07.06.2015 um 11:14 schrieb John Greenwood:
> > I have a povray program that I want to run a number of times in an evolutionary
> > process.
> >
> > When it runs it displays a starting object and a number of alternative versions
> > produced by varying a few parameters. I want to select the alternative that is
> > nearest to what I want and make it the new starting point and repeat.
> >
> > I cannot find any provision for user input in povray itself and wonder if there
> > is any sort of provision in an .ini file that could do the job?
>
> Maybe what you want is an animation with Post_Frame_Command set in the
> .ini file, to call a small interactive script that modifies an .inc file
> after each frame depending on user input.

I think what I am looking for must be "Small interactive script". Ideally I
would like to run my .pov program and be able to click on the best result and
have the program run again with new starting parameters taken from the selected
result.

Incidentally my programs are a utility to find the best colour. It displays a
sphere with a starting colour and surrounds it with an array of spheres with
slightly differing hue, saturation and luminance.

I have posted these at: http://www.john-greenwood.co.uk/PovRay/BendColours/
(Note that this is just for discussion and I am still working on it.)

This sort of evolutionary approach could be useful for other situations such as
finding the best texture or shape of a blob.

John


Post a reply to this message

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