Fully Destructible Levels - New website and domain!
- PolyVox
- OGRE Contributor
- Posts: 1316
- Joined: Tue Nov 21, 2006 11:28 am
- Location: Groningen, The Netherlands
- x 18
- Contact:
Re: Fully Destructible Levels - Now zlib license and new demo
***** Update for November 2009 *****
Hi all, it's me again. I just wanted to share with you the latest updates to my project.
Firstly, I have decided to switch to the zlib license. This is much more permissive that the GPL which I was using previously, and allows commercial use amoung other things. I have updated SVN with the new license and will do the website when I get a chance.
Secondly, I have been preparing a new demo which will accompany an article I have been writing about voxel-based game engines. I would therefore like to invite people to test it just to make sure it works on other computers. It demonstrates very basic editing of voxel based terrain. Please read the readme file for instructions.
You can download the demo here: Terrain Editor Demo
If it won't run you might need this: Visual C++ Redist
And now the obligatory screenshot of the terrain editing in action:
Hope you like it!
***** End of November 2009 Update *****
Hi all, it's me again. I just wanted to share with you the latest updates to my project.
Firstly, I have decided to switch to the zlib license. This is much more permissive that the GPL which I was using previously, and allows commercial use amoung other things. I have updated SVN with the new license and will do the website when I get a chance.
Secondly, I have been preparing a new demo which will accompany an article I have been writing about voxel-based game engines. I would therefore like to invite people to test it just to make sure it works on other computers. It demonstrates very basic editing of voxel based terrain. Please read the readme file for instructions.
You can download the demo here: Terrain Editor Demo
If it won't run you might need this: Visual C++ Redist
And now the obligatory screenshot of the terrain editing in action:
Hope you like it!
***** End of November 2009 Update *****
Last edited by PolyVox on Wed Nov 11, 2009 12:07 am, edited 2 times in total.
- PolyVox
- OGRE Contributor
- Posts: 1316
- Joined: Tue Nov 21, 2006 11:28 am
- Location: Groningen, The Netherlands
- x 18
- Contact:
Re: Fully Destructible Levels - Now with destructible Earth
Sorry, I never answered this! Other shapes are of course possible... but it's just easier making spheres because I can just check whether voxels are with a certain distance of the destruction point. But eventually I aim to allow arbitrary (user-defined) meshes to be used as a shape - both for creating material and destroying it.nikki wrote:Anyway, the holes are too 'perfect'. Any chance we could see some shots of some less perfect holes?
- sinbad
- OGRE Retired Team Member
- Posts: 19269
- Joined: Sun Oct 06, 2002 11:19 pm
- Location: Guernsey, Channel Islands
- x 66
- Contact:
Re: Fully Destructible Levels - Now zlib license and new demo
Nice! Were you influenced by our switch to MIT at all?
Demo worked great for me. Is there a way to get a wireframe view?
Demo worked great for me. Is there a way to get a wireframe view?
- PolyVox
- OGRE Contributor
- Posts: 1316
- Joined: Tue Nov 21, 2006 11:28 am
- Location: Groningen, The Netherlands
- x 18
- Contact:
Re: Fully Destructible Levels - Now zlib license and new demo
It reminded me that I was planning to do it at some point. I once had ideas about being able to dual license between GPL and commercial, but it's so far from being finished that I decided it would be more useful to promote my name by spreading the software as far as I can. Hence the more permissive license.sinbad wrote:Nice! Were you influenced by our switch to MIT at all?
Only by editing 'Thermite\share\thermite\apps\TechDemo\materials\scripts\TriplanarTexture.material' and adding 'polygon_mode wireframe' into the main pass. I should add a keyboard shortcut for it though. But the triangles are so small it almost looks like solid rendering. I do have a chunked LOD system but it is disabled for this demo because of the cracks between patches (which are much harder to solve in 3D than for a 2D heightmap). I'm currently investigating progressive LOD as an alternative.sinbad wrote:Demo worked great for me. Is there a way to get a wireframe view?
The volume in the demo is 512x512x256 voxels which is a lot of triangles!
-
- Bronze Sponsor
- Posts: 153
- Joined: Mon Jul 31, 2006 8:29 pm
- Location: France
- x 7
- Contact:
- xadhoom
- Minaton
- Posts: 973
- Joined: Fri Dec 28, 2007 4:35 pm
- Location: Germany
- x 1
Re: Fully Destructible Levels - Now zlib license and new demo
Hey PolyVox!
Nice demo! Works great on my machine (XP-Laptop with a QuadroFX1500).
One thing: It seems that the normal calculation is wrong at certain edges. If you dig a hole through the ground the lower most vertices are brighter than the neighbours at the bottom edge.
xad
Nice demo! Works great on my machine (XP-Laptop with a QuadroFX1500).
One thing: It seems that the normal calculation is wrong at certain edges. If you dig a hole through the ground the lower most vertices are brighter than the neighbours at the bottom edge.
xad
- calsmurf2904
- Orc
- Posts: 401
- Joined: Tue Sep 16, 2008 9:39 pm
- Location: Netherlands
Re: Fully Destructible Levels - Now zlib license and new demo
Works here, low fps though. (Intel GMA x3100 graphics card explains it )
Visit my blog at http://calsmurf2904.wordpress.com !
Got a Google Wave account? Add me as contact! (projectxgame <at> gmail <dot> com)
Got a Google Wave account? Add me as contact! (projectxgame <at> gmail <dot> com)
- PolyVox
- OGRE Contributor
- Posts: 1316
- Joined: Tue Nov 21, 2006 11:28 am
- Location: Groningen, The Netherlands
- x 18
- Contact:
Re: Fully Destructible Levels - Now zlib license and new demo
Thanks for testing guys, I'm glad it works and you like it
Yes, actually you are right. The normals are computed directly from the voxel data by looking at the neighbouring voxels. Therefore the edges are a special case because there may not be any neighbouring voxels available. I will have to think about this, maybe I can make it less obvious.xadhoom wrote:One thing: It seems that the normal calculation is wrong at certain edges. If you dig a hole through the ground the lower most vertices are brighter than the neighbours at the bottom edge.
-
- Kobold
- Posts: 39
- Joined: Mon Sep 12, 2005 10:07 am
- Location: San Francisco
- x 4
- Contact:
Re: Fully Destructible Levels - Now zlib license and new demo
Great news. Do you remember we discussed switching to the zlib license GDC Austin in 2008?PolyVox wrote:***** Update for November 2009 *****
Hi all, it's me again. I just wanted to share with you the latest updates to my project.
Firstly, I have decided to switch to the zlib license. This is much more permissive that the GPL which I was using previously, and allows commercial use amoung other things. I have updated SVN with the new license and will do the website when I get a chance.
I'm glad you chose a BSD/MIT/Zlib style license for polyvox, just like Ogre, Bullet, Box2D etc.
I'll try out your demo, can you let us know when/where you plan publishing this article?
Erwin
http://bulletphysics.org
- PolyVox
- OGRE Contributor
- Posts: 1316
- Joined: Tue Nov 21, 2006 11:28 am
- Location: Groningen, The Netherlands
- x 18
- Contact:
Re: Fully Destructible Levels - Now zlib license and new demo
Hey Erwin,
Sure, I remember that, GDC 2008 was a great experience for me. I think the license change is a good move and will help boost interest in the library (at least when it is more finished) so I'm glad I finally got around to it.
The new demo doesn't feature any physics, unfortunatly. The Bullet code is still in there but needs reviving, and the article (which will appear in a book called Game Engine Gems out next year) focuses mostly on the rendering side of things. The most recent physics demo is the one with the castle and the bouncing cubes and spheres which you will have seen already.
If you are interested in physics with voxels you should also check out the videos for the Atomontage engine as I believe they do physics on the actual voxel data rather than an extracted mesh. There's no playable demo so it's hard to say if it really works, but the vehicle and particles video is particularly nice, and in the 'game scene' video you can actually see the truck leaving tire tracks in the voxel data
Sure, I remember that, GDC 2008 was a great experience for me. I think the license change is a good move and will help boost interest in the library (at least when it is more finished) so I'm glad I finally got around to it.
The new demo doesn't feature any physics, unfortunatly. The Bullet code is still in there but needs reviving, and the article (which will appear in a book called Game Engine Gems out next year) focuses mostly on the rendering side of things. The most recent physics demo is the one with the castle and the bouncing cubes and spheres which you will have seen already.
If you are interested in physics with voxels you should also check out the videos for the Atomontage engine as I believe they do physics on the actual voxel data rather than an extracted mesh. There's no playable demo so it's hard to say if it really works, but the vehicle and particles video is particularly nice, and in the 'game scene' video you can actually see the truck leaving tire tracks in the voxel data
-
- Gnoblar
- Posts: 1
- Joined: Fri Dec 18, 2009 1:18 am
Re: Fully Destructible Levels - Now zlib license and new demo
Hello and thanks! You're right, my physics engine works directly with voxels, but it also works with usual collision primitives for polygon-mesh based objects - like the vehicles in the newest videos. There are much nicer wheel tracks in the newest video than in the one with the truck. Hope you enjoy it!If you are interested in physics with voxels you should also check out the videos for the Atomontage engine as I believe they do physics on the actual voxel data rather than an extracted mesh. There's no playable demo so it's hard to say if it really works, but the vehicle and particles video is particularly nice, and in the 'game scene' video you can actually see the truck leaving tire tracks in the voxel data
Brano/Atomontage
- PolyVox
- OGRE Contributor
- Posts: 1316
- Joined: Tue Nov 21, 2006 11:28 am
- Location: Groningen, The Netherlands
- x 18
- Contact:
Re: Fully Destructible Levels - Now zlib license and new demo
Sounds good, though i won't be able to look at the video for a few weeks as I am away travelling. Do you plan to release a playable demo at some point? I'm always a little skeptical of videos with no demo (same for the GigaVoxels project) because until you try it it is hard to know what the limitations really are. But your project does look really cool, and I hope it does work as well as you say. Out of curiousity, how big are your voxel environments?Brano wrote:Hello and thanks! You're right, my physics engine works directly with voxels, but it also works with usual collision primitives for polygon-mesh based objects - like the vehicles in the newest videos. There are much nicer wheel tracks in the newest video than in the one with the truck. Hope you enjoy it!
Brano/Atomontage
- PolyVox
- OGRE Contributor
- Posts: 1316
- Joined: Tue Nov 21, 2006 11:28 am
- Location: Groningen, The Netherlands
- x 18
- Contact:
Re: Fully Destructible Levels - Now zlib license and new demo
***** Update: Now in Game Engine Gems 1 *****
Hey all,
I just wanted to let you know that the new book 'Game Engine Gems 1' features a chapter about the Thermite3D engine as described in this thread. The chapter (titled 'Volumetric Representation of Virtual Environments') is written by myself and covers storage of the voxels, the surface extraction, and the rendering process. Anyone interested in this technology should check it out!
You can find out more about the book at http://www.gameenginegems.com/
The chapter does mention Ogre, but only in passing as it is written in a largely API and engine independent way. But I hope it will help spread the word!
Hey all,
I just wanted to let you know that the new book 'Game Engine Gems 1' features a chapter about the Thermite3D engine as described in this thread. The chapter (titled 'Volumetric Representation of Virtual Environments') is written by myself and covers storage of the voxels, the surface extraction, and the rendering process. Anyone interested in this technology should check it out!
You can find out more about the book at http://www.gameenginegems.com/
The chapter does mention Ogre, but only in passing as it is written in a largely API and engine independent way. But I hope it will help spread the word!
-
- Kobold
- Posts: 30
- Joined: Fri Jan 19, 2007 10:42 am
Re: Fully Destructible Levels - Now in Game Engine Gems 1
Wow, let me be the first one to congratulate you . Just hope i have time to check the article later on, been waiting for to test drive your engine for an idea that i have.
- sinbad
- OGRE Retired Team Member
- Posts: 19269
- Joined: Sun Oct 06, 2002 11:19 pm
- Location: Guernsey, Channel Islands
- x 66
- Contact:
Re: Fully Destructible Levels - Now in Game Engine Gems 1
Congratulations on the article!
-
- Greenskin
- Posts: 100
- Joined: Tue Aug 01, 2006 6:50 am
- Location: Canada
- x 6
- Contact:
Re: Fully Destructible Levels - Now in Game Engine Gems 1
Congratulation on getting published- I'll be placing an order
Edit: Will the book be available anywhere else? I was placing an order but don't like the idea of purchasing an item where the shipping charges are not shown to me in advance.
Edit: Will the book be available anywhere else? I was placing an order but don't like the idea of purchasing an item where the shipping charges are not shown to me in advance.
- PolyVox
- OGRE Contributor
- Posts: 1316
- Joined: Tue Nov 21, 2006 11:28 am
- Location: Groningen, The Netherlands
- x 18
- Contact:
Re: Fully Destructible Levels - Now in Game Engine Gems 1
Great, well in about one month I intend to start adding scripting support (probably via QtScript). It will then be a lot easier to actually use the engine in projects.Entropai wrote:Wow, let me be the first one to congratulate you . Just hope i have time to check the article later on, been waiting for to test drive your engine for an idea that i have.
It's available on Amazon for pre-order, and it looks like it is going to be cheaper there: http://www.amazon.com/Game-Engine-Gems- ... 763778885/.Rambus wrote:Edit: Will the book be available anywhere else? I was placing an order but don't like the idea of purchasing an item where the shipping charges are not shown to me in advance.
On the UK version of Amazon you get free shipping on items over £15 - I don't know if it is the same on all their sites.
-
- Greenskin
- Posts: 100
- Joined: Tue Aug 01, 2006 6:50 am
- Location: Canada
- x 6
- Contact:
Re: Fully Destructible Levels - Now in Game Engine Gems 1
Thank you, I'll place the order on Amazon
My problem isn't having to pay for shipping changes, its the fact they are not upfront about them. Makes me think that the charges are going to be huge.
My problem isn't having to pay for shipping changes, its the fact they are not upfront about them. Makes me think that the charges are going to be huge.
- Sslaxx
- Greenskin
- Posts: 104
- Joined: Thu Apr 27, 2006 12:37 pm
- Location: Malvern, Worcs., UK
- Contact:
Re: Fully Destructible Levels - Now in Game Engine Gems 1
Yeah, might see if I can get the .com to ship this to the UK if I can afford it, because the UK site's price is the same as the full price on the US site. Even if the shipping charges are the difference, still would be a saving (if I can afford the book in the first place!).Rambus wrote:Thank you, I'll place the order on Amazon
My problem isn't having to pay for shipping changes, its the fact they are not upfront about them. Makes me think that the charges are going to be huge.
Stuart "Sslaxx" Moore
- jacmoe
- OGRE Retired Moderator
- Posts: 20570
- Joined: Thu Jan 22, 2004 10:13 am
- Location: Denmark
- x 179
- Contact:
Re: Fully Destructible Levels - Now in Game Engine Gems 1
How much work would it be to turn this into a voxel terrain system?
The reason why I'm asking is because I thought it would be cool to have this in Ogre:
http://www.terathon.com/wiki/index.php/Editing_Terrain
The reason why I'm asking is because I thought it would be cool to have this in Ogre:
http://www.terathon.com/wiki/index.php/Editing_Terrain
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
- PolyVox
- OGRE Contributor
- Posts: 1316
- Joined: Tue Nov 21, 2006 11:28 am
- Location: Groningen, The Netherlands
- x 18
- Contact:
Re: Fully Destructible Levels - Now in Game Engine Gems 1
It's almost exactly the same technology In fact, the author of that 3D engine is Eric Lengyel, who is also the editor of 'Game Engine Gems 1' where I published my article a few months ago.
My system is broken into two parts - the PolyVox library which manges the voxels and generates the surface mesh, and the Thermite3D engine which is a game engine built on the library and using Ogre for rendering.
The PolyVox library is already quite usable and can be incorperated into other engines. It's certainly not finished, but for example it has been integrated into the [w]tech engine as a terrain editor similar in concept to the C4 one. And the demo/screenshots at the top of this page show that Thermite3D is basically capable - it just needs a lot of user interface work for sculpting/smoothing tools, etc.
It's worth noting that I originally implemented this project as an Ogre SceneManager, before deciding it would be more useful to more people if it were a standalone library with no dependancies. But as you see in my demos, it still integrates with Ogre nicely, and it would be possible to write a SceneManager which builds on it.
My system is broken into two parts - the PolyVox library which manges the voxels and generates the surface mesh, and the Thermite3D engine which is a game engine built on the library and using Ogre for rendering.
The PolyVox library is already quite usable and can be incorperated into other engines. It's certainly not finished, but for example it has been integrated into the [w]tech engine as a terrain editor similar in concept to the C4 one. And the demo/screenshots at the top of this page show that Thermite3D is basically capable - it just needs a lot of user interface work for sculpting/smoothing tools, etc.
It's worth noting that I originally implemented this project as an Ogre SceneManager, before deciding it would be more useful to more people if it were a standalone library with no dependancies. But as you see in my demos, it still integrates with Ogre nicely, and it would be possible to write a SceneManager which builds on it.
- jacmoe
- OGRE Retired Moderator
- Posts: 20570
- Joined: Thu Jan 22, 2004 10:13 am
- Location: Denmark
- x 179
- Contact:
Re: Fully Destructible Levels - Now in Game Engine Gems 1
Wow, some impressive [W]Tech screenshots!
I know that the C4 author is behind Game Gems, and I know that the tech is very similar, which is why I asked.
I think a new voxel based Terrain component powered by PolyVox would be extremely cool.
I know that the C4 author is behind Game Gems, and I know that the tech is very similar, which is why I asked.
I think a new voxel based Terrain component powered by PolyVox would be extremely cool.
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
- jacmoe
- OGRE Retired Moderator
- Posts: 20570
- Joined: Thu Jan 22, 2004 10:13 am
- Location: Denmark
- x 179
- Contact:
Re: Fully Destructible Levels - Now in Game Engine Gems 1
Just a small question: Is triplanar texture mapping part of PolyVox ?
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
- PolyVox
- OGRE Contributor
- Posts: 1316
- Joined: Tue Nov 21, 2006 11:28 am
- Location: Groningen, The Netherlands
- x 18
- Contact:
Re: Fully Destructible Levels - Now in Game Engine Gems 1
Yeah, it would be nice, but I'm not planning to implement it myself. In Thermite I'm using the default scene manager - PolyVox generates the final mesh as a number of regions and I just create a SceneNode (via hardware buffers, but ManualObject would also work) for each and add it to the SceneManager. I'm not sure what advantages I would get from a custom/dedicated scenemanager, but I haven't really looked into it.jacmoe wrote:I think a new voxel based Terrain component powered by PolyVox would be extremely cool.
No, but it is in Thermite. It's not in PolyVox for a couple of resons. Firstly it's not the only way of applying textures to voxels, for example it looks good on terrain but I also have a voxel model of the Earth which I texture by sampling a cubemap (from NASA data) according to the surface normal. Secondly PolyVox doesn't deal with shaders/OpenGL/Direct3D. It just provides the storage of the volumes and an algorithm to extract the surface.jacmoe wrote:Just a small question: Is triplanar texture mapping part of PolyVox ?
- jacmoe
- OGRE Retired Moderator
- Posts: 20570
- Joined: Thu Jan 22, 2004 10:13 am
- Location: Denmark
- x 179
- Contact:
Re: Fully Destructible Levels - Now in Game Engine Gems 1
Thanks!
No, I wasn't thinking of a dedicated scene manager - I'll take a peek at Thermite.
Sounds like it features what I'm looking for.
No, I wasn't thinking of a dedicated scene manager - I'll take a peek at Thermite.
Sounds like it features what I'm looking for.
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.