8 More Discussions You Might Find Interesting
1. Hardware
Dear all,
Would you know how to measure the max speed of a WIFI connection between a router and a laptop for instance?
Many thanks for your help!
Regards, (3 Replies)
Discussion started by: freddie50
3 Replies
2. AIX
Hello all. I'm new to AIX and IBM hardware and I have a question around the configuration of the service processor on the power series. I need to know:
1) How do I get into the service processor from the serial console when AIX is up and running. I come from the Sun world and I tried all I know.... (1 Reply)
Discussion started by: glenc2004
1 Replies
3. Hardware
I am now on Kernel 2.6.32-26
For me 16x CD write speed is okay.
I have old hardware which was able to write DVDs at 1x, back in previous linux version.
Now, I dont get speed of less than 4x.
Tested on k3b, xfburn, and brasero. But all start at bottom 4x write speed. k3b forced back to... (0 Replies)
Discussion started by: makh
0 Replies
4. Solaris
Hi,
I have a SunFire 280R abd when I boot it there is a hardware check running and it fails. Here is a long output of the test
rsc> poweron
Are you sure you want to turn your system power on (Yes/No)? yes
rsc> console
RSC Alert: Host System has Reset
@(#)OBP 4.5.10 2002/02/11 10:39... (2 Replies)
Discussion started by: Tex-Twil
2 Replies
5. AIX
Hi, im getting a core dump file in a AIX machine while using a complex c++ program. The same program is working without any core error in another system with sun OS 5.9. The program has used structs, LL's and lots of call by references. What may be the reason. will it be a problem with the OS ? (3 Replies)
Discussion started by: suresh_kb211
3 Replies
6. UNIX for Advanced & Expert Users
Need to make a very fast file existence checker. Passing in 20-50K num of files
In the code below ${file} is a file with a listing of +20,000 files. test_speed is the script. I am commenting out the results of <time test_speed try>.
The normal "test -f" is much much too slow when a system... (2 Replies)
Discussion started by: nullwhat
2 Replies
7. AIX
I am looking to buy a 7044 - either a 170 or 270.
From what I can find on web searchs the 170 is NOT upgradable to more that one CPU? Is that correct?
Can I upgrade the planer on a 170 to a 270 to support multiple CPU's?
Does anyone have any other suggestion for AIX hardware? (5 Replies)
Discussion started by: dizman67
5 Replies
8. AIX
Hi,
We have IBM P-Series servers (P690, P650) equiped with AIX 5.2.
Further we have 10/100 MB ethernet cards in P650 and 10/100/1000 MB ethernet cards in P690 servers. Servers are on a LAN connected with Cisco 3750 catalyst switch. FTP from one server to another is very slow,,,even 3-4 MB... (3 Replies)
Discussion started by: aqeelcu@hotmail
3 Replies
GLGETMATERIAL(3G) GLGETMATERIAL(3G)
NAME
glGetMaterialfv, glGetMaterialiv - return material parameters
C SPECIFICATION
void glGetMaterialfv( GLenum face,
GLenum pname,
GLfloat *params )
void glGetMaterialiv( GLenum face,
GLenum pname,
GLint *params )
PARAMETERS
face Specifies which of the two materials is being queried. GL_FRONT or GL_BACK are accepted, representing the front and back materi-
als, respectively.
pname Specifies the material parameter to return. GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_EMISSION, GL_SHININESS, and GL_COLOR_INDEXES
are accepted.
params Returns the requested data.
DESCRIPTION
glGetMaterial returns in params the value or values of parameter pname of material face. Six parameters are defined:
GL_AMBIENT params returns four integer or floating-point values representing the ambient reflectance of the material. Integer
values, when requested, are linearly mapped from the internal floating-point representation such that 1.0 maps to the
most positive representable integer value, and -1.0 maps to the most negative representable integer value. If the
internal value is outside the range [-1, 1], the corresponding integer return value is undefined. The initial value
is (0.2, 0.2, 0.2, 1.0)
GL_DIFFUSE params returns four integer or floating-point values representing the diffuse reflectance of the material. Integer
values, when requested, are linearly mapped from the internal floating-point representation such that 1.0 maps to the
most positive representable integer value, and -1.0 maps to the most negative representable integer value. If the
internal value is outside the range [-1, 1], the corresponding integer return value is undefined. The initial value
is (0.8, 0.8, 0.8, 1.0).
GL_SPECULAR params returns four integer or floating-point values representing the specular reflectance of the material. Integer
values, when requested, are linearly mapped from the internal floating-point representation such that 1.0 maps to the
most positive representable integer value, and -1.0 maps to the most negative representable integer value. If the
internal value is outside the range [-1, 1], the corresponding integer return value is undefined. The initial value
is (0, 0, 0, 1).
GL_EMISSION params returns four integer or floating-point values representing the emitted light intensity of the material. Inte-
ger values, when requested, are linearly mapped from the internal floating-point representation such that 1.0 maps to
the most positive representable integer value, and -1.0 maps to the most negative representable integer value. If
the internal value is outside the range [-1, 1.0], the corresponding integer return value is undefined. The initial
value is (0, 0, 0, 1).
GL_SHININESS params returns one integer or floating-point value representing the specular exponent of the material. Integer val-
ues, when requested, are computed by rounding the internal floating-point value to the nearest integer value. The
initial value is 0.
GL_COLOR_INDEXES params returns three integer or floating-point values representing the ambient, diffuse, and specular indices of the
material. These indices are used only for color index lighting. (All the other parameters are used only for RGBA
lighting.) Integer values, when requested, are computed by rounding the internal floating-point values to the near-
est integer values.
NOTES
If an error is generated, no change is made to the contents of params.
ERRORS
GL_INVALID_ENUM is generated if face or pname is not an accepted value.
GL_INVALID_OPERATION is generated if glGetMaterial is executed between the execution of glBegin and the corresponding execution of glEnd.
SEE ALSO
glMaterial(3G)
GLGETMATERIAL(3G)