Re: Polygon rendering speed

Tech-Archive recommends: Fix windows errors by optimizing your registry



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?

.



Relevant Pages

  • Re: Polygon rendering speed
    ... With the data being rendering in polar coordinates, ... sine/cosine work involved to get the X/Y coordinates for each polygon point. ... pure calculations of the polygon locations. ...
    (microsoft.public.vb.winapi.graphics)
  • Re: Hey Nod troll
    ... acceleration would have rendered the same scene in real time. ... computer with a decent graphics card. ... cards are built around hard wired 2D and 3D rendering accelerators. ... That is polygon fill, not rendering. ...
    (rec.arts.drwho)
  • Re: Polygon missing vertex
    ... Tessellation is kind of pre-processing before rendering. ... Once a polygon ... is the current design of rendering pipeline. ...
    (comp.graphics.api.opengl)