Re: Drawing realtime line graphs
"Nick Schultz" <NickSchultz@discussions.microsoft.com> ha scritto nel
messaggio news:E4F4BD53-D74C-4870-B39D-5274AD1A34F2@microsoft.com...
I just thought using a 3D graphics library on a simple 2D graph would be
overkill. I also would have to redistribute the dll correct?
Well, it depends on projects, but I would disagree with you for the general
case.
I mean: you could use the power of 3D hardware accelerated cards also for
2D, to achieve good-looking effects, like alpha-blending, or antialiasing,
etc. for your graphs.
For example, I think that modern WPF technology (a modern technology for
developing GUIs in Windows using managed code) uses 3D hardware acceleration
(via DirectX/DirectGraphics) also for 2D stuff like 2D plots...
However, for this kind of problems, I think that the best thing for you
would be to just write some code and test...
But my opinion is that using 3D also for 2D stuff may lead to better
visualization results, and may be considered as a more long-term quality
investement.
Just my 2 cents.
BTW: About distributing the DLLs, I think that with Windows XP SP2 and
Windows Vista you have both DirectX 9 and OpenGL DLLs already available in
the machine, so I think you don't need special extra efforts for 3D graphics
DLLs deployment...
Giovanni