3D 游戏编程模型?

发布于 2024-09-07 10:25:13 字数 1459 浏览 0 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(7

自演自醉 2024-09-14 10:25:13

这不是一个编程问题。

据我所知,好的、免费的、高质量的建模资源并不存在(从“好”、“免费”和“高质量”中选择两项)。
有多个免费模型存储库,但内容质量普遍较差,并且可以购买模型的地方很少。

多个地方都有免费纹理(例如这个),而且它们比好的免费模型更容易找到。

此外,大多数免费内容经常包含某种陷阱 - “仅限非商业用途”、“

无论如何,如果您接受“知识共享相同方式共享”和 GPL,那么您可能可以使用一些开源游戏的内容 ( OpenArena ),并从维基百科或维基共享资源、flickr 获取大量纹理,并且您可以在 google 上搜索“免费纹理”。您应该谨慎使用开源游戏的内容 - 一些开源项目(例如 war$ow 和 sauerbraten)对游戏内容使用闭源/受限许可证(即您可以自由地重用修改引擎,但不能修改游戏内容和你不能将它与修改后的引擎一起使用,原因很明显)。

无论如何,这取决于你想要什么样的模型。找到盒子、桶等“简单”的东西是很容易的,因为每个人都能做到。当涉及到枪支和车辆时,就会出现一个问题——质量会下降,好型号的数量也会减少。如果你想要一个具有多个动画的完全装备的动画角色,通常你可以忘记它 - 这样的内容几乎是不可能找到的。但如果你想要角色,你可能可以使用 Q3 和 Q2 的模组(不过,在这种情况下你可以忘记物理)

我建议忘记“免费的东西”,并尝试自己制作内容或雇用某人来做这件事。

如果您决定自己制作内容,那么您将需要数码相机和(可选)绘图板。您可以使用 gimpgimp-resynthesizer 插件, gimp-texturisze 插件、高通滤波器等。您还可以使用 Blender 或 gimp 制作法线贴图,甚至还有关于提取它们的教程 来自照片(您仍然需要手动处理它们)。建模和动画可以使用参考照片在搅拌机中完成(训练一两周后)。低多边形建模相当快(20 分钟)制作一把低多边形低质量的枪,制作简单的角色需要一两个小时),但是纹理和动画将需要更多时间(为角色设置动画对于业余爱好者来说可能需要几个小时,为角色制作一个动画至少需要花费几个小时,制作纹理展开 - 小时,绘制纹理 - 长达几天,具体取决于您想要的质量、可用的参考材料、图形输入板的可用性等)。可以走捷径 - 例如,为了制作动画,您可以使用相机(或摄像机)拍摄动作,然后将其用于 动态观察。另外,你需要找到某种混合器可以导出的模型格式,或者你必须用 python 编写一个导出插件。

This is not a programming queston.

As far as I know, good, free and high-quality modeling resources does not exist (from "good", "free" and "high-quality", select two).
There are multiple free model repositories, but quality of content is generally poor, and there are few places where you can buy models.

There are free textures in multiple places (like this one), and they are easier to find than good free models.

Also, most of free content frequently includes some kind of catch - "non-commercial use only", "creative commons share alike"(i.e. if you make derivative, it should use same license), or it is under GPL.

Anyway, if you're okay with "Creative Commons share alike" and GPL, then you can probably use content from some of opensource games (OpenArena ), and get quite a lot of textures from wikipedia or wikimedia commons, flickr, and you can google for "free textures". You should be careful about using content from opensource games - some opensource projects (like war$ow and sauerbraten) use closed-source/restricted licenses for game content (i.e. you're free to reuse modify engine, but you cannot modify game content and you cannot use it with modified engine. Reasons are pretty obvious).

Anyway, it depends on what kind of model you want. It is pretty easy to find "easy" stuff like boxes, barrels, etc, because everyone can do that. When it comes to guns and vehicles, there will be a trouble - quality will drop, and number of good models will decrease. And if you want a fully rigged animated character with multiple animation, normally you can forget about it - such content is almost impossible to find. But you can probably use mods for Q3 and Q2 if you want characters (you can forget about physics in this case, though)

I'd recommend to forget about "free stuff", and try to make content yourself or hire someone to do that.

If you decide to make content yourself, then you'll need digital photo camera and (optionally) graphic tablet. You can make mediocre textures from photos (digital camera is cheap) using gimp, gimp-resynthesizer plugin, gimp-texturisze plugin, high-pass filters, etc. You can also make normal maps using blender or gimp, and there are even tutorials about extracting them from photos (you still will need to process them by hand). Modeling and animation can be done in blender (after 1 or two weeks of training) using reference photos. Low poly modeling is pretty quick (20 minutes to make a low-poly low-quality gun, hour or two to make simple character), but texture and animation will take more (setting up animation for character can take a few hours for amateur, making one animation for character will take at least several hours as well, making texture unwrap - hour, painting texture - up to few days, depending on quality you want, available reference material, availability of graphic tablet, etc). It is possible to cut corners a bit - for example, for making animations, you can film motion using photo camera(or video camera), and then use it for rotoscoping. Also, you'll need to find some kind of model format blender can export to, or you'll have to write an export plugin in python.

雨巷深深 2024-09-14 10:25:13

Blender 基金会有一个大型的模型存储库,可能会有用。

The Blender foundation has a large model repository which may be of use.

长伴 2024-09-14 10:25:13

Turbosquid 上有一些免费模型,我有时会在 XNA 游戏中使用它们。
但当然,最好的东西不是免费的。

There are some free models at Turbosquid that I use sometimes for my XNA games.
But of course, the best stuff is not free.

星軌x 2024-09-14 10:25:13

我的经验是,免费提供带有动画和完整装配的高质量 3D 模型的情况非常少。有一些像 this 这样的公司廉价出售合适的模型,我想大多数爱好者可以很容易地从他们那里购买一两个模型,这可能足以用于学习。 (我与他们没有任何联系,但我确实从他们那里购买了一个我非常喜欢的模型包)

不过,如果有一些更普遍免费提供的 3D 动画模型,那就太好了。我什至认为,让他们赠送一些可能符合一些公司的利益。如果我能够在我的爱好项目上取得进一步的进展,我可能会总共花费 100-200 英镑购买一些不错的模型包,以使我的项目变得更好,但由于缺乏任何真正的 3D动画模型 在我开始思考也许我应该在这个爱好上花一点钱之前,我最终对所有 3D 项目失去了兴趣。我想知道,随着越来越多的人愿意花一点钱来获得他们的项目,更多的免费质量模型的可用性实际上是否会显着增加这些公司的市场规模。

一些公司应该制作一个漂亮的模型包,其中包含一些静态模型和几个完全装备和动画的人类和“怪物”,并表示如果社区捐赠 10000 英镑,他们将免费发布它们。我怀疑有足够多的人想要一些高质量的模型,他们可能会像 Blender 最初向公众出售一样达到这个目标。

My experience is that there is very little in the way of quality 3d models with animation and full rigging freely available. There a few companies like this who sell suitable models cheaply and I guess most hobbyists could afford one or two models from them fairly easily which would probably be sufficient for learning. (I have no connection to them but I did buy one model pack from them which I quite liked)

It would be nice if there were a few more generally freely available 3d animated models around though. I even think it might be in the interests of some of the companies that make them to give a few away. If I'd been able to get further in my hobby projects I might have spent £100-200 in total on some nice model packs to make my project better, but due to the lack of any real 3d animated models I ended up losing interest in all my 3d projects before I got to the point of thinking maybe I'd spend a little money on this hobby. I wonder if the availability of a few more free quality models would actually significantly increase the size of the market for those companies as more people got their projects to the point where they were willing to spend a little money on it.

Some company should make a nice model pack with a few static models and a couple of fully rigged and animated humans and "monsters" and say that if the community donates £10000 they'll release them for free use. I suspect there are enough people out there who would like a few quality models they might reach this target in the same way that Blender was originally sold to the public.

冰魂雪魄 2024-09-14 10:25:13

我知道这个问题已经被问了很长时间了,但是我在 XNA 中编程时遇到了同样的问题,并且我找到了一个很好的解决方案。只要您不需要装配/动画模型,Google Warehouse 就是搜索的最佳场所。据我所知,提交到 Google Warehouse 的每个模型都可以通过知识共享许可获得。您只需:

  1. 下载并安装 Google Sketchup (Sketchup 下载)
  2. 浏览查找模型 (Google Warehouse) - 每个都有 3D 预览!
  3. 获取一个将 Sketchup 模型导出到 .X 的插件 - 我推荐“3D RAD”插件 (3D RAD 下载
  4. 如果导出后您的模型看起来不太好,请尝试将其分成几个不太复杂的模型。

I know that it's been a long time since this question was asked, but I ran into same problem when programming in XNA and I found a good solution. As long as you don't need rigged / animated models, Google Warehouse is the best place to search. As far as I know, each model submitted to Google Warehouse is available on Creative Commons license. You just need to:

  1. Download and install Google Sketchup (Sketchup download)
  2. Browse to find a model (Google Warehouse) - there's a 3D preview for each one!
  3. Get a plugin to export Sketchup models to .X - I recommend the '3D RAD' plugin (3D RAD download)
  4. If your model does not look good after the export, try to separate it into several less complex ones.
玩套路吗 2024-09-14 10:25:13

您正在寻找 开放游戏艺术 ...

you are looking for open game art ...

妄断弥空 2024-09-14 10:25:13

http://thefree3dmodels.com/ 拥有大量免费 3D 模型。我已经将其中一些用于动画目的,也许它也会对您有所帮助。

http://thefree3dmodels.com/ has a multitude of free 3D models. I've used a few of these for animation purpose, maybe it'll help you too.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文