AS3 3D 地形纹理生成:寻找中级/高级想法
我一直在为 AS3 开发 Away3D,并制作了一个小型地形生成器,使用 Perlin Noise 创建高度图,然后进行纹理化,将 5 个图像拼接在一起(非常通用的基于噪声的水、海滩、草地、岩石和图像)。雪)取决于高度。
接下来去哪里? 我怀疑自己是否有能力直接为 3D 引擎做出贡献,但我想知道是否有人对雨影和其他地理现象之类的东西进行过修改。 例如,当云在山脉上空移动时,它的温度会下降,从而降低其保持水分的能力,因此在某些天气模式下,山脉的一侧会比另一侧更加茂盛。
我想知道是否有人有可以推荐的阅读材料。
非常感谢
编辑:放松认为我应该添加一张图片。 网上有我喝醉酒、行为不检的照片,一个可悲的欠发达地形的东西应该不会更尴尬! 感谢到目前为止的想法... 嗯... Lod'ing 可能很有趣,也许在开始添加细节之前我应该看看我可以制作多大的地图。 植被很有意义(呃……当然是植物!),我想知道我能在程序上做多少事情。
I have been bashing away at Away3D for AS3, and have made a little terrain generator, using Perlin Noise to create a heightmap, and then for texturing, to splice together 5 images (very generic noise based water, beach, grass, rock & snow) depending on the height.
Where to next? I doubt my ability to contribute directly to a 3D engine, but I wonder if anyone had mucked around with things like rain shadows, other geographic phenomenon. For example, as a cloud moves over a mountain range, it's temperature drops, decreasing it's ability to hold water, and thus with certain weather patterns, one side of the mountain range will be more lush than the other side.
I'm wondering if anyone has any reading material they could suggest.
Thanks lots
edit:Unwind thought I should add a picture. There's photos of me on the internet drunk and disorderly, a sad under-developed terrainer thing shouldn't be much more embarrasing! thanks for the ideas thus far... Mmmm... Lod'ing might be interesting, maybe before start adding detail I should see how big I can make a map. Vegetation makes lots of sense (duh... plants, of course!), I wonder how much I can do procedurally.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
关于纹理渲染,我会想到很多事情。 首先我不得不说我不能 100% 确定你在寻找什么。 我将发布我能想到的所有内容,您可以选择;)
这些点没有特定的顺序。
编辑:
gamedev.net
gamasutra.com
There are a lot of thing that come to mind concerning texture rendering. First I have to say I'm not a 100% sure what you are looking for. I'll just post everything i can think of and you can pick ;)
Those points are in no particular order.
edit:
gamedev.net
gamasutra.com
我会想到更多的植被,例如树木或“灌木丛”,具体取决于您的草覆盖率。 您可以在不同地点玩不同生长的树木。 也许有些树木靠近水源生长得更快,而山坡上的树木则萎缩且崎岖不平?
您可能需要考虑更多天气现象,例如风(使草弯曲、影响树木生长等)。
您还可以考虑如何修改地形,例如模拟爆炸在某处炸出一个洞,或者地震使地表裂开。
听起来很好玩!
More vegetation comes to mind, such as trees or "undergrowth", depending on how much grass coverage you have. You could play with differently-grown trees at different locations. Perhaps some trees grow faster nearer water, while trees high up a mountain side are shrunken and rugged?
You might want to think about more weather phenomena, such as wind (bending grass, affecting tree growth, etc).
You can also think about what it would take to modify the terrain, for instance simulating an explosion blowing a hole somewhere, or an earthquake cracking the surface open.
Sounds like fun!