Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Graphics > Algorithms > Drawing floatin...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 27 Topic 4879 of 4944
Post > Topic >>

Drawing floating-point lines with Bresenham

by Thomas Kindler <mail+news@[EMAIL PROTECTED] > Jul 16, 2008 at 12:51 AM

Hi!

   I've written a graphics library that sup****ts fast Bresenham line 
drawing.  I can give an integer starting point, integer number of 
pixels, error increments for minor/major steps, and an initial error 
value for the first pixel to draw.

Now I would like to draw lines with floating-point endpoints.

Does anyone know how to initialize the error terms to correctly draw 
lines with non-integer endpoints?!

A link to an actual implementation in a graphics library would be nice!

(There _should_ be some driver code out there as many hardware 
accelerators seem to be integer-bresenham only).

thanks for your help,
Thomas Kindler
 




 27 Posts in Topic:
Drawing floating-point lines with Bresenham
Thomas Kindler <mail+n  2008-07-16 00:51:30 
Re: Drawing floating-point lines with Bresenham
Dave <dave_and_darla@[  2008-07-15 21:14:55 
Re: Drawing floating-point lines with Bresenham
Thomas Kindler <mail+n  2008-07-16 15:31:51 
Re: Drawing floating-point lines with Bresenham
ti_chris <tiChris08@[E  2008-07-16 00:30:34 
Re: Drawing floating-point lines with Bresenham
Thomas Kindler <mail+n  2008-07-16 15:29:03 
Re: Drawing floating-point lines with Bresenham
"cr88192" <c  2008-07-17 00:14:15 
Re: Drawing floating-point lines with Bresenham
hoffmann@[EMAIL PROTECTED  2008-07-16 10:04:24 
Re: Drawing floating-point lines with Bresenham
Kaba <none@[EMAIL PROT  2008-07-16 21:04:39 
Re: Drawing floating-point lines with Bresenham
Thomas Kindler <mail+n  2008-07-16 20:09:26 
Re: Drawing floating-point lines with Bresenham
"cr88192" <c  2008-07-17 11:23:16 
Re: Drawing floating-point lines with Bresenham
Kaba <none@[EMAIL PROT  2008-07-18 00:32:38 
Re: Drawing floating-point lines with Bresenham
"cr88192" <c  2008-07-18 09:02:15 
Re: Drawing floating-point lines with Bresenham
hoffmann@[EMAIL PROTECTED  2008-07-16 23:46:52 
Re: Drawing floating-point lines with Bresenham
Kaba <none@[EMAIL PROT  2008-07-17 12:18:45 
Re: Drawing floating-point lines with Bresenham
"Jens Dierks" &  2008-07-17 11:22:43 
Re: Drawing floating-point lines with Bresenham
ti_chris <tiChris08@[E  2008-07-17 02:49:59 
Re: Drawing floating-point lines with Bresenham
Thomas Kindler <mail+n  2008-07-17 13:25:36 
Re: Drawing floating-point lines with Bresenham
=?ISO-8859-1?Q?Hans-Bernh  2008-07-18 21:51:34 
Re: Drawing floating-point lines with Bresenham
Thomas Kindler <thomas  2008-07-19 00:47:44 
Re: Drawing floating-point lines with Bresenham
Kaba <none@[EMAIL PROT  2008-07-16 17:08:45 
Re: Drawing floating-point lines with Bresenham
Kenneth Sloan <Kenneth  2008-07-16 13:48:17 
Re: Drawing floating-point lines with Bresenham
Thomas Kindler <thomas  2008-07-16 23:44:40 
Re: Drawing floating-point lines with Bresenham
Kaba <none@[EMAIL PROT  2008-07-17 00:57:45 
Re: Drawing floating-point lines with Bresenham
dkcombs@[EMAIL PROTECTED]  2008-08-09 06:52:19 
Re: Drawing floating-point lines with Bresenham
Kaba <none@[EMAIL PROT  2008-07-18 15:04:25 
Re: Drawing floating-point lines with Bresenham
Kaba <none@[EMAIL PROT  2008-07-18 15:17:18 
Re: Drawing floating-point lines with Bresenham
Daniel Pitts <newsgrou  2008-07-21 13:45:17 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Aug 20 4:13:10 CDT 2008.