# Simple Procedural Planets - BP only

**URL:** <https://forums.unrealengine.com/t/simple-procedural-planets-bp-only/69675>\
**Category:** Game Development\
**Tags:** unreal-engine\
**Created:** [July 22, 2016, 9:56pm UTC](https://forums.unrealengine.com/t/simple-procedural-planets-bp-only/69675 "2016-07-22T21:56:24Z")\
**Posts on this page:** 20\
**Page:** 3

<div class="post-metadata">

**Author:** ![Koderz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Koderz](https://forums.unrealengine.com/u/Koderz)\
**Post date:** [August 28, 2016, 9:57pm UTC](https://forums.unrealengine.com/t/simple-procedural-planets-bp-only/69675/51 "2016-08-28T21:57:30Z")

</div>

> [@Z-enzyme;585569](#):
>
> For some reason running Runtime mesh component I have 30% less FPS than using Procedural mesh component. Am I doing something wrong or what…?
> 
> Forums are finally up, meh.

Not sure how that would happen… The RMC on its slowest parts is exactly the same as the PMC, but almost everything in there is just faster than the PMC. I’d be interested in seeing the profiling output to see what’s up.

Also as a short list of questions:

1. What UpdateFrequency are you setting (if you are at all) in CreateMeshSection?
2. Is this with/without collision?
3. How frequently are you calling Create/Update etc?
4. Are you using the PMC style API with its separate buffers per component, or the new one using the single array of the 1 structure?

---

<div class="post-metadata">

**Author:** ![Z-enzyme](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Z-enzyme](https://forums.unrealengine.com/u/Z-enzyme)\
**Post date:** [August 28, 2016, 10:46pm UTC](https://forums.unrealengine.com/t/simple-procedural-planets-bp-only/69675/52 "2016-08-28T22:46:55Z")

</div>

> [@Koderz;586138](#):
>
> Not sure how that would happen… The RMC on its slowest parts is exactly the same as the PMC, but almost everything in there is just faster than the PMC. I’d be interested in seeing the profiling output to see what’s up.
> 
> Also as a short list of questions:
> 
> 1. What UpdateFrequency are you setting (if you are at all) in CreateMeshSection?
> 2. Is this with/without collision?
> 3. How frequently are you calling Create/Update etc?
> 4. Are you using the PMC style API with its separate buffers per component, or the new one using the single array of the 1 structure?

1: That doesn’t really matter because when I create a mesh section I’m not updating it at all.  
2: Yes, I am using collision - it seems collision or not the FPS is exactly the same.  
3: Only once, when I create a quad it just sits there doing nothing.  
4: Ummm, I don’t really know how to set up buffers in RMC.

BUT - this is mu setup for both

![f6528d0ba659e7ff16a37ef0b1225bc79e06b506.jpeg](https://d1ap1mz92jnks1.cloudfront.net/images/transparent.png)

(Don’t mind the Create Collision bool being turned off, I was checking every configuration, always 6 FPS less from that angle, always less FPS from any angle)

Creating only 1/6th of the whole mesh I have 6 FPS less using RMC.

Procedural Mesh Component  
 ![ef9f87916191828bc3f767c86d5ca9c65dc7d12c.jpeg](https://d1ap1mz92jnks1.cloudfront.net/images/transparent.png)

Runtime Mesh Component  
 ![1ac7f0c21f6cc4a9420231ec7964ed6fba1f2572.jpeg](https://d1ap1mz92jnks1.cloudfront.net/images/transparent.png)

I have no idea how to debug this, check what the heck is going on, so, I’d be grateful for any advice here.

---

<div class="post-metadata">

**Author:** ![Koderz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Koderz](https://forums.unrealengine.com/u/Koderz)\
**Post date:** [August 28, 2016, 11:44pm UTC](https://forums.unrealengine.com/t/simple-procedural-planets-bp-only/69675/53 "2016-08-28T23:44:18Z")

</div>

> [@Z-enzyme;586153](#):
>
> 1: That doesn’t really matter because when I create a mesh section I’m not updating it at all.  
> 2: Yes, I am using collision - it seems collision or not the FPS is exactly the same.  
> 3: Only once, when I create a quad it just sits there doing nothing.  
> 4: Ummm, I don’t really know how to set up buffers in RMC.

Ok, the reason for the first question was to see if you had it set to Infrequent, which underneath actually switches to a faster rendering path than the PMC, whether you had that flagged or not it should be faster rendering either way as the RMC fixes a couple issues the PMC had that degrades performance. You have it setup generally how I figured, so there’s no reason I can think of as to why it’s running slower…

If you’re willing, run the full profiler for each of the two and send me the results. If you’ve never used that before, open the console “~” and type… _ **stat startfile** _ …and then wait maybe 10-20 seconds and then type _ **stat stopfile** _  
then in your game project folder look in Saved/Profiling and find the two most recent files and send those to me either here, pm, slack.

---

<div class="post-metadata">

**Author:** ![IronBoundManzer](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@IronBoundManzer](https://forums.unrealengine.com/u/IronBoundManzer)\
**Post date:** [September 29, 2016, 11:52am UTC](https://forums.unrealengine.com/t/simple-procedural-planets-bp-only/69675/54 "2016-09-29T11:52:46Z")

</div>

are you still doing this ?  
If not could you pass this on to me ? I need a procedural generated low poly sphere.

---

<div class="post-metadata">

**Author:** ![Z-enzyme](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Z-enzyme](https://forums.unrealengine.com/u/Z-enzyme)\
**Post date:** [September 29, 2016, 2:05pm UTC](https://forums.unrealengine.com/t/simple-procedural-planets-bp-only/69675/55 "2016-09-29T14:05:37Z")

</div>

Still in development, so, no, sorry.  
But, as to sphere, PM me, we can talk.

---

<div class="post-metadata">

**Author:** ![Z-enzyme](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Z-enzyme](https://forums.unrealengine.com/u/Z-enzyme)\
**Post date:** [October 7, 2016, 2:02am UTC](https://forums.unrealengine.com/t/simple-procedural-planets-bp-only/69675/56 "2016-10-07T02:02:23Z")

</div>

Doublepost, YAY!  
A quick update. Been working on the planets but something struck me. Would it be possible to make a skybox for the galasy as a 3D galaxy map?  
Well, it’s Unreal Engine 4. Sure it would. This might work beautifully when we have a working world origin shifting in multiplayer.

Here’s a video of a working star map of a spiral galaxy with 90 000 stars in it. Each can be targeted, each has it’s own seeds for later star and planet creation. Gonna work on that later. It takes time to generate, like 10 seconds, but once moved to C++ it will be faster, as it only needs to be generated once. After that it’s just kept in the memory. Only the star vectors, the rest is generated on the fly - names, solar system properties, planets and such. Well, not yet, it is planned.

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/5/4/854e6b79518f5eba658b9ad65bbde96f77b37861.jpeg "Procedural Star Map") ](https://www.youtube.com/watch?v=J_zqTKv1qkE)

---

<div class="post-metadata">

**Author:** ![Mr\_SquarePeg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mr\_SquarePeg](https://forums.unrealengine.com/u/Mr_SquarePeg)\
**Post date:** [October 7, 2016, 2:34am UTC](https://forums.unrealengine.com/t/simple-procedural-planets-bp-only/69675/57 "2016-10-07T02:34:19Z")

</div>

> [@Z-enzyme;605362](#):
>
> Doublepost, YAY!  
> A quick update. Been working on the planets but something struck me. Would it be possible to make a skybox for the galasy as a 3D galaxy map?  
> Well, it’s Unreal Engine 4. Sure it would. This might work beautifully when we have a working world origin shifting in multiplayer.
> 
> Here’s a video of a working star map of a spiral galaxy with 90 000 stars in it. Each can be targeted, each has it’s own seeds for later star and planet creation. Gonna work on that later. It takes time to generate, like 10 seconds, but once moved to C++ it will be faster, as it only needs to be generated once. After that it’s just kept in the memory. Only the star vectors, the rest is generated on the fly - names, solar system properties, planets and such. Well, not yet, it is planned.
> 
> [https://youtube.com/watch?v=J\_zqTKv1qkE](https://youtube.com/watch?v=J_zqTKv1qkE)

This looks amazing. 😃

World Origin shifting for Multiplayer is coming in 4.14. Just saying.

Also going to shoot you a PM real quick.

Edit: Sent the PM to you @Z-enzyme

Please get back to me when you can.

---

<div class="post-metadata">

**Author:** ![Z-enzyme](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Z-enzyme](https://forums.unrealengine.com/u/Z-enzyme)\
**Post date:** [October 7, 2016, 1:19pm UTC](https://forums.unrealengine.com/t/simple-procedural-planets-bp-only/69675/58 "2016-10-07T13:19:38Z")

</div>

Again, quick update, probably will be changing the galaxy model to a more accurate one. After digging the internet found a way to create a galaxy using the density wave theory.

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/7/f/e7f920c0d344e29e36afc8196162e2363c842230.jpeg "More Accurate Star Map Preview") ](https://www.youtube.com/watch?v=eRQwYZzJCeM)

Looks legit.

And, no, no rotation in game, it’s way too heavy. I’m only interested in the shape and more less even star separation - this was the problem with the last model, there were places I could leave cause the stars were too far away. Maybe this one will work.

Cheers,  
Z.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_bcf66e2c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_bcf66e2c](https://forums.unrealengine.com/u/anonymous_user_bcf66e2c)\
**Post date:** [October 8, 2016, 12:58am UTC](https://forums.unrealengine.com/t/simple-procedural-planets-bp-only/69675/59 "2016-10-08T00:58:54Z")

</div>

Wow impressive. Definitely keeping my eye on this since I am working on exactly the same thing (altho ur further along)

---

<div class="post-metadata">

**Author:** ![Z-enzyme](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Z-enzyme](https://forums.unrealengine.com/u/Z-enzyme)\
**Post date:** [October 8, 2016, 11:10am UTC](https://forums.unrealengine.com/t/simple-procedural-planets-bp-only/69675/60 "2016-10-08T11:10:12Z")

</div>

> [@;605910](#):
>
> Wow impressive. Definitely keeping my eye on this since I am working on exactly the same thing (altho ur further along)

Lotta people is. XD

---

<div class="post-metadata">

**Author:** ![Eilios](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Eilios](https://forums.unrealengine.com/u/Eilios)\
**Post date:** [November 17, 2016, 6:01pm UTC](https://forums.unrealengine.com/t/simple-procedural-planets-bp-only/69675/61 "2016-11-17T18:01:07Z")

</div>

Hey @Z-enzyme, are you still working on this? I was going to start a while back, but real life is real life. Been planning to start again recently but there really isn’t a reason to reinvent the wheel (only difference for me is I don’t need procedural, I just want a couple hand made ones).

---

<div class="post-metadata">

**Author:** ![lennysunreal](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/lennysunreal/32/984341_2.png) [@lennysunreal](https://forums.unrealengine.com/u/lennysunreal)\
**Post date:** [November 17, 2016, 6:16pm UTC](https://forums.unrealengine.com/t/simple-procedural-planets-bp-only/69675/62 "2016-11-17T18:16:18Z")

</div>

Amazing work so far yo. The level of detail you’re getting is nuts!

---

<div class="post-metadata">

**Author:** ![Zireael07](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Zireael07](https://forums.unrealengine.com/u/Zireael07)\
**Post date:** [November 17, 2016, 6:25pm UTC](https://forums.unrealengine.com/t/simple-procedural-planets-bp-only/69675/63 "2016-11-17T18:25:48Z")

</div>

This is really awesome! All the things you can do with procedural generation… blows my mind!

---

<div class="post-metadata">

**Author:** ![Z-enzyme](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Z-enzyme](https://forums.unrealengine.com/u/Z-enzyme)\
**Post date:** [February 26, 2017, 12:11am UTC](https://forums.unrealengine.com/t/simple-procedural-planets-bp-only/69675/64 "2017-02-26T00:11:57Z")

</div>

Just a little tease. Maybe will be showing something bigger soon.

![b5c47ed2d9cfa85be81e8ea64365d350330e02ed.jpeg](https://d1ap1mz92jnks1.cloudfront.net/images/transparent.png)

---

<div class="post-metadata">

**Author:** ![Mr\_SquarePeg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mr\_SquarePeg](https://forums.unrealengine.com/u/Mr_SquarePeg)\
**Post date:** [February 26, 2017, 6:16am UTC](https://forums.unrealengine.com/t/simple-procedural-planets-bp-only/69675/65 "2017-02-26T06:16:09Z")

</div>

Hey @Z-enzyme -

Looks nice so far. Cannot wait to see what you have to show off 🙂

---

<div class="post-metadata">

**Author:** ![Z-enzyme](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Z-enzyme](https://forums.unrealengine.com/u/Z-enzyme)\
**Post date:** [June 17, 2017, 3:37pm UTC](https://forums.unrealengine.com/t/simple-procedural-planets-bp-only/69675/66 "2017-06-17T15:37:56Z")

</div>

Alright, playing with 4.16 features.

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/6/4/d64add537db71f653e39813d0182b0bb0ed7415e.jpeg "Galaxy model using the Density Wave Theory in Unreal Engine 4") ](https://www.youtube.com/watch?v=t7uAbUoMCXI)

---

<div class="post-metadata">

**Author:** ![Z-enzyme](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Z-enzyme](https://forums.unrealengine.com/u/Z-enzyme)\
**Post date:** [June 17, 2017, 11:23pm UTC](https://forums.unrealengine.com/t/simple-procedural-planets-bp-only/69675/67 "2017-06-17T23:23:56Z")

</div>

![Galaxy_2.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/5/0/50cc80a4538d73d895b4e74feee3284d11d3ceee.jpeg)

 ![Galaxy_1.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/5/1/51b4e78f83710c93387b1864717e5c8379b0eb63.jpeg)

 ![Galaxy_0.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/8/f/8fcae9d227630e5b68578ddd71219c674e8772da.jpeg)

The Black Hole is a bit big… But, ah, well, it’s still POC.

---

<div class="post-metadata">

**Author:** ![ioFlow\_Studios](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ioflow_studios/32/1194555_2.png) [@ioFlow\_Studios](https://forums.unrealengine.com/u/ioFlow_Studios)\
**Post date:** [June 19, 2017, 2:52am UTC](https://forums.unrealengine.com/t/simple-procedural-planets-bp-only/69675/68 "2017-06-19T02:52:43Z")

</div>

Love it 🙂

How you doing your stars?

---

<div class="post-metadata">

**Author:** ![Z-enzyme](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Z-enzyme](https://forums.unrealengine.com/u/Z-enzyme)\
**Post date:** [June 20, 2017, 6:59pm UTC](https://forums.unrealengine.com/t/simple-procedural-planets-bp-only/69675/69 "2017-06-20T18:59:57Z")

</div>

> [@Studios;725407](#):
>
> Love it 🙂
> 
> How you doing your stars?

A bit of math and instanced static meshes.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_1e01fa57](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_1e01fa57](https://forums.unrealengine.com/u/anonymous_user_1e01fa57)\
**Post date:** [August 15, 2017, 6:57am UTC](https://forums.unrealengine.com/t/simple-procedural-planets-bp-only/69675/70 "2017-08-15T06:57:05Z")

</div>

How many planets will you Procedural in your game？Is it infinite?

[Previous page](https://forums.unrealengine.com/t/simple-procedural-planets-bp-only/69675.md?page=2)

[Next page](https://forums.unrealengine.com/t/simple-procedural-planets-bp-only/69675.md?page=4)
