|
||||||||||||||||||
Add Forum to Favorites | Send Topic To a Friend | View Forum FAQ | Track this topic |
Last Thread Next Thread ![]() |
| Bresenham's Line and Circle Algorithms |
|
![]() yoho Member since: 7/10/2003 |
||||
|
|
||||
| Could someone explain the program line: d = (2 * deltay) - deltax It's under Line Algorithm about in the middle. Thanks -Y |
||||
|
||||
![]() zeiscra Member since: 10/5/2003 From: USA |
||||
|
|
||||
| I'm trying to convert this code to c++, and I'm unfamiliar with the pascal operator "shl." What exactly does this do? Thanks, Craig |
||||
|
||||
![]() Myopic Rhino Staff Member since: The dawn of time
From: Temecula, CA, United States |
||||
|
|
||||
| It's "SHift Left" (i.e. <<) |
||||
|
||||
![]() Anonymous Poster |
||||
|
||||
| http://www.cs.fit.edu/~wds/classes/graphics/Rasterize/bresenham.html |
||||
|
||||
![]() Anonymous Poster |
||||
|
||||
| Could anyone explain me these: d := 3 - (2 * RADIUS) d := d + (4 * x) + 6 d := d + 4 * (x - y) + 10 in the Bresenham's Circle Algorithm? I dont underestand these constants! Help! :( Im not english speaking - sorry for bad EN |
||||
|
||||
![]() Anonymous Poster |
||||
|
||||
| Could anyone explain me these: d := 3 - (2 * RADIUS) d := d + (4 * x) + 6 d := d + 4 * (x - y) + 10 in the Bresenham's Circle Algorithm? I dont underestand these constants! Help! :( Im not english speaking - sorry for bad EN |
||||
|
||||
![]() Anonymous Poster |
||||
|
||||
| I found it! For my future friends!: http://www.netnam.vn/unescocourse/computervision/63.htm |
||||
|
||||
![]() Oceano Member since: 6/1/2009 From: Barcelona, Spain |
||||
|
|
||||
| In this web: http://sites.google.com/site/proyectosroboticos/ you were solving the algorithm of bresenham for 2D, 3D, 4D ... up to(even) 6D. Bresenham's algorithm does many things, besides lines. And you will solve the inverse kinematics from 2 up to 5 degrees of freedom. Regards. |
||||
|
||||
All times are ET (US)![]() |
Last Thread Next Thread ![]() |
|