Vi3W
Skip to content

Guides

Adding custom vehicles and props to CARLA: one research lab's story

A story-led guide to custom vehicles and props in the CARLA simulator: what CARLA needs, where the 3D models come from, and how AI generation speeds it up.

3 min read

An aerial view of a busy road intersection with cars waiting at lights
Photo: public domain / CC0, via Openverse. Illustrative story.

Quick answer

Can you add custom vehicles to the CARLA simulator?

Yes. CARLA, the open-source driving simulator built on Unreal Engine, supports importing custom vehicles and props. A vehicle needs a mesh split into body and wheels, a skeleton with wheel bones, collision and a blueprint, while static props need far less. The official CARLA documentation describes the import steps.

Illustrative story. The Westmoor Mobility Lab is a fictional research group and this is a made-up scenario, written to show a realistic workflow. The people, numbers and outcomes in it are invented for illustration and are not a Vi3W customer's results. The tools, steps and Vi3W features are real.

A thesis that needed tuk-tuks

The Westmoor Mobility Lab is a fictional university group studying driver-assistance systems for cities in South Asia. Their PhD student "Arjun" had a problem: CARLA ships with European and American cars, but his test cities are full of auto-rickshaws, cycle rickshaws, handcarts and overloaded scooters. A detector trained in default CARLA had never seen a tuk-tuk.

He needed a fleet of local vehicles and a street full of local props, and he had a PhD stipend, not a 3D budget.

What CARLA needs from a 3D model

CARLA runs on Unreal Engine, so custom content goes through Unreal's import pipeline. Roughly:

Traffic at a junction, the kind of scene a driving simulator recreates
Photo: public domain / CC0, via Openverse.
  • Static props (stalls, signboards, carts that never move) need a mesh, materials and collision. These are the easy part.
  • Drivable vehicles need much more: the body and each wheel as separate parts, a skeleton with wheel bones, a physics asset and a vehicle blueprint registered with CARLA. The CARLA documentation walks through it step by step.

So the lab split the work. Generated models became props and the visible bodies of vehicles. A small amount of hand set-up turned a handful of them into drivable vehicles.

How they used Vi3W

  1. Reference photos from fieldwork. The team had hundreds of street photos from earlier data collection. Each vehicle type got one clean three-quarter shot.
  2. Image to 3D. Each photo became a textured model. When one generator struggled with the open sides of an auto-rickshaw, they ran the same photo through others among Vi3W's 25 image-to-3D models.
  3. Variants with New paint job. Rickshaws in the test cities come in a dozen liveries. Retexturing the same shape by text ("yellow and green auto-rickshaw, sun-faded") produced a varied fleet without new geometry.
  4. Budgets with Clean shape. Each mesh was rebuilt at a chosen face count (500 to 20,000) so a crowded street ran in real time.
  5. FBX into Unreal. The body and the wheels were separated in Blender for the few vehicles that had to drive. Everything else was placed as props.

What came out of it

In this illustrative story, Arjun's simulated streets went from looking like a suburb in California to looking like his field sites. He could randomise vehicle mixes, liveries and clutter on every run, which is exactly the variety domain randomization relies on. His supervisor's favourite comment: "It finally looks like the data."

Pitfalls they hit

  • Scale. Generated models arrive at arbitrary sizes. Measure one real vehicle and scale everything to centimetres before import. See models the wrong size in Unreal.
  • Collision. Auto-generated collision on complex meshes is slow. Use simple boxes for props, as our Unreal collision guide explains.
  • Licences. Datasets get published. Using assets you generated yourself avoids marketplace terms that forbid ML use. Check Vi3W's terms for your plan.

Lessons you can steal

  • Separate "looks like" from "drives like". Most of the fleet only needs to look right.
  • Generate from your own field photos, so the simulator matches your deployment region.
  • Vary textures more than shapes. It's cheaper and often matters more.

For the industry side of the same idea, read synthetic data for autonomous driving.

Bring your city into the simulator

Start with one vehicle your simulator is missing. Open Vi3W.

Frequently asked questions

synthetic data generation for autonomous driving

In CARLA you script scenarios, spawn vehicles, people and props, randomise weather and lighting, attach sensors, and record frames with ground-truth labels such as semantic segmentation, depth and bounding boxes. Custom assets widen what you can stage.

Last reviewed