Re: Large 2D Graph Additionally

From: Philip Taylor [ATI] (ptaylor_at_online.newsgroup-poster.ati.com)
Date: 04/28/04


Date: Wed, 28 Apr 2004 12:03:29 -0700

there is "handle the dataset" and there is "handle the dataset optimally"

if you control the hw specification and can constrain the hw to recent hw
with 32-bit index buffer support and lots of video memory, you may be able
to load and render a dataset this large. you will need to test this, though.

usually loading a large dataset with no abstraction is a bad idea, if you
have to run on just any old hw. typically you have to develop an abstraction
that allows you to work with subsets of the data at any one time. moving
them in/out as needed.

zoom is a function of the camera and scaling, so you can handle that with
matrix maths.

have you calculated a vertex buffer memory budget for such a dataset? and
the bus bandwidth required to get it over to the card? and the vertex
throughput required by the card to render this dataset at interactive
framerates?

finally, DirectX isnt about making the graphics coding simpler, its about
providing access to hw acceleration through a thin layer. think of it that
way and you will be much happier.

"Chris" <Chris@nospam.com> wrote in message
news:%23n7MqwTLEHA.1644@TK2MSFTNGP09.phx.gbl...
> Additionally, each edge can be plotted as a path, consisting of, on
average
> 8 points per edge.
> Using a straight line for each edge is acceptable for my usage, selecting
a
> single mid point from the path would be better, up to optimum of plotting
> all points on the path fro each edge.
>
> Obviously I require usual operations of zoom etc.
>
> Also I am familiar with the idea of sorting the nodes/edges into
rectangualr
> areas, and by level, then drawing only level 1, 2 say, on a full view of
> the graph, showing the lower and more numerous lower level node/edges only
> for appropriate rectangles when zoomed in.
>
> I am more interested in whether the graphics coding can be made much
simpler
> because directX can handle a graph of this size. --- ie I can feed the
data
> in, and just select which layers I wish to display according to the zoom.
>
>
> "Chris" <Chris@nospam.com> wrote in message
> news:OQ3k3hTLEHA.624@TK2MSFTNGP11.phx.gbl...
> > I will be, in next month or so, drawing a graph (map) with around 2
> million
> > nodes, 3 million edges, using probably 4 layers. Using c# and managed
> > directx is it feasible to consider? The graph will be static as such,
> but
> > I would use another layer to hilite routes say.
> >
> > Thanks for any replies.
> >
> > Chris
> >
> >
>
>



Relevant Pages

  • Static code analysis
    ... calls to a given function on a lower layer ... browser info into a call graph, and make a query tool capable of analyzing ... depending on circumstances looked up in configuration tables). ... call through a base class pointer to the implementation in a derived class. ...
    (comp.lang.cpp)
  • Re: Static code analysis
    ... > calls to a given function on a lower layer ... > - Which tables in a database can be updated by executing from a given entry ... > browser info into a call graph, and make a query tool capable of analyzing ... > call through a base class pointer to the implementation in a derived class. ...
    (comp.lang.cpp)
  • Re: Zooming layers
    ... When I use the zoom tool, the whole drawing zooms, including the ... airplane on it, than I want to zoom the airplane, but I don't ... This allows you to scale the contents of one layer. ...
    (alt.graphics.photoshop)
  • Re: Pan/Zoom with Matplotlib
    ... like to zoom my created graph after double-clicking and move with it ... after keyboard pressing. ... also to control how much it zooms and how far is the graph moved after ...
    (comp.lang.python)
  • Re: getting correct waveform
    ... you took the suggestion to zoom in on the graph and you were able to ... see the correct shape of the waveform. ...
    (comp.lang.labview)