Click here to Skip to main content
15,899,679 members
Home / Discussions / Algorithms
   

Algorithms

 
QuestionSubset Packing problem Pin
Ehsan_DSI20-May-08 23:04
Ehsan_DSI20-May-08 23:04 
AnswerRe: Subset Packing problem Pin
73Zeppelin21-May-08 21:10
73Zeppelin21-May-08 21:10 
QuestionRqst links for Time Complexity Pin
Vijjuuu.19-May-08 21:19
Vijjuuu.19-May-08 21:19 
AnswerRe: Rqst links for Time Complexity Pin
73Zeppelin22-May-08 0:21
73Zeppelin22-May-08 0:21 
GeneralRe: Rqst links for Time Complexity Pin
Vijjuuu.22-May-08 3:43
Vijjuuu.22-May-08 3:43 
GeneralRe: Rqst links for Time Complexity Pin
73Zeppelin22-May-08 19:50
73Zeppelin22-May-08 19:50 
QuestionExtracting shear X&Y from 3x3 affine transformation matrix Pin
Jim Crafton19-May-08 10:27
Jim Crafton19-May-08 10:27 
AnswerRe: Extracting shear X&Y from 3x3 affine transformation matrix Pin
Anthony Mushrow19-May-08 11:08
professionalAnthony Mushrow19-May-08 11:08 
Well, the ShearX and ShearY values would be here:
1, Y, 0,
X, 1, 0,
0, 0, 1

If you already know how to apply shear to a matrix, whats so hard about getting the values? Am i completely missing something?

Infact, how are you getting the other values? If i were to scale along the x-axis by 2, and the y-axis by 3. Then translate by (5,3) i would end up with this matrix:
2, 0, 0
0, 3, 0
10,9, 1


But if i translate then scale we just get:
2, 0, 0
0, 3, 0
5, 3, 1


So how can you know what order transformations where done in, without knowing what transformations where applied and vice versa?

My current favourite word is: I'm starting to run out of fav. words!
-SK Genius

Game Programming articles start -here[^]-

GeneralRe: Extracting shear X&Y from 3x3 affine transformation matrix Pin
Jim Crafton20-May-08 2:54
Jim Crafton20-May-08 2:54 
GeneralRe: Extracting shear X&Y from 3x3 affine transformation matrix Pin
Anthony Mushrow20-May-08 3:31
professionalAnthony Mushrow20-May-08 3:31 
AnswerRe: Extracting shear X&Y from 3x3 affine transformation matrix Pin
73Zeppelin19-May-08 19:21
73Zeppelin19-May-08 19:21 
AnswerRe: Extracting shear X&Y from 3x3 affine transformation matrix Pin
Arash Partow29-May-08 23:37
Arash Partow29-May-08 23:37 
QuestionLong and Int64 Pin
MumbleB15-May-08 20:18
MumbleB15-May-08 20:18 
AnswerRe: Long and Int64 Pin
Ed.Poore15-May-08 21:18
Ed.Poore15-May-08 21:18 
GeneralRe: Long and Int64 Pin
CPallini15-May-08 21:37
mveCPallini15-May-08 21:37 
GeneralRe: Long and Int64 Pin
Ed.Poore15-May-08 21:48
Ed.Poore15-May-08 21:48 
AnswerRe: Long and Int64 Pin
MarkB77715-May-08 21:28
MarkB77715-May-08 21:28 
AnswerRe: Long and Int64 Pin
cp987615-May-08 21:46
cp987615-May-08 21:46 
AnswerRe: Long and Int64 Pin
Mark Churchill18-May-08 4:34
Mark Churchill18-May-08 4:34 
AnswerRe: Long and Int64 Pin
PIEBALDconsult5-Jun-08 8:14
mvePIEBALDconsult5-Jun-08 8:14 
AnswerRe: Long and Int64 Pin
Tadeusz Westawic13-Jun-08 3:28
Tadeusz Westawic13-Jun-08 3:28 
QuestionCounting bricks from image Pin
asiv14-May-08 23:04
asiv14-May-08 23:04 
AnswerRe: Counting bricks from image Pin
Matthew Butler15-May-08 1:34
Matthew Butler15-May-08 1:34 
GeneralRe: Counting bricks from image Pin
asiv15-May-08 2:34
asiv15-May-08 2:34 
GeneralRe: Counting bricks from image Pin
Tim Craig15-May-08 17:31
Tim Craig15-May-08 17:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.