02-22-2016
It usually pays off to post adequate, representative (mayhap abbreviated) samples helping to describe the problem in more detail, so solutions can be neatly tailored.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hi,
i have little pb, i would like make a colums, but my server not recongize "\t" or i write wrong.... and iam little noobs and no know awk...
#!/bin/ksh
#----------------------------------------------------------------------------
# Fichiers : ctrl.sh et ctrl2005.txt ... (6 Replies)
Discussion started by: parola
6 Replies
2. Shell Programming and Scripting
hi all ,
i have three files that contain numbes as the first column .
i want to add these files together so the numbers from the first file is in the first column ; the numbers from the second file in the second column; and the numbers from the third file in the third column .
as an... (5 Replies)
Discussion started by: ppass
5 Replies
3. Shell Programming and Scripting
Hi,
I have an urgent task here. I am required to sort a flat file based on multiple columns which are based on the character position in that line. I am restricted to use the character position instead of the space and sort +1 +2 etc to do the sorting.
I understand that there is a previous... (8 Replies)
Discussion started by: cucubird
8 Replies
4. Shell Programming and Scripting
Hi Everybody.
I need an urgent help, it would be great if somebody will help me out in this regard. See below sample file
1525 805 26 2036 219644. 2598293.
1525 805 126 2327
1525 805 226 ... (6 Replies)
Discussion started by: syahmed
6 Replies
5. Solaris
Hi guys,
I usualy am able to google awk stuff but I can't find it so far and there are so many awking gurus here that I will give it a shot.
I want to print $1;$3;"$5 up to the $NF". In other words, I can have 1000 colums, but need to have $5 up to the end.
I started with the idea of... (2 Replies)
Discussion started by: plmachiavel
2 Replies
6. Shell Programming and Scripting
I want to rearrange some of my columns in my dat file; how do i do this using a script
Suppose, I have an input file like this:
BASENAME STREETTYPE PREFIX SUFFIX HOUSENUMBER BUILDUP ORDER8 ORDER2 ORDER1 ISOCOUNTRYCODE POSTALCODE
SILVER LAKE RD NW 1135 NEW BRIGHTON RAMSEY MINNESOTA USA 55112... (4 Replies)
Discussion started by: ramky79
4 Replies
7. Shell Programming and Scripting
Need help to convert the following data
Account name: admin
Role: admin
Description: Administrator
Enabled: Yes
to
Account Name Role Description Enabled
admin admin Administrator Yes
Perl or AWK?
Thanks
San (9 Replies)
Discussion started by: sanguy
9 Replies
8. Shell Programming and Scripting
Hi all,
I have a text file that has (4) columns. There are about 300 lines on this file. It is a plain text file. I am looking to write a simple script that will read each line from the file and generate another text file. The file looks something like this:
These are the columns:
... (4 Replies)
Discussion started by: adamw
4 Replies
9. Shell Programming and Scripting
Hi ,
I am trying to write a part in shell script. I have two files with one column each and would like to output it to a new file giving the records which are different.Pls help experts.
File1
Column name
11
12
13
14
18
File2
Column name
11
12
14
17
19 (2 Replies)
Discussion started by: Rossdba
2 Replies
10. UNIX for Dummies Questions & Answers
Sample Input File
2014/10/09 CDE876172588765 00:09:45 00:10:10 200 200 11.7093
2014/10/09 CDE366134588757 01:04:34 01:04:54 210 210 9.8898
2014/10/09 CDE765172345745 03:05:46 03:06:01 100 100 10.0601
2014/10/09 ... (8 Replies)
Discussion started by: rpm120
8 Replies
LEARN ABOUT DEBIAN
pmdblur
PMDBLUR(1) General Commands Manual PMDBLUR(1)
NAME
pmdblur - generate views for combined camera motion and depth blurring
SYNOPSIS
pmdblur speed aperture nsamp v0file v1file
DESCRIPTION
Pmdblur takes two viewfiles and generates nsamp views starting from v0file and moving towards v1file, simulating an aperture of diameter
aperture in world coordinate units. When rendered and averaged together, these views will result in a picture with motion and depth-of-
field blur due to a camera changing from v0 to v1 in a relative time unit of 1, whose shutter is open starting at v0 for speed of these
time units. Either pinterp(1) or rpict(1) may be called to do the actual work. (The given v0file must also be passed on the command line
to the chosen renderer, since pmdblur provides supplemental view specifications only.)
For pinterp, feed the output of pmdblur to the standard input of pinterp and apply the -B option to blur views together. In most cases,
two pictures with z-buffers at v0 and v1 will get a satisfactory result, though the perfectionist may wish to apply the -ff option together
with the -fr option of pinterp.
To use pmdblur with rpict, apply the -S option to indicate a rendering sequence, and set the -o option with a formatted file name to save
multiple output pictures. When all the renderings are finished, combine them with the pcomb(1) program, using appropriate scalefactors to
achieve an average. Note that using rpict is MUCH more expensive than using pinterp, and it is only recommended if the scene and applica-
tion absolutely demand it (e.g. there is prominent refraction that must be modeled accurately).
For both pinterp and rpict, the computation time will be proportional to the number of views from pmdblur. We have found a nsamp setting
somewhere between 7 and 15 to be adequate for most images. Relatively larger values are appropriate for faster camera motion.
The -pm and/or -pd options of rpict may be used instead or in combination to blur animated frames, with the added advantage of blurring
reflections and refractions according to their proper motion. However, this option will result in more noise and expense than using pmd-
blur with pinterp as a post-process. If both blurring methods are used, a smaller value should be given to the rpict -pm option equal to
the shutter speed divided by the number of samples, and the -pd option equal to the aperture divided by the number of samples. This will
be just enough to blur the boundaries of the ghosts which may appear using pmdblur with a small number of time samples.
To simulate a particular camera's aperture, divide the focal length of the lens by the f-number, then convert to the corresponding world
coordinate units. For example, if you wish to simulate a 50mm lens at f/2.0 in a scene modeled in meters, then you divide 50mm by 2.0 to
get 25mm, which corresponds to an effective aperture of 0.025 meters.
EXAMPLES
To use pinterp to simulate motion blur between two frames of a walk-through animation, where the camera shutter is open for 1/4 of the
interframe distance with an aperture of 0.1 world units:
pmdblur .25 .1 8 fr1023.hdr fr1024.hdr | pinterp -B -vf fr1023.hdr -x 640 -y 480 fr1023.hdr fr1023.zbf fr1024.hdr fr1024.zbf >
fr1023b.hdr
AUTHOR
Greg Ward
SEE ALSO
pcomb(1), pdfblur(1), pinterp(1), pmblur(1), rcalc(1), rpict(1), vwright(1)
RADIANCE
1/17/05 PMDBLUR(1)