03-28-2012
Bumping up posts or double posting is not permitted in these forums.
Please read the
rules, which you agreed to when you registered, if you have not already done so.
You may receive an infraction for this. If so, don't worry, just try to follow the rules more carefully. The infraction will expire in the near future
Thank You.
The UNIX and Linux Forums.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have an array "arrA" with the following contents:
A0012 Paint Shop.doc
ES001 Contract Signature.doc
Budget Plan.pdf
TS PWS.pdf
My data file "Files.dat" has the same contents:
A0012 Paint Shop.doc
ES001 Contract Signature.doc
Budget Plan.pdf
TS PWS.pdf
I have a script that compares... (0 Replies)
Discussion started by: orahi001
0 Replies
2. Shell Programming and Scripting
hi everyone -
i have a bash script that does, in broad terms, the following:
given a file containing a list of email accounts, for every account, do , then move on to the next account. pretty simple, and all that stuff works fine.
thing is, there's a very good change that any account... (2 Replies)
Discussion started by: fearboy
2 Replies
3. UNIX for Dummies Questions & Answers
# tail myprocesses.txt
178 processes at Tue Oct 21 14:33:01 IST 2008
16 MySQL processes at Tue Oct 21 14:33:01 IST 2008
175 processes at Tue Oct 21 14:36:01 IST 2008
60 MySQL processes at Tue Oct 21 14:36:01 IST 2008
192 processes at Tue Oct 21 14:39:01 IST 2008
64 MySQL processes at Tue Oct... (2 Replies)
Discussion started by: shantanuo
2 Replies
4. Shell Programming and Scripting
Hi,
In a kshell , i need to compare the results of two array .
each Non-match value should copy to a new array.
For example:
==========
Array one contain the following values:
A
B
C
Array two contain the following values:
C
F
A
E
After comparing this arrays , a new array should... (4 Replies)
Discussion started by: yoavbe
4 Replies
5. UNIX for Dummies Questions & Answers
Using the bash shell I am trying to read in 2 files. The first file (file1) is a list of names to search for in (file2). If a name in file1 is found in file2 I want the entire line in file2 to be printed to an output file. File1 consists of a single column of names. File2 consists of several... (2 Replies)
Discussion started by: lanna001
2 Replies
6. Shell Programming and Scripting
i have an array call ignore. it is set up
ignore=34th56
ignore=re45ty
ignore=rt45yu
.
.
ignore=rthg34
n is a variable. I have another variable that i read from a different file. It is $2 and it is working the way i expect. array ignore read and print correct values.
in the below if... (2 Replies)
Discussion started by: usustarr
2 Replies
7. Shell Programming and Scripting
Hi, I just wondering if I want to compare previous value to next value if it same count + 1 if not doesn't count how do we compare in Perl? Thank (2 Replies)
Discussion started by: guidely
2 Replies
8. Shell Programming and Scripting
ok, so here is the issue, I have 2 arrays.
I need to be able to create a loop that will find ${ARRAY1 in the text doc, and replace it with ${ARRAY2 then write the results. I already have that working. The problem is, I need it to do that same result across however many items are in the 2... (2 Replies)
Discussion started by: gentlefury
2 Replies
9. UNIX for Dummies Questions & Answers
Hi all,
Currently i am facing issue using if command to compare to array value.
can someone help me?
if }" -gt "${ZDATE_1}" ]
then
do
echo "red"
else
echo "green"
fi
done
i have checked array is giving values fine but there seems some issue with if command. (2 Replies)
Discussion started by: amyt1234
2 Replies
10. Shell Programming and Scripting
Hello,
i have a script that should compare between ${ARRAY}
that contains all fstab record like this :
>>echo ${ARRAY}
/ /boot
between all mountpoints in my df that is stord in ${ARRAY2}
>>echo ${ARRAY2}
/ /boot /dev/shm /var/spool/asterisk/monitor
now i have this loop:
for i in... (6 Replies)
Discussion started by: batchenr
6 Replies
LEARN ABOUT DEBIAN
vbo_rendering
vbo_rendering(3) Coin vbo_rendering(3)
NAME
vbo_rendering - Vertex array and VBO rendering in Coin Coin 2.5 added improved support for OpenGL vertex array and VBO rendering. This
might lead to major rendering performance improvements compared to the old rendering code. The new rendering code has been added for the
SoIndexedFaceSet, SoVRMLIndexedFaceSet, SoIndexedLineSet, SoVRMLIndexedLineSet, SoPointSet and SoVRMLPointSet nodes.
To take advantage of the improved performance vertex array and VBO rendering yields, you'll need to organize your vertex data in a way that
makes it possible to render it with OpenGL vertex arrays. OpenGL vertex array rendering does not support multiple index arrays, so all your
vertex data (coordinates, normals, colors and texture coordinates) must use the same index array; or use OVERALL binding. For the indexed
nodes, this means that PER_VERTEX_INDEXED and OVERALL are the only supported bindings for materials, normals and texture coordinates. When
PER_VERTEX_INDEXED binding is used, the corresponding index field should by empty. This will signal the shape to use the coordIndex field
for indices. Below is an example scene graph that will be rendered using vertex arrays:
NormalBinding { value PER_VERTEX_INDEXED }
Coordinate3 {
point [
0 0 0, # 0
1 0 0, # 1
2 0 0, # 2
0 1 0, # 3
1 1 0, # 4
2 1 0, # 5
0 2 0, # 6
1 2 0, # 7
2 2 0, # 8
2 0 0, # 9
2 0 -1, # 10
2 1 0, # 11
2 1 -1, # 12
2 2 0, # 13
2 2 -1 # 14
]
}
Normal {
vector [
0 0 1, # 0
0 0 1, # 1
0 0 1, # 2
0 0 1, # 3
0 0 1, # 4
0 0 1, # 5
0 0 1, # 6
0 0 1, # 7
0 0 1, # 8
1 0 0, # 9
1 0 0, # 10
1 0 0, # 11
1 0 0, # 12
1 0 0, # 13
1 0 0 # 14
]
}
IndexedFaceSet {
coordIndex [
0, 1, 4, 3, -1,
1, 2, 5, 4, -1,
3, 4, 7, 6, -1,
4, 5, 8, 7, -1,
9, 10, 12, 11, -1,
11, 12, 14, 13, -1
]
normalIndex [ ] # = use coordIndex
}.fi
Please note that since only one index array can be used, it might be necessary to supply duplicate normals and coordinates to meet this requirement.
Also, if normals are needed, you have to supply them. A shape with autogenerated normals can't be rendered using vertex arrays (since a single coordinate might get multiple normals).
The PointSet nodes can always be rendered using vertex arrays since these nodes haven't got index arrays, and the only bindings supported are PER_VERTEX and OVERALL.
If it's inconvenient to create vertex array ready scene graphs directly from your application, it's also possible to use SoReorganizeAction to reorganize the geometry before rendering.
Version 3.1.3 Wed May 23 2012 vbo_rendering(3)