Re: Polygon rendering speed

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Always a huge help as usual. The data arrive in a compressed format (which
surprisingly takes only an instant to decompress and read in -- less than
a hundredth of a second). Essentially I know the azimuth (a decimal value
between 0 and 360 degrees, the "width" of the pixels along that azimuth,
and the value at each of the 400 bins along that azimuth. Values of 0 are
ignored (as this is the color of the final transparency).

The problem is that the polygon coordinates have to be calculated for
every frame uniquely as the azimuth values and width can change subtlely
due to the hardware of the radar (tough to stop that gargantuan thing on a
dime!).

So for each point on that circle, could you define a position within a 2D
dataset (X representing degree and Y representing the bin) for that point?
If so then texture coordinates would do what you need with minimal effort.
Hope this helps,

Mike


- Microsoft Visual Basic MVP -
E-Mail: EDais@xxxxxxxx
WWW: Http://EDais.mvps.org/


.