|
|
Hello.
I'd like to enter parameters in my images and videos.
The POV or INC file should tell me message and ask me the value of the
parameter, during the render.
I can do it with a software that changes the POV or INC files, depending of the
parameters I write, but it's not perfect for games.
Something like this (see
https://fr.wikipedia.org/wiki/Liste_de_programme_Hello_world#POV-Ray for the
original POV):
#include "colors.inc"
camera {
location <3, 1, -10>
look_at <3,0,0>
}
light_source { <500,500,-1000> White }
#input{"What's your name?" name } // HERE!
//#declare name="RedGuff"; // For test.
text {
ttf "timrom.ttf" "Hello" 1, 0
pigment { White }
}
text {
ttf "timrom.ttf" name 1, 0
pigment { Red }
translate <0,-2,0>
}
Thanks.
Post a reply to this message
|
|