POV-Ray : Newsgroups : povray.programming : Another weird idea : Another weird idea Server Time
28 Jul 2024 10:20:17 EDT (-0400)
  Another weird idea  
From: Apache
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

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