From: Greg Ercolano <erco@(email surpressed)> Subject: Re: Vray Files Date: Sat, 07 Apr 2012 11:50:42 -0400 |
Msg# 2204 View Complete Thread (1 article) | All Threads Last Next |
On 04/06/12 18:51, Mr. Daniel Browne wrote: > Here are the samples; in the 1009 frame log the lines that fail to display > are all the "Rendering image...:" ones (and pretty much everything else) > under the Vray standalone section. I see. The issue here is vray's "progress bar" information. Vray standalone is printing the progress output 'all on one line'; vray thinks the output is going to a terminal when it's not, and is trying to do 'line overstrike' to show the progress all on the same line. Vray should really be doing an isatty() test on stdout to see if the output is going to a terminal, and if it is, use the technique it's using, and if it's not, use \n's between each line instead of \r's so that it ends up printing real lines of text instead of overstriking that can be viewed properly (consistently) in text editors. Try viewing that 1009 log file with different programs, and you'll likely see very different results in each due to this issue: cat /tmp/1009 -- shows only one line of output from vray more /tmp/1009 -- shows many lines vi /tmp/1009 -- shows one really long line (screenshot#1 attached) Each program views the data differently because the progress lines aren't real "lines"; it's /one long line/ of overstrikes. There's a setting in irush for displaying data like this; try turning OFF the Edit -> Preferences -> Use Tty Overstrike option, then view the log again. It should look like screenshot #2, which is probably what you want. Perhaps vray has a flag to control this progress output. But it really should do the isatty() test described above to detect this automatically. -- Greg Ercolano, erco@(email surpressed) Seriss Corporation Rush Render Queue, http://seriss.com/rush/ Tel: (Tel# suppressed)ext.23 Fax: (Tel# suppressed) Cel: (Tel# suppressed) Attachment:
1009-in-vi.png Attachment:
1009-in-irush-with-tty-overstrike-off.png |
Last Next |