Enquiry

Hey guys, I’m developing a fairly complex video game currently utilising OpenGL 3 but it’s fairly slow going and I’m looking to speed up development by using some rendering middleware. I’ve had a quick look at Unity’s rendering capabilities and had it recommended but I’m worried it’s a little too abstract. I have two main issues:

o My game is already largely developed, running atop Mono/C#. Any 3D engine needs to be accessed by the existing libraries + interfaces, not the other way around. What I’m getting from the site is that Unity is intended as a base for development rather than as a library to simply bolt onto the game. Can I integrate Unity into my project?

o I have a complex infinitely-scaling tessellating planet algorithm (on the CPU) which is central to the game mechanics. Can Unity deal with a complex dynamically generated + constantly changing mesh such as this - or can it only solely handle meshes imported from modelling software?

Thanks in advance,
Danny

In your case I would say that Unity probably wouldn’t be the best bet for you.

This is correct. You can’t for example use Unity’s rendering engine as a DLL you reference from an external project. Unity is also sitting atop Mono/C# but uses a component based paradigm. It would take some effort to retrofit, but the work would be of a grunt nature and not technical limitations.

Unity exposes a Mesh class. Your CPU procedural meshes would not be a problem.