LFS Editor/FAQ

From LFS Manual
Jump to navigationJump to search
LFS Editor
Vehicle Mods
See also: Troubleshooting

This page contains answers to frequently asked questions about the LFS Editor and explanation of common errors you can encounter when working with the editor.

About LFS Editor

What is LFS Editor?

The Live for Speed Vehicle Editor (abbreviated as LFS Editor) is an official tool used to create custom vehicle mods for Live for Speed. It is available for S3 license holders.

Where can I download LFS Editor?

From the official website of LFS: https://www.lfs.net/downloads

Check the LFS Editor installation guide for detailed instructions.

Modelling

What is the maximum number of vertices and polygons for the car mesh?

The maximum number of vertices (points) and polygons (triangles) for the output car mesh is 65536. That is including the main body mesh and all subobjects if it has any.

The number of vertices you can create in the LFS editor is limited to 32768. However, you can make points reflected (mirrored) to get a higher number of output points.

Technical explanation

The LFS number of editor vertices is necessarily limited to 32768, because each vertex of a triangle can refer to either a point index (from 0 to 32767) and that may be reflected - in which case the top bit is set (e.g. triangle referring to point '32768' is referring to the reflected copy of point 0 and '32769' is really referring to the reflected copy of point 1. This is the maximum that can fit into a 16-bit integer and that is the way it is coded at the moment, without any prospect of increase in the near future.