Volumes Of Fun
http://www.volumesoffun.com/phpBB3/

The Transvoxel Algorithm
http://www.volumesoffun.com/phpBB3/viewtopic.php?f=2&t=139
Page 1 of 1

Author:  Chris [ Tue Feb 08, 2011 10:21 am ]
Post subject:  The Transvoxel Algorithm

Note: This thread has been split off from a previous one here.

David Williams wrote:
It's also worth noting that Eric said he plans to release his lookup tables at some point in the future:

http://www.gamedev.net/topic/591926-mar ... try4753715

If he does so then it could well pave the way for his algorithm to be implemented in PolyVox.


The tables have been released today :)
http://www.terathon.com/voxels/

Author:  David Williams [ Tue Feb 08, 2011 6:49 pm ]
Post subject:  Re: Seamlessly aligning extracted meshes

Excellent, it's really good that he makes this publically available, especially as the voxel terrain is one of the features that sets C4 apart from other popular engines such as Unity. Presumably he hopes that it will generate some good publicity for the C4 engine.

I would certainly be interested in seeing this algorithm implemented in PolyVox, and it seems that this will be possible. I'll probably implement it myself (if no one else does) but it won't happen for a while because I'm currently working on the improved volume compression, and need to work on my game after that. I also don't have a personal need for this system as I'm curently working with Minecraft style terrain, but it would certainly be interesting to see if the two styles can be combined in a single environment (transvoxels for the terrain and Minecraft-style for the buildings?).

If anyone does experiment with it I'd like to kow what you find...

Author:  Chris [ Tue Feb 08, 2011 7:15 pm ]
Post subject:  Re: The Transvoxel Algorithm

I'll be interrested in implementing these later too, after finishing a publication on something else.

It'd be great to see it in PolyVox after you've improved the volume compression: it could have a lot of applications for research projects in realistic graphics rendering.

Author:  ape [ Wed Feb 09, 2011 4:33 am ]
Post subject:  Re: The Transvoxel Algorithm

Yay, looking forward to making use of this when it gets implemented.

I was actually considering doing exactly what you mentioned for my own game, David, with the block based system for buildings/walls on top of smooth voxel terrain.

Author:  David Williams [ Wed Feb 09, 2011 6:43 pm ]
Post subject:  Re: The Transvoxel Algorithm

I just had a look at the license behind the released tables, and it might be necessary to check some details with Eric when it comes to implementing this in PolyVox. In particular, the license says:
Quote:
...
// The data in this file may be freely used in implementations
// of the Transvoxel Algorithm. If you do use this in your own
// projects, commerical or otherwise, please give credit where
// credit is due.
...

Which sounds quite reasonable, but may actually be incompatible with the zlib license which PolyVox currently uses (emphasis mine):
Quote:
...an acknowledgment in the product documentation would be appreciated but is not required.

Technically you can use PolyVox without ever telling your end users you are doing so, though of course it's nice to receive credit. But end users of the PolyVox library aren't going to know that Eric's code is being used internally and so can't be expected to credit him.

It might sound pedantic, and maybe he is happy to simply be listed in the PolyVox credits/copyright (which might not get passed on to the end user), but it's worth checking with him when the time comes.

Author:  Eric Lengyel [ Thu Feb 10, 2011 12:34 am ]
Post subject:  Re: The Transvoxel Algorithm

I'll come up with something more specific to put in the data file. It wasn't my intention to require that a credit actually be displayed in an end product or anything like that. I'd be happy if there was just a comment in the source code of any implementation using this data that indicated where the data came from. And, of course, there shouldn't be any false claims as to the source of the data or the algorithm itself.

Author:  milliams [ Thu Feb 10, 2011 3:50 pm ]
Post subject:  Re: The Transvoxel Algorithm

That sounds entirely reasonable. We would of course credit you as much as possible - i.e. a mention in the code and documentation with a full reference to your paper/dissertation and website. The only thing we can't do - as Dave says - is force users of PolyVox to mention you in the credits of their project.

Author:  David Williams [ Thu Feb 10, 2011 6:09 pm ]
Post subject:  Re: The Transvoxel Algorithm

Thanks for the clarification, that's what I imagined your would say. It's really just a technicality but still important to keep things straight. We'll be sure to include credit in our own implementation when the time comes.

Author:  realazthat [ Wed May 04, 2011 3:51 pm ]
Post subject:  Re: The Transvoxel Algorithm

Eric Lengyel wrote:
I'll come up with something more specific to put in the data file. It wasn't my intention to require that a credit actually be displayed in an end product or anything like that. I'd be happy if there was just a comment in the source code of any implementation using this data that indicated where the data came from. And, of course, there shouldn't be any false claims as to the source of the data or the algorithm itself.


Thank you so much for releasing the source of your algorithm. I intend to sublicense the source code as zlib license (http://en.wikipedia.org/wiki/Zlib_License), which I think does not infringe upon your terms. Is this ok?

Author:  David Williams [ Thu May 05, 2011 9:58 pm ]
Post subject:  Re: The Transvoxel Algorithm

I think your probably better off emailing Eric directly, I don't think he checks these forums very regularly.

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/