Re: C64 graphics card

From: Steve Judd (sjudd_at_ffd2.com)
Date: 2004-11-03 18:23:47

Hola CJ,

> Do you still do fullscreen clears rather than writing to the screen 
> with an eor-plotter?
> Or are you referring to the cost of clearing the eorbuffer?

Actually, I have a very low opinion of eor-plotters (solid polygons).
They are slow and obnoxious, with special cases and such to handle, and
there are much better -- faster, cleaner, more flexible -- ways to do it.

Yes, I do fullscreen, or at least full-the-area-containing-data clears.
Or did, I guess, since this was all years ago.  You really have to, if
you're drawing more than one object.  For a single object, my recollection
is that once you factor in overhead it's always faster, unless you're
drawing just one or two polygons, and only maybe then.

> > As to organization, vertical organization is preferred for any 
> > plotting.
> > That's why people use charmaps.  That is, if you can simply ldy ycoord
> > then algorithms become simpler.
> 
> True for BOBs etc, but I would have thought less applicable to 3d?

Any routine involving an x,y coordinate benefits, especially line and
polygon routines.

Pretty much all 3D demos use charmaps, the one exception being, well, me:

http://www.ffd2.com/fridge/lib3d/pics/

I had another program -- polygonamy -- which was faster, but the routines
were really only useful for a demo.

cu,

-Steve


       Message was sent through the cbm-hackers mailing list

Archive generated by hypermail pre-2.1.8.