Click here to Skip to main content
15,903,012 members
Home / Discussions / Algorithms
   

Algorithms

 
GeneralRe: Wavelet code request Pin
Loay Al Lusi5-Sep-06 2:12
Loay Al Lusi5-Sep-06 2:12 
GeneralRe: Wavelet code request Pin
Paul Conrad5-Sep-06 7:01
professionalPaul Conrad5-Sep-06 7:01 
GeneralMy Latest Math Book Acquisition Pin
Bassam Abdul-Baki30-Aug-06 4:11
professionalBassam Abdul-Baki30-Aug-06 4:11 
GeneralRe: My Latest Math Book Acquisition Pin
Frank Kerrigan4-Sep-06 3:10
Frank Kerrigan4-Sep-06 3:10 
GeneralRe: My Latest Math Book Acquisition Pin
Bassam Abdul-Baki4-Sep-06 4:32
professionalBassam Abdul-Baki4-Sep-06 4:32 
GeneralRe: My Latest Math Book Acquisition Pin
nadiric13-Sep-06 6:06
nadiric13-Sep-06 6:06 
QuestionHidden Line Drawing Sample - needs improvement Pin
spacecadet1030-Aug-06 2:18
spacecadet1030-Aug-06 2:18 
QuestionSloped objects - how to transform a set of points Pin
Steve S29-Aug-06 21:44
Steve S29-Aug-06 21:44 
I'm roughly up to speed on how to perform things like reflection and rotation, and even simple shear.

However, I want to produce a perspective effect on a 2D shape. If we take the case of a rectangle, the left edge would appear nearer the viewer than the right edge. These edges should still be vertical. However, instead of the top and bottom being parallel, they should taper, moving closer together as the X value increases.

Is there a 'magic' transformation I can apply, or do I have to iteratively update the points from left to right?

For simple shapes (like the rectangle), this wouldn't be too onerous, but I am also looking at generating the same effect for text, where there would be a larger number of points, and the order of the points is not so easy to predict.

Steve S
Developer for hire

AnswerRe: Sloped objects - how to transform a set of points Pin
El Corazon30-Aug-06 2:44
El Corazon30-Aug-06 2:44 
GeneralRe: Sloped objects - how to transform a set of points Pin
Steve S30-Aug-06 7:27
Steve S30-Aug-06 7:27 
QuestionHow to find permutations Pin
Mushtaque Nizamani28-Aug-06 18:46
Mushtaque Nizamani28-Aug-06 18:46 
AnswerRe: How to find permutations Pin
Bassam Abdul-Baki29-Aug-06 2:54
professionalBassam Abdul-Baki29-Aug-06 2:54 
GeneralRe: How to find permutations Pin
Mushtaque Nizamani29-Aug-06 4:01
Mushtaque Nizamani29-Aug-06 4:01 
GeneralRe: How to find permutations Pin
Bassam Abdul-Baki29-Aug-06 4:11
professionalBassam Abdul-Baki29-Aug-06 4:11 
AnswerRe: How to find permutations Pin
djlove6-Sep-06 6:22
djlove6-Sep-06 6:22 
QuestionFaster Search.. Pin
HakunaMatada27-Aug-06 22:51
HakunaMatada27-Aug-06 22:51 
AnswerRe: Faster Search.. Pin
Ingo27-Aug-06 23:21
Ingo27-Aug-06 23:21 
AnswerRe: Faster Search.. Pin
El Corazon28-Aug-06 2:37
El Corazon28-Aug-06 2:37 
AnswerRe: Faster Search.. Pin
leppie28-Aug-06 4:26
leppie28-Aug-06 4:26 
AnswerRe: Faster Search.. Pin
Daniel Grunwald29-Aug-06 9:04
Daniel Grunwald29-Aug-06 9:04 
GeneralRe: Faster Search.. Pin
James Laing29-Aug-06 11:56
James Laing29-Aug-06 11:56 
GeneralRe: Faster Search.. Pin
El Corazon29-Aug-06 13:23
El Corazon29-Aug-06 13:23 
GeneralRe: Faster Search.. Pin
Daniel Grunwald29-Aug-06 22:50
Daniel Grunwald29-Aug-06 22:50 
QuestionSuperscript and Subscript Calculation Pin
Identity Undisclosed24-Aug-06 22:12
Identity Undisclosed24-Aug-06 22:12 
AnswerRe: Superscript and Subscript Calculation Pin
User 171649227-Aug-06 8:16
professionalUser 171649227-Aug-06 8:16 

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.