Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #20254
| Newsgroups | comp.lang.java.programmer |
|---|---|
| Date | 2012-12-11 09:15 -0800 |
| References | <7cd27ea6-eea8-4b71-bfe5-9a1898b55c73@googlegroups.com> <101220120949515759%jimsgibson@gmail.com> |
| Message-ID | <0b296d9e-3af0-4308-925d-c36058dc3d90@googlegroups.com> (permalink) |
| Subject | Re: JAVAFX Rendering |
| From | nataraja gadikota <nataraja.3.833@gmail.com> |
Thanks Jim ,
that's a new idea
I'll try to work it out !
On Monday, December 10, 2012 11:19:51 PM UTC+5:30, Jim Gibson wrote:
> In article <7cd27ea6-eea8-4b71-bfe5-9a1898b55c73@googlegroups.com>,
>
> nataraja gadikota <nataraja.3.833@gmail.com> wrote:
>
>
>
> > Hi ,
>
> > I'm looking for a Java based solution for my canvas problem
>
> > TCL/TK is not able to handle 3million rectangles on a canvas !
>
> >
>
> > https://groups.google.com/forum/?fromgroups=#!topic/comp.lang.tcl/Dxh4KyOOojY
>
> >
>
> > "
>
> > Today I had to visualize a huge Data Structure with 146k nodes
>
> > and each node is a set of polys/rectangles >20
>
> >
>
> > I've drawn everything on a Canvas , Appximately 3 million objects were
>
> > created
>
> > All my operations Zoom , Scrolling , Moving Objects on this Canvas have
>
> > become very SLOW
>
> >
>
> > I've tested the code with 100 nodes , everything is working fine at that
>
> > level
>
> > When I increase the DS , I'm looking at these issues .
>
> >
>
> > Any suggestions previous experiences on how to improve the speed ?
>
>
>
> Sounds like you should consider clipping
>
> (<http://en.wikipedia.org/wiki/Clipping_(computer_graphics)>) when you
>
> have zoomed in and showing low-resolution versions of groups of nodes
>
> (if your data consists of node groups in a tree-like structure) when
>
> you are zoomed out (I don't remember the word for this; "greeking" is a
>
> term applied to showing fuzzy blobs for text when the characters are
>
> too small to see clearly).
>
>
>
> In other words: don't draw all 3 million nodes, just the ones that
>
> would be visible on the screen. If a group of nodes is too small to be
>
> seen in detail, substitute a low-resolution graphic for the group.
>
>
>
> --
>
> Jim Gibson
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Find similar | Unroll thread
JAVAFX Rendering nataraja gadikota <nataraja.3.833@gmail.com> - 2012-12-10 03:43 -0800
Re: JAVAFX Rendering Arne Vajhøj <arne@vajhoej.dk> - 2012-12-10 12:07 -0500
Re: JAVAFX Rendering nataraja gadikota <nataraja.3.833@gmail.com> - 2012-12-11 09:14 -0800
Re: JAVAFX Rendering Arne Vajhøj <arne@vajhoej.dk> - 2012-12-11 15:04 -0500
Re: JAVAFX Rendering nataraja gadikota <nataraja.3.833@gmail.com> - 2013-01-05 22:56 -0800
Re: JAVAFX Rendering Jim Gibson <jimsgibson@gmail.com> - 2012-12-10 09:49 -0800
Re: JAVAFX Rendering nataraja gadikota <nataraja.3.833@gmail.com> - 2012-12-11 09:15 -0800
csiph-web