Computing desk | ||
---|---|---|
< August 9 | << Jul | August | Sep >> | August 11 > |
Welcome to the Wikipedia Computing Reference Desk Archives |
---|
The page you are currently viewing is an archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages. |
I have installed windows xp after crashing my xp,but i have problem in installing sound driver .A software "driver robot" tell me that this driver is Realtek Ac97 ,i have tried to install it from internet but after many tries it is not properly installed. in device manager at multimedia audio controller ,other then ? mark ,! is appeared-- True path finder ( talk) 13:46, 10 August 2013 (UTC)
Can anyone tell me please how to empty my iPhone of it's photographs, about 800 or so.. Thanks 85.211.204.94 ( talk) 13:46, 10 August 2013 (UTC)
Worked a treat! Many thanks.
85.211.204.94 (
talk) 06:48, 11 August 2013 (UTC)
In making Intel Core chips, I read that they make a wafer of chips. The best ones become i7, the next best ones become i5, and the worst ones that work well enough become i3. A typical i3 has two cores and 3MB of L3 cache. A typical i5 has four cores and 6MB of L3. A typical i7 has four hyperthreaded cores and 8MB of L3. There are clock speed differences too. So if a chip becomes an i5, they actually disable part of the L3 cache and hyperthreading, right? Bubba73 You talkin' to me? 16:31, 10 August 2013 (UTC)
Hello! I need some help understanding something new to me please. I would like to try some things out with affine transformations. As an example, let us say that we have an equilateral triangle defined using an Area Object. How could i take this original area and make three transformations as follows: Each transformation scales the old triangle to 50% and keeps one of the vertices in place. This would create a "Zelda Tri-force" or one of the stages of the Sierpinski triangle. ;)
I know at least that i must take the following steps:
What type of matrices are needed?
Thanks in advance!
PS: Also, can i somehow change an Area object into something that can be filled using the Graphics class? Graphics can fill a poly, and a poly can make an area, but it doesn't look like an area can be made back into a poly! 216.173.145.47 ( talk) 22:40, 10 August 2013 (UTC)
I found out that to scale the shape to 1/2 its size, i need to multiply by the matrix [[1/2][0]][[0][1/2]]. This is the proper affine transformation for scaling by a factor of 1/2. I then need to multiply by a translation matrix, but i cant find the appropriate matrix. Translation Matrix indicates a way to do this for a 3D shape, im using 2D, but the problem with this matrix is that it leaves an extra value, the 1 in the column vector. I therefore don't think this will work with java. i need a different matrix that doesn't leave this stray value right? — Preceding unsigned comment added by 216.173.145.47 ( talk) 09:51, 11 August 2013 (UTC)
I think i know what you are getting at. Yeah, after thinking this over, instead of using an affine transformation, i think its better to just do the math on the locations of the vertices and just make new polygons. However, i still need to convert them into areas and paint those, because i need to use the intersect methods of those to find where the polygons overlap. So, this theoretically gets rid of the affine transformation issue, but i still need to know how i can paint the interior of an Area object. Thanks for your suggestion Wnt :) 216.173.145.47 ( talk) 22:21, 11 August 2013 (UTC)
Here's what to do:
AffineTransform t = new AffineTransform();
t.scale(0.5, 0.5); // half size
t.translate(0.0, 20.0); // move 20 units up (this is just an example; don't do exactly this in your Triforce example)
Path2D.Double somepath = mytriangle();
somepath.transform(t); // apply
static AffineTransform create_radial_translate(double angle,
double magnitude){
AffineTransform t = new AffineTransform();
t.translate(magnitude * Math.cos(angle), magnitude * Math.sin(angle));
return t;
}
Path2D.Double uno = new Path2D.Double(original, create_radial_translate(2.0*Math.PI/3.0, displacement)); // clone, move out at 1/3 rotation
Path2D.Double dos = new Path2D.Double(original, create_radial_translate(4.0*Math.PI/3.0, displacement)); // clone, move out at 2/3 rotation
original.transform(create_radial_translate(0, displacement)); // move original out (it's just a horizontal translate)
That's it. -- Finlay McWalterჷ Talk 13:22, 12 August 2013 (UTC)
Computing desk | ||
---|---|---|
< August 9 | << Jul | August | Sep >> | August 11 > |
Welcome to the Wikipedia Computing Reference Desk Archives |
---|
The page you are currently viewing is an archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages. |
I have installed windows xp after crashing my xp,but i have problem in installing sound driver .A software "driver robot" tell me that this driver is Realtek Ac97 ,i have tried to install it from internet but after many tries it is not properly installed. in device manager at multimedia audio controller ,other then ? mark ,! is appeared-- True path finder ( talk) 13:46, 10 August 2013 (UTC)
Can anyone tell me please how to empty my iPhone of it's photographs, about 800 or so.. Thanks 85.211.204.94 ( talk) 13:46, 10 August 2013 (UTC)
Worked a treat! Many thanks.
85.211.204.94 (
talk) 06:48, 11 August 2013 (UTC)
In making Intel Core chips, I read that they make a wafer of chips. The best ones become i7, the next best ones become i5, and the worst ones that work well enough become i3. A typical i3 has two cores and 3MB of L3 cache. A typical i5 has four cores and 6MB of L3. A typical i7 has four hyperthreaded cores and 8MB of L3. There are clock speed differences too. So if a chip becomes an i5, they actually disable part of the L3 cache and hyperthreading, right? Bubba73 You talkin' to me? 16:31, 10 August 2013 (UTC)
Hello! I need some help understanding something new to me please. I would like to try some things out with affine transformations. As an example, let us say that we have an equilateral triangle defined using an Area Object. How could i take this original area and make three transformations as follows: Each transformation scales the old triangle to 50% and keeps one of the vertices in place. This would create a "Zelda Tri-force" or one of the stages of the Sierpinski triangle. ;)
I know at least that i must take the following steps:
What type of matrices are needed?
Thanks in advance!
PS: Also, can i somehow change an Area object into something that can be filled using the Graphics class? Graphics can fill a poly, and a poly can make an area, but it doesn't look like an area can be made back into a poly! 216.173.145.47 ( talk) 22:40, 10 August 2013 (UTC)
I found out that to scale the shape to 1/2 its size, i need to multiply by the matrix [[1/2][0]][[0][1/2]]. This is the proper affine transformation for scaling by a factor of 1/2. I then need to multiply by a translation matrix, but i cant find the appropriate matrix. Translation Matrix indicates a way to do this for a 3D shape, im using 2D, but the problem with this matrix is that it leaves an extra value, the 1 in the column vector. I therefore don't think this will work with java. i need a different matrix that doesn't leave this stray value right? — Preceding unsigned comment added by 216.173.145.47 ( talk) 09:51, 11 August 2013 (UTC)
I think i know what you are getting at. Yeah, after thinking this over, instead of using an affine transformation, i think its better to just do the math on the locations of the vertices and just make new polygons. However, i still need to convert them into areas and paint those, because i need to use the intersect methods of those to find where the polygons overlap. So, this theoretically gets rid of the affine transformation issue, but i still need to know how i can paint the interior of an Area object. Thanks for your suggestion Wnt :) 216.173.145.47 ( talk) 22:21, 11 August 2013 (UTC)
Here's what to do:
AffineTransform t = new AffineTransform();
t.scale(0.5, 0.5); // half size
t.translate(0.0, 20.0); // move 20 units up (this is just an example; don't do exactly this in your Triforce example)
Path2D.Double somepath = mytriangle();
somepath.transform(t); // apply
static AffineTransform create_radial_translate(double angle,
double magnitude){
AffineTransform t = new AffineTransform();
t.translate(magnitude * Math.cos(angle), magnitude * Math.sin(angle));
return t;
}
Path2D.Double uno = new Path2D.Double(original, create_radial_translate(2.0*Math.PI/3.0, displacement)); // clone, move out at 1/3 rotation
Path2D.Double dos = new Path2D.Double(original, create_radial_translate(4.0*Math.PI/3.0, displacement)); // clone, move out at 2/3 rotation
original.transform(create_radial_translate(0, displacement)); // move original out (it's just a horizontal translate)
That's it. -- Finlay McWalterჷ Talk 13:22, 12 August 2013 (UTC)