Jump to content

Gaia Pro 2023 Programmatically Generate World


dudesss
Go to solution Solved by Bryan,

Recommended Posts

Hi 🙂 I'd like to programmatically create worlds and to import different biomes or use different spawners depending on the scenario. With Gaia Pro 2023 out, is there an easier way to do this? Is there documentation anywhere for this? I seen the GaiaAPI Class can be used programmatically, but is this good enough to create worlds programmatically as well?

Link to comment
Share on other sites

Hello @dudesss, Gaia 2023 has not changed much in terms of API / accessing its capabilities programmatically. Please note that the terrain editing / creation is not possible during runtime - Gaia requires too much functionality of the unity editor which is not available in a standalone build.
In the editor it might be possible to code a system that uses Gaia to automatically generate worlds, you would essentially need to automate calling & execute the world designer for this. Can you tell us a bit more what you want to achieve, e.g. is the world creation supposed to be available for the player as well? Or do you want to create a lot of ready-made levels during design time which should be included in the build?

Link to comment
Share on other sites

Hey man, I'm looking to allow the player to use items in order to be used to populate their world. For example, types or trees or mushrooms. Then use Gaia to populate the world. Maybe I'm over doing by trying to use procedural generated worlds for this? Maybe I should have the user place things down themselves?

Link to comment
Share on other sites

I'm also looking for a programmatic solution. Would I be able to generate terrain procedurally using API calls?  i.e. playable areas are generated from a unique seed. 

Link to comment
Share on other sites

  • Solution
2 hours ago, stonstad said:

I'm also looking for a programmatic solution. Would I be able to generate terrain procedurally using API calls?  i.e. playable areas are generated from a unique seed. 

No you would need to make them in editor. 
The only thing I could think of would be to make them using the random terrain generator. 
Then use GeNa Pro API to create a runtime spawner and them spawn them. 

 

Link to comment
Share on other sites

Thank you for your response. I think there is a real need for a runtime API solution.  If this ever becomes available, we'd love to use it.

Link to comment
Share on other sites

Yeah that is understandable. 
We have some enterprise solutions coming that will. 
Gaia products are meant to be design time. 

Link to comment
Share on other sites

On 10/11/2023 at 12:14 PM, Bryan said:

Yeah that is understandable. 
We have some enterprise solutions coming that will. 
Gaia products are meant to be design time. 

I am looking into using Gaia stamps (without Gaia) to create terrain at runtime.  But it would obviously be great to use Gaia, if it's technically possible. Does the stamping logic for Gaia and subsequent conversion to Unity Terrain live in an editor only DLL, and this is the limitation? 

I'm trying to figure out if I would still be able to use Gaia for partial generation --just the terrain.  I'm hesitant to purchase Gaia Pro without knowing whether I'll ultimately be able to invoke needed API calls at runtime.  

Link to comment
Share on other sites

So you can use an "outside" project to create the stamps and then export those stamps outside of the project. 
One thing I could see is if you make a secondary project to create stamps or terrain meshes and then export those out.
Then use the multiple terrains that you have created and exported out and do runtime spawning with those and GeNa Pro. 

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Tell a friend

    Love Canopy - Procedural Worlds? Tell a friend!
  • Need help?

    We work with some of the biggest brands in global gaming, automotive, technology, and government to create environments, games, simulations, and product launches for desktop, mobile, and VR.

    Our unique expertise and technology enable us to deliver solutions that look and run better at a fraction of the time and cost of a typical project.

    Check out some of our non-NDA work in the Gallery, and then Contact Us to accelerate your next project!

×
×
  • Create New...