简体   繁体   English

XNA Perlin噪音星球

[英]XNA Perlin Noise Planet

I want to make an procedural planet with XNA. 我想用XNA创建一个程序性行星。 I'm able to create an heightmap with Perlin Noise and load it in run-time, but how do I create additional seamless chunks and create a spherical planet? 我可以用Perlin Noise创建一个高度图并在运行时加载它,但是如何创建额外的无缝块并创建一个球形行星?

Thanks in advance, Giulio. 在此先感谢朱利奥。

Check out how I did it here 看看我是如何做到了这里

Thats assuming you are making a platformer, or is it topdown? 多数民众赞成假设你正在制作平台游戏,还是自上而下?

However because you need chunks, using how I did it may not work so good, So you could use this implementation of perlin noise, and use it as seen in the link below. 但是因为你需要块,使用我的方式它可能不会那么好,所以你可以使用perlin噪声的这种实现,并使用它,如下面的链接所示。 You may want to take a look here for chunks 你可能想看看这里的块

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM