POV-Ray : Newsgroups : povray.programming : Another weird idea Server Time
23 Dec 2024 22:10:43 EST (-0500)
  Another weird idea (Message 1 to 4 of 4)  
From: Apache
Subject: Another weird idea
Date: 7 Feb 2002 01:58:51
Message: <3c6225ab$1@news.povray.org>
Is it possible to convert strings to pov statements and vice versa?

If possible, the string "camera {location  <0.0, 0.5, -4.0> direction 1.5*z
right x*image_width/image_height look_at <0.0, 0.0,  0.0>}" would become a
regular piece of pov-script like this:

camera {location  <0.0, 0.5, -4.0>direction 1.5*z right
x*image_width/image_height look_at <0.0, 0.0,  0.0>}


And is it possible to convert strings like "123.983458" to plain variables
without traversing the string and do it all by povscript?


Post a reply to this message

From:
Subject: Re: Another weird idea
Date: 7 Feb 2002 03:07:40
Message: <78d46uslhb9e0qan6kfc02634jm8d4esqt@4ax.com>
On Thu, 7 Feb 2002 08:15:41 +0100, "Apache" <apa### [at] yahoocom> wrote:
> Is it possible to convert strings to pov statements and vice versa?

Parse_String() in 3.5 - last paragraph of
http://www.povray.org/working-docs/id000276.html

ABX


Post a reply to this message

From: Grey Knight
Subject: Re: Another weird idea
Date: 7 Feb 2002 06:08:15
Message: <3C626015.841E935F@namtar.qub.ac.uk>
You meant,

http://www.povray.org/working-docs/id000277.html

right?

-- 
signature{
  "Grey Knight" contact{ email "gre### [at] yahoocom" }
  site_of_week{ url "http://digilander.iol.it/jrgpov" }
}


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: Another weird idea
Date: 7 Feb 2002 17:45:50
Message: <3c63039e@news.povray.org>
In article <3C626015.841E935F@namtar.qub.ac.uk> , Grey Knight 
<s16### [at] namtarqubacuk>  wrote:

> You meant,
>
> http://www.povray.org/working-docs/id000277.html
>
> right?

Depends.  Take a look at the last change to the docs (the date, in local
server time, is on the page).  The section/page may have changed between his
and your post ;-)

    Thorsten

____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde

Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

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