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

Help on use of PolyVox with Unreal Engine.
http://www.volumesoffun.com/phpBB3/viewtopic.php?f=14&t=661
Page 1 of 1

Author:  JTrocks55 [ Fri Mar 04, 2016 9:35 pm ]
Post subject:  Help on use of PolyVox with Unreal Engine.

Hello! I am trying to find a way to use PolyVox with Unreal Engine 4. I have a game working and everything, but I don't know how to implement this into UE4. Could anyone point me in the right direction?

This is the game, and you can see why voxels would be great (as I am now using Static Meshes..not good): https://jtrocks55.itch.io/universe-constructor

Thanks in advance :)

Author:  David Williams [ Sat Mar 05, 2016 10:59 pm ]
Post subject:  Re: Help on use of PolyVox with Unreal Engine.

You'll need to be a bit more specific with your question - what problems are you having with the integration? Really PolyVox is independent of any API/engine, it just generates index/vertex data so you will need to be familiar with how to convert that to a format that Unreal can use.

I'm not familiar with Unreal myself, but Matt (other PolyVox developer) integrated Cubiquity with Unreal and that it in turn is built on PolyVox. I don't think it's being maintained at the moment though, and development of both PolyVox and Cubiquity is being wound down to focus on Cubiquity 2 in the future. But if you want it you can find the code here:

Cubiquity (uses PolyVox): https://bitbucket.org/volumesoffun/cubiquity
Cubiquity integration for Unreal: https://github.com/volumesoffun/cubiqui ... eal-engine

There also another project integrating PolyVox with Unreal, which you can find here:

Voxel Plugin For UE4: https://forums.unrealengine.com/showthr ... in-For-UE4

I don't know if the source code is available, though.

Author:  JTrocks55 [ Sun Mar 06, 2016 2:17 am ]
Post subject:  Re: Help on use of PolyVox with Unreal Engine.

Oh ok thank you. I don't really know how much more specific I can be, I figured this was a longshot as I don't have tons of experience with programming 3d graphics. I have experience with programming and C++ itself, but combined with graphics, so I didn't actually think someone would be able to help me very much XD. But thanks very much for the links. I have that game I linked, and it is totally free, always will be. Am I allowed to use the code you gave me for that or are there royalties? Or what about if it was a paid game? (it won't be, but just curious)

But thanks again :)

Also I am having a problem. I figured everything out I am pretty sure, but I am getting quite a few errors. I am really not sure how I can explain the errors.

Author:  JTrocks55 [ Sun Mar 06, 2016 6:06 am ]
Post subject:  Re: Help on use of PolyVox with Unreal Engine.

Well I decided to start fresh with a brand new c++ project, and it seems that everything works, except for one thing. The terrain BP and the other one in the Cubiquity Content folder, in the editor, don't have parent blueprints and are unable to be used. Any idea what I could have done wrong?

Author:  JTrocks55 [ Mon Mar 07, 2016 2:15 am ]
Post subject:  Re: Help on use of PolyVox with Unreal Engine.

I tried again with a new project named "CubiquityProject" in case names were conflicting, but no luck. Still trying to figure out why the two blueprints (CubiquityTerrain and CubiquityColoredCubes) are not working. They just say that they have no parent class, and to check to make sure their parents haven't been deleted.

Author:  David Williams [ Mon Mar 07, 2016 10:38 pm ]
Post subject:  Re: Help on use of PolyVox with Unreal Engine.

Unfortunately I cannot help much with Cubiquity for Unreal. I wrote much of PolyVox and all of Cubiquity, but the Unreal integration was written by my brother, Matt. I don't have much knowledge of how it works but I do know it's not up to date with the latest version of Unreal.

There is a thread on the Unreal forums, but I know that Matt is not having time to support it at the moment. This is also because we are changing the direction of Cubiquity for the next major version as described here. Do read that blog post before you commit too much to Cubiquity.

The main reason I pointed you at Cubiquity for Unreal is that ultimately it is built on PolyVox, so if you have advanced C++/graphics/voxel knowledge you might be able to make something of it. The whole system is large and complex though, which is one of the reasons for slimming it down for the next major version.

Otherwise, the other voxel solution for Unreal is also built on PolyVox and I think that one is more actively maintained. I don't know if source is available though or how mature it is.

JTrocks55 wrote:
Am I allowed to use the code you gave me for that or are there royalties?


For PolyVox or Cubiquity it is completely free and there is no catch. We were selling the Unity version for a while but it didn't work out. For the other voxel engine I don't know what the license is, you will have to investigate.

Author:  JTrocks55 [ Tue Mar 08, 2016 1:03 am ]
Post subject:  Re: Help on use of PolyVox with Unreal Engine.

Oh ok. Well thank you for the info. :)

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