|
|
Hi(gh)!
Now, thanks to your advices, the generation process proper of the mesh2s
from ASTER data has started... and as doing this by hand would be
unnecessarily slow, I would like to know whether it is possible to give
a POV-Ray script values from the shell command line - in this case, it
would be the geographical coordinate and the resolution (for different
levels of detail - 225, 450, 900, 1800 or full 3601) of the tile to
generate...
See you in Khyberspace!
Yadgar
Post a reply to this message
|
|
|
|
hi,
Yadgar wrote:
> Now, thanks to your advices, the generation process proper of the mesh2s
> from ASTER data has started... and as doing this by hand would be
> unnecessarily slow, I would like to know whether it is possible to give
> a POV-Ray script values from the shell command line - in this case, it
> would be the geographical coordinate and the resolution (for different
> levels of detail - 225, 450, 900, 1800 or full 3601) of the tile to
> generate...
see
<http://wiki.povray.org/content/Reference:Scene_Parsing_Options#Index_Entry_declare_ini-option>
however, that's only good for numbers. I take it you now keep each mesh in its
own .inc file? in which case you could consider putting file name, geolocation,
and resolution into a simple text file, "kabul.dat" or whichever, and read this
at the beginning of the scene, initialising from that data. once that works,
you could change the text data file name to 'current.dat' or something, and use
the symbolic links available in Linux, eg, say you have 'kabul.dat' and
'tblisi.dat',
and a symlink made like:
$ rm -f current.dat
$ ln -s tblisi.dat !$
ie deleting the old link, then remaking it with the new file name. that way,
then, you don't need to edit the scene anymore.
regards, jr.
Post a reply to this message
|
|