» Home » Transformation » Page 1
Graphics2D transformation result does not match manual transformation
Category : Programming Languages

I am using Java's Graphics2D to draw on a component using AffineTransform's to manipulate my drawing.
Graphics2D offers an method transform for this, which takes an AffineTransform.

Sometimes I need to manipulate a point manually without using the builtin-transformation.
But when I try to transform a point using the same transformation I gave to Graphics2D.transform someti

View Replies

OpenGL revert all transformation done by a transformation matrix
Category : Development Tools & Services

i would like to aplly a reverse transformation matrix in a point.
What is it for?:
My app (game) apply transformation into several squares objects, each one has its own transformation matrix that are applyied when drawing it.

But i need to know if the mouse are over each object. so , for each object, I get the mouse position, and try to apply all transformations reverse

View Replies

Burrows Wheeler Transformation - Transformation Vector
Category : Coding

After transforming the input text of "abracdabra!", my transformation vector is [3, 0, 5, 6, 7, 9, 10, 8, 2, 1, 4], the text is then piped through a few more transformations and compressed to disk.

After closing the program, we obviously no longer have access to the transformation vector. Are we expected to write the transformation vector to disk? Wouldn't the size of the vector ac

View Replies

3d Transformation for a view's subview, with parent view having 3d transformation
Category : Operating Systems

I've transformed a view with CATransform3d 'm24' value.
Now, i've sub views within the view. I want to apply 3d transformation to a subview. I've tried applying it, but there is no change in the subview's perspective. It is the same as without transformation. Please help.

CALayer *layer = self.gameView1.layer;
CATransform3D rotationAndPerspectiveTransform = CATr

View Replies

CSS Transformation
Category : Coding

how can I change with CSS (-moz-transform) a div that should look like this:

View Replies

3D transformation WPF
Category : Programming Languages

I draw two spheres in 3d WPF which has points like Point3D(0,0,0) and Point3D(-1.0,1.0,2.0) with the radius is 0.10

Now i want to draw a Cylinder joining these spheres, the only thing i have for this is radius 0.02. I want to know how to calculate the 3d point, height, direction etc for this cylinder.

I tried by finding the midpoint btw sphere points, it's placing the cy

View Replies

How can I do 3D transformation in WPF?
Category : Programming Languages

In flash10 I can easly rotate an image around its center in 3D space.

The flash10 example I have is at http://jsc.sourceforge.net/examples/web/MatrixStuffExample/Application.htm

I want to port this example to WPF.

Is there an example how to do such 3D transformation in WPF within C# without XAML?

In silverlight 3 you'd be using Matrix3DProje

View Replies

How the transformation is possible?
Category : Programming Languages
int[] numbers = { 5, 4, 1, 3, 9, 8, 6, 7, 2, 0 };
string[] strings = { "zero", "one", "two", "three", "four", "five", "six",
"seven","eight", "nine" };
var textNums =
from n in numbers
select strings[n];
Console.WriteLine("Number strings:");
foreach (var s in textNums)

View Replies

PDF to XML transformation?
Category : Development Tools & Services

Can we convert PDF file to XML using XSLT Transformation?


View Replies

Am I using the Fourier transformation the right way?
Category : Programming Languages

I am wondering if I am using Fourier Transformation in MATLAB the right way. I want to have all the average amplitudes for frequencies in a song. For testing purposes I am using a free mp3 download of Beethovens "For Elise" which I converted to a 8 kHz mono wave file using Audacity.

My MATLAB code is as follows:

clear all % be careful
% load file
% Für Elis

View Replies

2012 / 2017 Copyrights BigHow , All Rights Reserved .