Received: by 10.66.80.199 with SMTP id t7mr4383158pax.40.1355246124763; Tue, 11 Dec 2012 09:15:24 -0800 (PST) Received: by 10.50.135.66 with SMTP id pq2mr4223040igb.3.1355246124723; Tue, 11 Dec 2012 09:15:24 -0800 (PST) Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!nntp.club.cc.cmu.edu!newsfeed.news.ucla.edu!usenet.stanford.edu!kr7no10949624pbb.0!news-out.google.com!s9ni38583pbb.0!nntp.google.com!kt20no12041921pbb.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.java.programmer Date: Tue, 11 Dec 2012 09:15:24 -0800 (PST) In-Reply-To: <101220120949515759%jimsgibson@gmail.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=14.99.179.190; posting-account=tIIndwoAAAB09AHAkv2ZrfPEgxk94L21 NNTP-Posting-Host: 14.99.179.190 References: <7cd27ea6-eea8-4b71-bfe5-9a1898b55c73@googlegroups.com> <101220120949515759%jimsgibson@gmail.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <0b296d9e-3af0-4308-925d-c36058dc3d90@googlegroups.com> Subject: Re: JAVAFX Rendering From: nataraja gadikota Injection-Date: Tue, 11 Dec 2012 17:15:24 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: csiph.com comp.lang.java.programmer:20254 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 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 > > () 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