3D引擎的驾驶模拟引擎

2023-09-08 00:43:08 作者:总有智障想害朕

有没有开源的3D图形和物理引擎专业模拟驾驶?喜欢的东西定位于游戏,涉及驾驶,或一些更专业的城市交通状况,并且将执行脚本化的交通规则一个可配置的游戏引擎。此外,汽车电机配件和仪表板presentation将是一个加号。一些与pre-制作三维车型,我可以使用场景。

Is there any open-source 3D graphics and physics engine specialized in driving simulation? Something like a configurable game engine targeted at games that involve driving, or something more specialized to urban traffic conditions and that would implement scriptable traffic rules. Also, car motor parts and dashboard presentation would be a plus. Something with pre-made 3D car models that I can use for scenes.

推荐答案

尝试 TORCS ,开赛车模拟器。这是一个高度可移植的多平台(Windows,Mac OS中,Linux的,游戏机)赛车模拟。 TORCS的来源$ C ​​$ C是根据GPL(开源)的许可。它具有强大的注释良好的3D引擎!

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功能的超过50种不同的pre-制作三维车型 数万曲目的。图形功能的灯光,烟雾,skidmarks 和发光的制动盘。仿真功能简单损伤模型,碰撞,轮胎和轮性能(弹簧,阻尼,刚度,...),空气动力学(地面效应,扰流板,... ) 以及更多。

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.

您可以很容易的提升一般TORCS系统引擎,因为它是高度模块化的。

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

TORCS的来源$ C ​​$ C有以下目录结构:

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

你可以看到,它有很多不同的项目里面,例如固体是库,用于碰撞检测, simuv2 包含所有有趣的物理有关的东西。

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.

刚刚尝试TORCS!