Re: Polygon rendering speed
- From: "Tom" <inchthickcrema@xxxxxxxxx>
- Date: 14 Feb 2006 17:02:13 -0800
Could you provide a link to an example of some of the images you are
rendering - the finished articles, not the raw bitmap?
Is the shape of the finished rendered bitmap the same each time, with
merely the colours at each location changing? If it is, you could
precalculate the locations of each polygon, rather than calculating
each one on the fly, storing them in an array. Also, you could then
*possibly* optimise the rendering by only redrawing polygons whose
colour has changed.
Remember to make lookup tables for any time consuming parts of the
polygon geometry calculation - I assume that you might be using
trigonometrical functions (sin, cos, etc?)
You should also ensure that the brush is only remade *if* the colour is
different from the last one - I assume you could have patches of
identical colour?
.
- Follow-Ups:
- Re: Polygon rendering speed
- From: wxforecaster
- Re: Polygon rendering speed
- References:
- Polygon rendering speed
- From: wxforecaster
- Polygon rendering speed
- Prev by Date: Re: Tray Icon Position Tracker ?
- Next by Date: Re: Polygon rendering speed
- Previous by thread: Polygon rendering speed
- Next by thread: Re: Polygon rendering speed
- Index(es):
Relevant Pages
|