| Anti lag idea | |
|
+10Iv121 Groot Tiel+ Captain stufuzzycat The Schmetterling hyperlite Grand Imperial Thunder Last_Jedi_Standing Ivan2006 Julo 14 posters |
|
Author | Message |
---|
Julo Recruit
Posts : 204 Join date : 2012-07-06 Age : 28 Location : Somewhere in Space
| Subject: Anti lag idea Sun Oct 07, 2012 11:58 am | |
| I thought a little bit about Spaceships and space in the mod and thought that it would lag like hell here's why:
1.Problem: One cow (or any other mob)= Zero Lag One zeppelin from zeppelin mod 10x10x10 blocks= A little lag 1000 cows= Hard lag 1000 10x10x10 block zeppelins= 1 frame per minute (massive lag) And if you have a spaceship like Laserbillys Reckoning class fleet carrier, that is massive it would also lag as hell.
2. Solution: Make everything 8x smaller so that a player is only half a block big and our example zeppelin is 2,5x2,5x2,5 blocks big. What do you think? | |
|
| |
Ivan2006 General
Posts : 2096 Join date : 2012-05-08 Age : 26 Location : The Dungeon.
| Subject: Re: Anti lag idea Sun Oct 07, 2012 12:16 pm | |
| - Julo wrote:
- I thought a little bit about Spaceships and space in the mod and
thought that it would lag like hell here's why:
1.Problem: One cow (or any other mob)= Zero Lag One zeppelin from zeppelin mod 10x10x10 blocks= A little lag 1000 cows= Hard lag 1000 10x10x10 block zeppelins= 1 frame per minute (massive lag) And if you have a spaceship like Laserbillys Reckoning class fleet carrier, that is massive it would also lag as hell.
2. Solution: Make everything 8x smaller so that a player is only half a block big and our example zeppelin is 2,5x2,5x2,5 blocks big. What do you think? I doesn´t matter how big stuff is, it only matters how much stuff there is. Zeppelin mod lags because it converts every single block into an entity, Futurecreft will either turn all into a single entity or leave it being blocks and just change the direction they´re facing. (I actually don´t know what of that is the case anymore, ask Fr0stbyte) | |
|
| |
Last_Jedi_Standing Moderator
Posts : 3033 Join date : 2012-02-19 Age : 112 Location : Coruscant
| Subject: Re: Anti lag idea Sun Oct 07, 2012 12:19 pm | |
| That's silly. Sorry. The most obvious side effect would be that all ships would be eight times less detailed. To fix that, we could include smaller blocks, so we could have the same level of detail. But then the ship has the original number of blocks in it. In any case, we're not doing it the same way Zeppelin does, and even that is only a small part of the total framerate problem. Fr0st's new graphics engine should take care of at least some of this without having to do anything strange. | |
|
| |
Ivan2006 General
Posts : 2096 Join date : 2012-05-08 Age : 26 Location : The Dungeon.
| Subject: Re: Anti lag idea Sun Oct 07, 2012 12:28 pm | |
| - Last_Jedi_Standing wrote:
- Fr0st's new graphics engine should take care of at least some of this without having to do anything strange.
- Last_Jedi_Standing wrote:
- without having to do anything strange
- Last_Jedi_Standing wrote:
- anything strange
I thought Fr0st is already doing strange stuff? | |
|
| |
Grand Imperial Thunder Infantry
Posts : 714 Join date : 2012-01-31 Location : Saturday is awesome.
| Subject: Re: Anti lag idea Sun Oct 07, 2012 3:58 pm | |
| - Surp. Grm. Ivan Kintobor wrote:
- Last_Jedi_Standing wrote:
- Fr0st's new graphics engine should take care of at least some of this without having to do anything strange.
- Last_Jedi_Standing wrote:
- without having to do anything strange
- Last_Jedi_Standing wrote:
- anything strange
I thought Fr0st is already doing strange stuff? Stranger. | |
|
| |
fr0stbyte124 Super Developrator
Posts : 1835 Join date : 2011-10-13
| Subject: Re: Anti lag idea Sun Oct 07, 2012 8:15 pm | |
| Ships don't have significant lag. It's been optimized pretty heavily. | |
|
| |
hyperlite Captain
Posts : 1529 Join date : 2012-01-18
| Subject: Re: Anti lag idea Sun Oct 07, 2012 8:28 pm | |
| That looked like Troll physics to me. | |
|
| |
Last_Jedi_Standing Moderator
Posts : 3033 Join date : 2012-02-19 Age : 112 Location : Coruscant
| Subject: Re: Anti lag idea Sun Oct 07, 2012 8:35 pm | |
| - hyperlite wrote:
- That looked like Troll physics to me.
That's it exactly. This is an interesting idea, but it's a troll idea. | |
|
| |
fr0stbyte124 Super Developrator
Posts : 1835 Join date : 2011-10-13
| Subject: Re: Anti lag idea Sun Oct 07, 2012 9:05 pm | |
| What he is saying is similar to the concept of octree segmentation, which allows you to work with increasingly coarse resolution models to knock out preliminary collision detection much more efficiently. Normally it's a good idea, and has a lot of useful traits not only to efficient searching, but also also data storage, but I don't use it in the case of ship collisions because I've got a model which can take full advantage of the uniform shape and displacement of blocks in terrain and on ships. It's the sort of advantage you aren't normally afforded in most games, which is why this is a custom solution. | |
|
| |
The Schmetterling DEV
Posts : 3123 Join date : 2011-08-31 Location : I'm a butterfly.
| Subject: Re: Anti lag idea Mon Oct 08, 2012 6:21 am | |
| - fr0stbyte124 wrote:
- What he is saying is similar to the concept of octree segmentation, which allows you to work with increasingly coarse resolution models to knock out preliminary collision detection much more efficiently.
Normally it's a good idea, and has a lot of useful traits not only to efficient searching, but also also data storage, but I don't use it in the case of ship collisions because I've got a model which can take full advantage of the uniform shape and displacement of blocks in terrain and on ships. It's the sort of advantage you aren't normally afforded in most games, which is why this is a custom solution. It is my belief that custom problems present custom solutions, or that necessity is the mother of invention. | |
|
| |
Ivan2006 General
Posts : 2096 Join date : 2012-05-08 Age : 26 Location : The Dungeon.
| Subject: Re: Anti lag idea Mon Oct 08, 2012 1:49 pm | |
| - fr0stbyte124 wrote:
- What he is saying is similar to the concept of octree segmentation, which allows you to work with increasingly coarse resolution models to knock out preliminary collision detection much more efficiently.
Normally it's a good idea, and has a lot of useful traits not only to efficient searching, but also also data storage, but I don't use it in the case of ship collisions because I've got a model which can take full advantage of the uniform shape and displacement of blocks in terrain and on ships. It's the sort of advantage you aren't normally afforded in most games, which is why this is a custom solution. After the first line I lost track of your technical terms. | |
|
| |
Captain stufuzzycat Sergeant
Posts : 826 Join date : 2012-05-02 Age : 25 Location : At my computer, pwning s*** up with my warfrigate
| Subject: Re: Anti lag idea Mon Oct 08, 2012 5:04 pm | |
| | |
|
| |
fr0stbyte124 Super Developrator
Posts : 1835 Join date : 2011-10-13
| Subject: Re: Anti lag idea Mon Oct 08, 2012 7:02 pm | |
| - Surp. Grm. Ivan Kintobor wrote:
- fr0stbyte124 wrote:
- What he is saying is similar to the concept of octree segmentation, which allows you to work with increasingly coarse resolution models to knock out preliminary collision detection much more efficiently.
Normally it's a good idea, and has a lot of useful traits not only to efficient searching, but also also data storage, but I don't use it in the case of ship collisions because I've got a model which can take full advantage of the uniform shape and displacement of blocks in terrain and on ships. It's the sort of advantage you aren't normally afforded in most games, which is why this is a custom solution. After the first line I lost track of your technical terms. An octtree is a cube that is divided into 8 pieces. Each piece can be subdivided into 8 more pieces. You keep going like this until it is the smallest unit you care about. This structure is efficient for a lot of sciencey reasons,. | |
|
| |
Ivan2006 General
Posts : 2096 Join date : 2012-05-08 Age : 26 Location : The Dungeon.
| Subject: Re: Anti lag idea Tue Oct 09, 2012 12:43 pm | |
| - fr0stbyte124 wrote:
- Surp. Grm. Ivan Kintobor wrote:
- fr0stbyte124 wrote:
- What he is saying is similar to the concept of octree segmentation, which allows you to work with increasingly coarse resolution models to knock out preliminary collision detection much more efficiently.
Normally it's a good idea, and has a lot of useful traits not only to efficient searching, but also also data storage, but I don't use it in the case of ship collisions because I've got a model which can take full advantage of the uniform shape and displacement of blocks in terrain and on ships. It's the sort of advantage you aren't normally afforded in most games, which is why this is a custom solution. After the first line I lost track of your technical terms. An octtree is a cube that is divided into 8 pieces. Each piece can be subdivided into 8 more pieces. You keep going like this until it is the smallest unit you care about. This structure is efficient for a lot of sciencey reasons,. Is it of any use for Minecraft framerates? | |
|
| |
fr0stbyte124 Super Developrator
Posts : 1835 Join date : 2011-10-13
| Subject: Re: Anti lag idea Tue Oct 09, 2012 1:26 pm | |
| Minecraft doesn't use octtrees. But most real voxel apps do. | |
|
| |
Tiel+ Lord/Lady Rear Admiral 1st
Posts : 5497 Join date : 2012-02-20 Age : 27 Location : AFK
| Subject: Re: Anti lag idea Tue Oct 09, 2012 2:43 pm | |
| - fr0stbyte124 wrote:
- most real voxel apps do.
You mean to say there are games like Minecraft that aren't crap performance-wise? | |
|
| |
Groot Marine
Posts : 1456 Join date : 2012-03-18 Age : 28 Location : Yggdrasil
| Subject: Re: Anti lag idea Tue Oct 09, 2012 3:20 pm | |
| English, please, put it in layman terms then I can comment meaningfully | |
|
| |
Ivan2006 General
Posts : 2096 Join date : 2012-05-08 Age : 26 Location : The Dungeon.
| Subject: Re: Anti lag idea Tue Oct 09, 2012 3:21 pm | |
| - Prototype wrote:
- English, please, put it in layman terms then I can comment meaningfully
Oh, oh, Fr0stbyte-time... | |
|
| |
fr0stbyte124 Super Developrator
Posts : 1835 Join date : 2011-10-13
| Subject: Re: Anti lag idea Wed Oct 10, 2012 12:31 am | |
| - Surp. Grm. Ivan Kintobor wrote:
- Prototype wrote:
- English, please, put it in layman terms then I can comment meaningfully
Oh, oh, Fr0stbyte-time... STFU, it's learning time! In the strictest sense, Minecraft does have a voxel engine; terrain blocks are stored according to relative positions, rather than explicit coordinates, like a pixel map only 3D. However, each of those blocks is then converted 1:1 into a set of polygon faces for rendering. There are other voxel engines which convert voxel data into polygons before rendering, because modern GPUs are very good at drawing polygons. The difference here is the 1:1 correlation between blocks and faces. While necessary to maintain the blocky nature of the game, you could view the voxel data simply as a compressed version of listing out each polygon by coordinate. In this respect, it is not so terribly different from any polygon-based model. I would consider it a hybrid. In a fully realized voxel engine, you are often dealing with a massive scale between your largest objects and your smallest voxel units. Because of this, the engines usually employ specialized drawing techniques, like the marching cubes algorithm, which converts voxel data into polygon surfaces, but which can be used at varying levels of resolution so that you have control over your end poly-count. Different storage structures, such as octtrees, are often an efficient way of storing large amounts of uniform data by using voxels of varying scales.
Last edited by fr0stbyte124 on Wed Oct 10, 2012 8:52 pm; edited 1 time in total | |
|
| |
Iv121 General
Posts : 2396 Join date : 2012-02-05 Location : -> HERE ! <-
| Subject: Re: Anti lag idea Wed Oct 10, 2012 1:51 am | |
| Basically he means minecraft ha a voxel engine ... (?) | |
|
| |
fr0stbyte124 Super Developrator
Posts : 1835 Join date : 2011-10-13
| Subject: Re: Anti lag idea Wed Oct 10, 2012 6:12 am | |
| I'm saying Minecraft is only superficially a voxel engine. The sort of things you would normally expect to see in most voxel systems which distinguish them from polygon-based systems are not present here. | |
|
| |
The Schmetterling DEV
Posts : 3123 Join date : 2011-08-31 Location : I'm a butterfly.
| Subject: Re: Anti lag idea Wed Oct 10, 2012 6:33 am | |
| - fr0stbyte124 wrote:
- Surp. Grm. Ivan Kintobor wrote:
- Prototype wrote:
- English, please, put it in layman terms then I can comment meaningfully
Oh, oh, Fr0stbyte-time... STFU, it's learning time!
In the strictest sense, Minecraft does have a voxel engine; terrain blocks are stored according to relative positions, rather than explicit coordinates, like a pixel map only 3D. However, each of those blocks is then converted 1:1 into a set of polygon faces for rendering. There are other voxel engines which convert voxel data into polygons before rendering, because modern GPUs are very good at drawing polygons. The difference here is the 1:1 correlation between blocks and faces. While necessary to maintain the blocky nature of the game, you could view the voxel data simply as a compressed version of listing out each polygon by coordinate. In this respect, it is not so terribly different from any bolygon-based model. I would consider it a hybrid.
In a fully realized voxel engine, you are often dealing with a massive scale between your largest objects and your smallest voxel units. Because of this, the engines usually employ specialized drawing techniques, like the marching cubes algorithm, which converts voxel data into polygon surfaces, but which can be used at varying levels of resolution so that you have control over your end poly-count. Different storage structures, such as octtrees, are often an efficient way of storing large amounts of uniform data by using voxels of varying scales. Did you mean to say "bolygon"? Because that ain't a word as far as I know. | |
|
| |
kokonus Newbie
Posts : 43 Join date : 2012-10-04 Age : 28 Location : nether(lands)
| Subject: Re: Anti lag idea Wed Oct 10, 2012 9:30 am | |
| - The Schmetterling wrote:
- fr0stbyte124 wrote:
- Surp. Grm. Ivan Kintobor wrote:
- Prototype wrote:
- English, please, put it in layman terms then I can comment meaningfully
Oh, oh, Fr0stbyte-time... STFU, it's learning time!
In the strictest sense, Minecraft does have a voxel engine; terrain blocks are stored according to relative positions, rather than explicit coordinates, like a pixel map only 3D. However, each of those blocks is then converted 1:1 into a set of polygon faces for rendering. There are other voxel engines which convert voxel data into polygons before rendering, because modern GPUs are very good at drawing polygons. The difference here is the 1:1 correlation between blocks and faces. While necessary to maintain the blocky nature of the game, you could view the voxel data simply as a compressed version of listing out each polygon by coordinate. In this respect, it is not so terribly different from any bolygon-based model. I would consider it a hybrid.
In a fully realized voxel engine, you are often dealing with a massive scale between your largest objects and your smallest voxel units. Because of this, the engines usually employ specialized drawing techniques, like the marching cubes algorithm, which converts voxel data into polygon surfaces, but which can be used at varying levels of resolution so that you have control over your end poly-count. Different storage structures, such as octtrees, are often an efficient way of storing large amounts of uniform data by using voxels of varying scales. Did you mean to say "bolygon"? Because that ain't a word as far as I know. I think polygon is a pokemon so that might be it? | |
|
| |
Last_Jedi_Standing Moderator
Posts : 3033 Join date : 2012-02-19 Age : 112 Location : Coruscant
| Subject: Re: Anti lag idea Wed Oct 10, 2012 10:12 am | |
| - kokonus wrote:
- The Schmetterling wrote:
- fr0stbyte124 wrote:
- Surp. Grm. Ivan Kintobor wrote:
- Prototype wrote:
- English, please, put it in layman terms then I can comment meaningfully
Oh, oh, Fr0stbyte-time... STFU, it's learning time!
In the strictest sense, Minecraft does have a voxel engine; terrain blocks are stored according to relative positions, rather than explicit coordinates, like a pixel map only 3D. However, each of those blocks is then converted 1:1 into a set of polygon faces for rendering. There are other voxel engines which convert voxel data into polygons before rendering, because modern GPUs are very good at drawing polygons. The difference here is the 1:1 correlation between blocks and faces. While necessary to maintain the blocky nature of the game, you could view the voxel data simply as a compressed version of listing out each polygon by coordinate. In this respect, it is not so terribly different from any bolygon-based model. I would consider it a hybrid.
In a fully realized voxel engine, you are often dealing with a massive scale between your largest objects and your smallest voxel units. Because of this, the engines usually employ specialized drawing techniques, like the marching cubes algorithm, which converts voxel data into polygon surfaces, but which can be used at varying levels of resolution so that you have control over your end poly-count. Different storage structures, such as octtrees, are often an efficient way of storing large amounts of uniform data by using voxels of varying scales. Did you mean to say "bolygon"? Because that ain't a word as far as I know.
I think polygon is a pokemon so that might be it? ... OK, if you don't speak English, you don't speak English. But commenting on English grammar discussions is probably not the most productive use of your time. | |
|
| |
Iv121 General
Posts : 2396 Join date : 2012-02-05 Location : -> HERE ! <-
| Subject: Re: Anti lag idea Wed Oct 10, 2012 10:14 am | |
| Polygons ... are they triangles in minecraft ? | |
|
| |
Sponsored content
| Subject: Re: Anti lag idea | |
| |
|
| |
| Anti lag idea | |
|