|
|
There are several places where MegaPov prints the same line many times
with a differing value. One example is "Sorting photons..." and another
is "Applying 'soft glow' effect".
The problem is that it prints a newline ("\n") after each line.
In Windows this might not be a problem, but in unix it is. It's not nice
to get the console window full of that same line.
Could it be possible to output a "\r" instead of a "\n" in these lines?
A "\n" could be outputted after the last line if necessary.
This will make it output nicely to the same line.
It looks better and saves a bit of resources.
--
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):_;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/
Post a reply to this message
|
|
|
|
In article <3a092947@news.povray.org>, Warp <war### [at] tagpovrayorg>
wrote:
> Could it be possible to output a "\r" instead of a "\n" in these lines?
It can already do this. Add this line to config.h and recompile:
#define ProgressOnOneLine
--
Christopher James Huff
Personal: chr### [at] maccom, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tagpovrayorg, http://tag.povray.org/
<><
Post a reply to this message
|
|