It is currently Tue Dec 10, 2019 12:02 am


All times are UTC




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Help on use of PolyVox with Unreal Engine.
PostPosted: Fri Mar 04, 2016 9:35 pm 

Joined: Fri Mar 04, 2016 7:12 pm
Posts: 5
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 :)


Top
Offline Profile  
Reply with quote  
 Post subject: Re: Help on use of PolyVox with Unreal Engine.
PostPosted: Sat Mar 05, 2016 10:59 pm 
Developer
User avatar

Joined: Sun May 04, 2008 6:35 pm
Posts: 1827
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.


Top
Offline Profile  
Reply with quote  
 Post subject: Re: Help on use of PolyVox with Unreal Engine.
PostPosted: Sun Mar 06, 2016 2:17 am 

Joined: Fri Mar 04, 2016 7:12 pm
Posts: 5
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.


Top
Offline Profile  
Reply with quote  
 Post subject: Re: Help on use of PolyVox with Unreal Engine.
PostPosted: Sun Mar 06, 2016 6:06 am 

Joined: Fri Mar 04, 2016 7:12 pm
Posts: 5
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?


Top
Offline Profile  
Reply with quote  
 Post subject: Re: Help on use of PolyVox with Unreal Engine.
PostPosted: Mon Mar 07, 2016 2:15 am 

Joined: Fri Mar 04, 2016 7:12 pm
Posts: 5
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.


Top
Offline Profile  
Reply with quote  
 Post subject: Re: Help on use of PolyVox with Unreal Engine.
PostPosted: Mon Mar 07, 2016 10:38 pm 
Developer
User avatar

Joined: Sun May 04, 2008 6:35 pm
Posts: 1827
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.


Top
Offline Profile  
Reply with quote  
 Post subject: Re: Help on use of PolyVox with Unreal Engine.
PostPosted: Tue Mar 08, 2016 1:03 am 

Joined: Fri Mar 04, 2016 7:12 pm
Posts: 5
Oh ok. Well thank you for the info. :)


Top
Offline Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Theme created StylerBB.net