Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (736)
Games in Android Showcase (223)
games submitted by our members
Games in WIP (813)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
   Home   Help   Search   Login   Register   
  Show Posts
Pages: [1]
1  Game Development / Performance Tuning / Re: fillPolygon Performance on: 2005-07-12 21:48:53
Im scaling the polygons and then redrawing them. Will scaling the image produce the same results? This is going to have geospatial information overlayed on it so its important that it is accurate. I guess ill give VolatileImage a go and see how it works out.
2  Game Development / Performance Tuning / Re: fillPolygon Performance on: 2005-07-12 03:41:49
Ok, so I should just draw the part of the image that is currently being viewed when zoomed way in? Is there an easy way to do this considering im drawing on a jpanel inside a jscrollpane?

How big is the performance gain from using a VolatileImage over a BufferedImage? It seems to me that if a VolatileImage loses its contents once all that was gained is now lost?
3  Game Development / Performance Tuning / fillPolygon Performance on: 2005-06-26 08:56:32
Im loading data in somewhat realtime over the internet and then parsing it. The end result is in the range of 6,000+ polygons. As you can imagine drawing all of these is somewhat slow. The default image size is 520x520px however the user can zoom in to 8X for a picture size of 4160x4160px. When one is zoomed all the way in the drawing becomes very slow often a few seconds to render the image.

Currently I am drawing to a BufferedImage that was created like image = getGraphicsConfiguration().createCompatibleImage((int) (520 * scaleFactor), (int) (520 * scaleFactor), Transparency.BITMASK); Is there anything I can do here to improve this?

Would rendering to a GLCanvas and then converting that to a BufferedImage be faster? Note: Im using JInternalFrames so unless something has changed it doesn't appear I can use GLCanvas directly. Ive also read that GLJPanel is software rendered so using it wouldn't seem like much of an improvement.
Pages: [1]
cybrmynd (117 views)
2017-08-02 12:28:51

cybrmynd (139 views)
2017-08-02 12:19:43

cybrmynd (136 views)
2017-08-02 12:18:09

Sralse (152 views)
2017-07-25 17:13:48

Archive (620 views)
2017-04-27 17:45:51

buddyBro (730 views)
2017-04-05 03:38:00

CopyableCougar4 (1255 views)
2017-03-24 15:39:42

theagentd (1235 views)
2017-03-24 15:32:08

Rule (1213 views)
2017-03-19 12:43:22

Rule (1265 views)
2017-03-19 12:42:17
List of Learning Resources
by elect
2017-03-13 14:05:44

List of Learning Resources
by elect
2017-03-13 14:04:45

SF/X Libraries
by philfrei
2017-03-02 08:45:19

SF/X Libraries
by philfrei
2017-03-02 08:44:05

SF/X Libraries
by SkyAphid
2017-03-02 06:38:56

SF/X Libraries
by SkyAphid
2017-03-02 06:38:32

SF/X Libraries
by SkyAphid
2017-03-02 06:38:05

SF/X Libraries
by SkyAphid
2017-03-02 06:37:51 is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!