|
1 registered members (AndrewAMD),
1,065
guests, and 8
spiders. |
|
Key:
Admin,
Global Mod,
Mod
|
|
|
Voxel in Game Studio
#387975
11/26/11 16:36
11/26/11 16:36
|
Joined: May 2009
Posts: 5,366 Caucasus
3run
OP
Senior Expert
|
OP
Senior Expert
Joined: May 2009
Posts: 5,366
Caucasus
|
Is it possible to archive something similar to this in Game Studio: Let's Play: Voxatron Part 1 I guess, engine should support it, to be able to work with it, or am I wrong?
|
|
|
Re: Voxel in Game Studio
[Re: Rei_Ayanami]
#387981
11/26/11 17:12
11/26/11 17:12
|
Joined: Apr 2007
Posts: 3,751 Canada
WretchedSid
Expert
|
Expert
Joined: Apr 2007
Posts: 3,751
Canada
|
Using voxels is just a form to save/arrange your level. That means, you have (usually) a grid where your things are aligned. No, its not. A voxel is a volumetric object in the game space, its not a polygon or something similar. And no, its not possible to integrate Voxels into Gamestudio with simple methods since they require a different way of rendering and data storing. Also, Voxel worlds take up a huge amount of disk space and they need more sophisticated culling methods if you want good speed. Thats one of the reasons early games used Voxels mainly for terrains because its easier to cull and draw than a whole game world and it was way faster than polygons back then. Now most GPUs are optimized for huge amounts of Polygons.
Shitlord by trade and passion. Graphics programmer at Laminar Research. I write blog posts at feresignum.com
|
|
|
Re: Voxel in Game Studio
[Re: WretchedSid]
#387982
11/26/11 17:17
11/26/11 17:17
|
Joined: May 2009
Posts: 5,366 Caucasus
3run
OP
Senior Expert
|
OP
Senior Expert
Joined: May 2009
Posts: 5,366
Caucasus
|
Author of the second video I've posted above, says: The model was about 256x256x64 voxels, and with each voxel being 1 byte that's only 4Mb. You can probably push it 100 times larger, and after that you can start using compression. That isn't that much, or am I wrong? And thanks for making things clear about the "Voxel", I was expecting same answer for my question.
|
|
|
Re: Voxel in Game Studio
[Re: 3run]
#387986
11/26/11 17:25
11/26/11 17:25
|
Joined: Apr 2007
Posts: 3,751 Canada
WretchedSid
Expert
|
Expert
Joined: Apr 2007
Posts: 3,751
Canada
|
Well, 256x256x64 isn't much, if you want a comparison its like having a cube with a 256x256 pixel texture. And while its easy to load a texture once and then use it to render every object that uses this texture, this becomes a bit harder with Voxels if you still want to maintain speed. With Voxels its easy to interchange speed with memory usage, so if you have a few terrabytes free you can create stunning scenes with lots of details which renders blazing fast, but I guess your customers will hate you for it ^^
Shitlord by trade and passion. Graphics programmer at Laminar Research. I write blog posts at feresignum.com
|
|
|
Re: Voxel in Game Studio
[Re: 3run]
#387990
11/26/11 17:40
11/26/11 17:40
|
Joined: Apr 2007
Posts: 3,751 Canada
WretchedSid
Expert
|
Expert
Joined: Apr 2007
Posts: 3,751
Canada
|
No, as the creator already mentioned, you only see 4mb worth of Voxels at any given time, thats probably the reason why he did use only 256x256x64. You can have the visible world entirely in the RAM with great performance and a compressed version of the world on disk. But, you won't have many details, for example, here is an NVIDIA demo which uses Voxels and has medium details, but this small "world" alone already eats 2.7 Gb of data! http://www.youtube.com/watch?v=Mi-mNGz0YMk
Shitlord by trade and passion. Graphics programmer at Laminar Research. I write blog posts at feresignum.com
|
|
|
|