comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Object/Direct Graphics Question
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Object/Direct Graphics Question [message #29367] Tue, 12 February 2002 21:56 Go to previous message
parrhasius is currently offline  parrhasius
Messages: 2
Registered: February 2002
Junior Member
I've gone back and read all the posts I could find on object graphics
vs direct graphics and I still can't decide which one is better for
what I'm trying to do. Does object graphics have any advantages at
all for working in 2D? The general consensus, at least a year ago,
seemed to be that it was best to use direct graphics for this kind of
thing, but RSI's own XROI program is written using object graphics.
Since it's a 2D drawing program, would it have been better/faster/more
maintainable if it were written using direct graphics and object
programming techniques, as David Fanning likes to suggest?

The program I'm writing is not much more complex than XROI: I need to
plot, manipulate and erase maybe 10 ~100-vertex polylines on top of
~640X400 images, but there is an order to the display of the
polylines--some of them must always be drawn on top of others, etc,
and when one is erased anything underneath it must be restored. So
what's faster: a call to TV and then 10 100-vertex PlotS calls in
direct graphics, or drawing an IDLgrImage and then drawing 10
100-vertex IDLgrPolylines in object graphics? More to the point,
since drawing such a simple system is probably fast enough using both
methods, which graphics option makes more sense given this problem?
Thanks for any help.
[Message index]
 
Read Message
Read Message
Previous Topic: Which One?
Next Topic: Sun vs PC Linux - Anyone making the shift?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 19:51:14 PDT 2025

Total time taken to generate the page: 0.00396 seconds