Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (683)
Games in Android Showcase (196)
games submitted by our members
Games in WIP (751)
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 / Game Mechanics / Isometric tiles and heights...can I modify? on: 2013-06-29 20:39:45
I have an isometric 2D Engine that has capability of generating different heights.

It runs at 20~30 FPS with grid layers, 55~60 FPS without grid layers.
And I started to think about improving it's performance much higher(though I have enough fps for smooth scrolling).

The way it generates the world is by dividing entire world by chunks(The engine itself can generate maximum map size of 2048x2048).
I have single tile vertices saved in vbo, and when it is time to render a tile, I map out the buffer and change the vertex location based on its height, flip the buffer, then ummap it.

But now I'm thinking about putting a single chunk into vbo, then render it.
However, if I put single chunk(which contains vertices for tiles) into vbo, it will be impossible to unmap the buffer, pin-point the tile, then change it's height value.

So my question is, is there a way to "store all tiles in one chunk, into one vbo, then modify individual tile as it needs"?
Pages: [1]
orrenravid (204 views)
2016-07-16 05:57:23

theagentd (276 views)
2016-07-11 16:28:54

Hydroque (361 views)
2016-07-06 07:56:57

Hydroque (516 views)
2016-07-03 10:52:54

GrandCastle (386 views)
2016-07-01 11:13:47

GrandCastle (381 views)
2016-07-01 11:09:45

CopyableCougar4 (433 views)
2016-06-25 18:56:52

Hydroque (410 views)
2016-06-22 04:17:53

SwampChicken (376 views)
2016-06-20 15:22:57

SwampChicken (301 views)
2016-06-20 15:22:49
Making a Dynamic Plugin System
by Hydroque
2016-06-25 02:13:25

Java Data structures
by BinaryMonkL
2016-06-13 23:22:09

Java Data structures
by BinaryMonkL
2016-06-13 23:20:42

FPS Camera Tutorial
by Hydroque
2016-05-22 07:40:58

Website offering 3D Models specifically for games for free
by vusman
2016-05-18 19:23:09

Website offering 3D Models specifically for games for free
by vusman
2016-05-09 10:50:56

Website offering 3D Models specifically for games for free
by vusman
2016-05-06 13:10:21

Website offering 3D Models specifically for games for free
by vusman
2016-04-29 14:56:17 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!