用于驾驶模拟的 3D 引擎

发布于 2024-08-11 19:24:07 字数 1539 浏览 8 评论 0原文

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

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

发布评论

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

评论(3

可遇━不可求 2024-08-18 19:24:07

尝试 TORCS,开放式赛车模拟器。它是一款高度便携的多平台(Windows、Mac OS、Linux、PlayStation)赛车模拟游戏。 TORCS 的源代码根据 GPL(“开源”)获得许可。它拥有广受好评的出色 3D 引擎!

TORCS 具有超过 50 种不同的预制 3D 汽车模型数十条赛道。图形特征灯光、烟雾、刹车痕迹发光的刹车盘。该模拟具有简单的损伤模型、碰撞、轮胎和车轮属性(弹簧、阻尼器、刚度等)、空气动力学(地面效应、扰流板等) )以及更多。

您可以非常轻松地增强通用 TORCS 系统引擎,因为它是高度模块化的。

TORCS的源代码具有以下目录结构:

.
|-- doc
|-- drivers
|   `-- human
|       `-- tracks
|           `-- dirt-2
|-- interfaces
|-- libs
|   |-- client
|   |-- confscreens
|   |-- learning
|   |-- math
|   |-- portability
|   |-- raceengineclient
|   |-- racescreens
|   |-- robottools
|   |-- tgf
|   |-- tgfclient
|   `-- txml
|       `-- gennmtab
|-- linux
|-- modules
|   |-- graphic
|   |   `-- ssggraph
|   |-- simu
|   |   `-- simuv2
|   |       `-- SOLID-2.0
|   |           |-- include
|   |           |   |-- 3D
|   |           |   `-- SOLID
|   |           `-- src
|   |-- telemetry
|   `-- track
|-- raceman
|-- tools
|   |-- accc
|   |-- nfs2ac
|   |-- nfsperf
|   |-- package
|   |   `-- specfiles
|   |-- texmapper
|   `-- trackgen
`-- windows
    |-- dll
    |-- include
    |   |-- AL
    |   |-- GL
    |   `-- plib
    `-- lib

如您所见,它里面有很多不同的项目,例如SOLID是用于碰撞检测的库,simuv2包含所有有趣的项目物理相关的东西。

试试 TORCS!

Try TORCS, The Open Racing Car Simulator. It is a highly portable multi platform (Windows, Mac OS, Linux, PlayStation) car racing simulation. The source code of TORCS is licensed under the GPL ("Open Source"). It has great well-commented 3D Engine!

TORCS features more than 50 different pre-made 3D car models, tens of tracks. Graphic features lighting, smoke, skidmarks and glowing brake disks. The simulation features a simple damage model, collisions, tire and wheel properties (springs, dampers, stiffness, ...), aerodynamics (ground effect, spoilers, ...) and much more.

You can very easy enhance general TORCS system engine, because it is highly modular.

The source code of TORCS has following directory structure:

.
|-- doc
|-- drivers
|   `-- human
|       `-- tracks
|           `-- dirt-2
|-- interfaces
|-- libs
|   |-- client
|   |-- confscreens
|   |-- learning
|   |-- math
|   |-- portability
|   |-- raceengineclient
|   |-- racescreens
|   |-- robottools
|   |-- tgf
|   |-- tgfclient
|   `-- txml
|       `-- gennmtab
|-- linux
|-- modules
|   |-- graphic
|   |   `-- ssggraph
|   |-- simu
|   |   `-- simuv2
|   |       `-- SOLID-2.0
|   |           |-- include
|   |           |   |-- 3D
|   |           |   `-- SOLID
|   |           `-- src
|   |-- telemetry
|   `-- track
|-- raceman
|-- tools
|   |-- accc
|   |-- nfs2ac
|   |-- nfsperf
|   |-- package
|   |   `-- specfiles
|   |-- texmapper
|   `-- trackgen
`-- windows
    |-- dll
    |-- include
    |   |-- AL
    |   |-- GL
    |   `-- plib
    `-- lib

as you can see, it has a lot of different projects inside, e.g. SOLID is library for collision detection, simuv2 contains all interesting physics-related things.

Just try TORCS!

究竟谁懂我的在乎 2024-08-18 19:24:07

看看赛车模拟器 VDriftTORCS 开放式赛车模拟器。我不确定它们在模拟城市环境方面的脚本化程度如何,但两者的汽车物理性能都很好。

Take a look at the racing simulator VDrift or TORCS The Open Racing Car Simulator. I'm not sure how scriptable they are for simulating urban settings, but the car physics are good in both.

随风而去 2024-08-18 19:24:07

尝试 Blender 中的游戏引擎。它附带 Bullet,一个 OSS 物理模拟,可能是相当不错,因为它用于“2012”(电影,而不是年份) :-)。

Try the game engine in Blender. It comes with Bullet, an OSS physics simulation which is probably pretty good since it was used in "2012" (the movie, not the year :-).

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