Difference between revisions of "LFS Editor/Modeller"

From LFS Manual
Jump to navigationJump to search
m
m
 
(70 intermediate revisions by 2 users not shown)
Line 1: Line 1:
This page is intended as a reference manual for the LFS Modeller. For user guides and walkthroughs for various modeller features, see [[Modeller Guides]].
+
{{Infobox LFS Editor}}
  
[[image:LFS Editor welcome screen.jpg|thumb|Entry screen]]
+
'''Modeller''' is a part of the [[LFS Editor]]. It is used to edit the 3D model, which includes editing the mesh and applying textures.
[[image:LFS Modeller - start screen.png|thumb|Modeller start screen]]
 
  
== Starting the modeller ==
+
[[image:LFS Editor welcome screen.jpg|thumb|LFS Editor entry screen]]
 +
[[image:LFS Modeller - start screen.png|thumb|Modeller start screen - standalone mode]]
 +
[[image:LFS vehicle editor showcase.jpg|thumb|Modeller with a car loaded through [[Vehicle Editor]]]]
 +
 
 +
== Requirements ==
  
 
To be able to use the modeller, you must have an S3 license. To get the S3 license, you can visit the [https://www.lfs.net/shop/licenseselect LFS shop page].
 
To be able to use the modeller, you must have an S3 license. To get the S3 license, you can visit the [https://www.lfs.net/shop/licenseselect LFS shop page].
  
Once you have the editor installed and run the application, you will be presented with an entry screen. Click the "Modeller" button to enter the editor.
+
== Entering the modeller ==
 +
 
 +
First, follow the [[LFS Editor#Downloading|instructions]] how to download and install the [[LFS Editor]].
 +
 
 +
Once you have the editor installed and run the LFS Editor application, you will be presented with the entry screen. Click the {{button|Modeller}} button to enter the Modeller.
  
The modeller can also be entered from the [[Vehicle Editor]] by pressing the E key or clicking the "E - Edit Model" button on the right hand side of the vehicle editor.
+
The modeller can also be entered from the [[Vehicle Editor]] by pressing {{key press|E}} or clicking the {{old button|E - Edit Model|#a1a1ff}} button on the right hand side of the vehicle editor.
  
 
== General modeller tips ==
 
== General modeller tips ==
  
* The list of colours at the bottom left in 'tri' mode is a different view of the list of mappings in 'map' mode.
+
* Press {{key press|Shift|F}} to temporarily hide the editor buttons.
* When you select a triangle, its colour is selected in the bottom left list. If the list is long, click "cols : X" to bring the selected colour onto screen.
+
* To reduce clutter, use {{old button|hide selected|#ffffa1}} to temporarily hide points and triangles, then {{old button|unhide all|#a1ffa1}} to show the again.
* In 'subob' mode you can select a subobject with CTRL + click while pointing at one of its surfaces.
+
 
* In 'tri' mode, CTRL + click adds or removes triangles from the selection. ALT + click starts a new selection (one triangle).
+
== User interface ==
* In the special view modes (like groups or mappings) the group select feature (CTRL + SHIFT + click) does a flood select within the group.
+
 
* Press SHIFT+F to temporarily hide the editor buttons.
+
The modeller interface consists of the following parts:
* To reduce clutter, use 'hide selected' to temporarily hide points and triangles, then 'unhide all' to show the again.
+
 
 +
# 3D model view
 +
# [[#Editing modes|editing mode selector]]
 +
# [[#Editing modes|editing mode specific controls]]
 +
# [[#Load / save object|load / save object]]
 +
# [[LFS Editor/Modeller/Special View Modes|special view modes]] and [[#View options|view options]]
 +
# [[LFS Editor User Interface#View controls|common editor view controls]]
 +
 
 +
[[File:LFS Editor modeller user interface.jpg|600px]]
 +
 
 +
== Vehicle model structure ==
 +
 
 +
Modeller uses 3D meshes to represent the vehicle model in 3D space. All meshes are built from three basic structures - points, edges and triangles.
 +
 
 +
[[Image:LFS editor mesh parts.jpg|600px]]
 +
 
 +
=== Points ===
 +
 
 +
The most elementary part of a 3D model is the point (also referred to as a vertex) which is a single point in 3D space. Points are represented in the 3D viewport in [[/Point Mode|point mode]] as small square buttons.
 +
 
 +
=== Edges ===
 +
 
 +
An edge always connects two points by a straight line. They are used to construct triangles. Edges are represented in 3D viewport in [[/Triangle Mode|triangle]] and [[/Point Mode|point]] modes as thin lines.
 +
 
 +
=== Triangles ===
 +
 
 +
Triangles (often abbreviated to tris) are used to build the actual surface of the object. They are what you see when you render the mesh. If this area does not contain a face, it will simply be transparent or nonexistent in the actual model.
 +
 
 +
A triangle is defined as the area between three points, with an edge on every side.
 +
 
 +
== Editing modes ==
 +
 
 +
Buttons for switching editing modes are located at the top left of the screen. You can also press {{key press|1}} to {{key press|8}} on your keyboard to switch between the modes.
 +
 
 +
{| class="wikitable"
 +
| style="text-align: center" | {{old button|subob}}||[[/Subobject Mode/]]
 +
|-
 +
| style="text-align: center" | {{old button|tri}}||[[/Triangle Mode/]]
 +
|-
 +
| style="text-align: center" | {{old button|point}}||[[/Point Mode/]]
 +
|-
 +
| style="text-align: center" | {{old button|build}}||[[/Build Mode/]]
 +
|-
 +
| style="text-align: center" | {{old button|map}}||[[/Texture Mapping Mode/]]
 +
|-
 +
| style="text-align: center" | {{old button|cutout}}||[[/Texture Cutout Mode/]]
 +
|-
 +
| style="text-align: center" | {{old button|page}}||[[/Texture Page Mode/]]
 +
|-
 +
| style="text-align: center" | {{old button|view}}||[[/View Mode/]]
 +
|}
 +
 
 +
== Load / save object ==
 +
 
 +
{{see also|LFS Editor/Guides/Loading & Saving a Model in Modeller|Loading a model into LFS Editor}}
  
== View modes ==
+
At the bottom left of the screen, there is a set of buttons used to load or save an object in the Modeller.
  
In the bottom right part of the screen, you can choose different view modes of the model:
+
[[image:Modeller load and save objects.jpg]]
  
[[image:LFS_Editor_Modeller_view_modes.jpg|Modeller view modes]]
+
If you have an subobject selected, another row of buttons appears, allowing you to load or save the current subobject.
  
'''layers''': Each colour represents triangles assigned to a particular layer. You can toggle layers on/off by clicking the layer buttons in the top left part of the screen.
+
{| class="wikitable"
 +
|+ Load / save object buttons
 +
|-
 +
| {{old button|subobject}} || Indicates that a subobject is currently selected
 +
|-
 +
| {{old button|load|#a1ffa1}} || Load a new subobject, replacing the selected subobject
 +
|-
 +
| {{old button|save|#a1ffa1}} || Save the current subobject as an object in data\3dob
 +
|-
 +
| {{old button|main object}} || The name of the main object
 +
|-
 +
| {{old button|LOAD|#00ff00}} || Load a new object from data\3dob
 +
|-
 +
| {{old button|SAVE|#00ff00}} || Load the main object to data\3dob
 +
|-
 +
| {{old button|skin}}{{old button|XFG_DEFAULT}} || Click the skin name (e.g. XFG_DEFAULT) to select a JPG image in data\skins to use as a skin in the editor
 +
|-
 +
| {{old button|OBJ|#ffffa1}} || Load an [[Loading_a_model_into_LFS_Editor#Loading_an_external_3D_model|OBJ file]] from data\obj
 +
|-
 +
|}
  
'''wire''': Shows the edges as a wireframe. The edges can have different colours:<br>
+
== Special view modes ==
* gray - Default. The edge is shared with all surrounding triangles.
 
* red - Edge is not shared with other triangles. This can be intentional or a bug in the model.
 
* cyan - There are two identical triangles sharing these edges. This can be intentional if each triangle uses a different mapping.
 
* orange - There are three or more identical triangles sharing these edges. This can be intentional if each triangle uses a different mapping.
 
  
'''mappings''': Each colour represents a different mapping.
+
{{main article|LFS Editor/Modeller/Special View Modes|Special View Modes}}
  
'''flat''': Flat shading of the triangles without being smoothed.
+
== View options ==
  
'''groups''': Smoothing groups. The boundaries between different smoothing groups usually have a sharp edge. All triangles within one smoothing group have artificial smoothing applied. In this mode, you can assign different smoothing groups to triangles by going to the "tri" mode, selecing one or more triangles and clicking the group number at the top right corner.
+
{{Under construction}}
  
'''gouraud''': The default rendering of the model with [https://en.wikipedia.org/wiki/Gouraud_shading gouraud shading] applied.
+
;Show main
 +
:
 +
;Show subobs
 +
:
 +
;Show wheels
 +
:
 +
;Show hidden
 +
:
 +
;Normals
 +
:
 +
;Test L.R.swap
 +
:
 +
;Wire overlay
 +
:
  
'''n.c.level''': Normal contribution levels. TBD
+
{{Shared repository category|LFS Modeller screenshots}}
  
'''l.r.swap''': Driver swap modes. The triangles can have different colours:<br>
+
[[Category:LFS Editor|{{SUBPAGENAME}}]]
* gray - applied to mirrored triangles, which do not have any swapping
 
* blue (static) - do not change sides when driver side is swapped
 
* red (swap) - change sides when driver side is swapped
 

Latest revision as of 22:40, 7 February 2024

LFS Editor
Vehicle Mods

Modeller is a part of the LFS Editor. It is used to edit the 3D model, which includes editing the mesh and applying textures.

LFS Editor entry screen
Modeller start screen - standalone mode
Modeller with a car loaded through Vehicle Editor

Requirements

To be able to use the modeller, you must have an S3 license. To get the S3 license, you can visit the LFS shop page.

Entering the modeller

First, follow the instructions how to download and install the LFS Editor.

Once you have the editor installed and run the LFS Editor application, you will be presented with the entry screen. Click the Modeller button to enter the Modeller.

The modeller can also be entered from the Vehicle Editor by pressing E or clicking the E - Edit Model button on the right hand side of the vehicle editor.

General modeller tips

  • Press ⇧ Shift + F to temporarily hide the editor buttons.
  • To reduce clutter, use hide selected to temporarily hide points and triangles, then unhide all to show the again.

User interface

The modeller interface consists of the following parts:

  1. 3D model view
  2. editing mode selector
  3. editing mode specific controls
  4. load / save object
  5. special view modes and view options
  6. common editor view controls

LFS Editor modeller user interface.jpg

Vehicle model structure

Modeller uses 3D meshes to represent the vehicle model in 3D space. All meshes are built from three basic structures - points, edges and triangles.

LFS editor mesh parts.jpg

Points

The most elementary part of a 3D model is the point (also referred to as a vertex) which is a single point in 3D space. Points are represented in the 3D viewport in point mode as small square buttons.

Edges

An edge always connects two points by a straight line. They are used to construct triangles. Edges are represented in 3D viewport in triangle and point modes as thin lines.

Triangles

Triangles (often abbreviated to tris) are used to build the actual surface of the object. They are what you see when you render the mesh. If this area does not contain a face, it will simply be transparent or nonexistent in the actual model.

A triangle is defined as the area between three points, with an edge on every side.

Editing modes

Buttons for switching editing modes are located at the top left of the screen. You can also press 1 to 8 on your keyboard to switch between the modes.

subob Subobject Mode
tri Triangle Mode
point Point Mode
build Build Mode
map Texture Mapping Mode
cutout Texture Cutout Mode
page Texture Page Mode
view View Mode

Load / save object

At the bottom left of the screen, there is a set of buttons used to load or save an object in the Modeller.

Modeller load and save objects.jpg

If you have an subobject selected, another row of buttons appears, allowing you to load or save the current subobject.

Load / save object buttons
subobject Indicates that a subobject is currently selected
load Load a new subobject, replacing the selected subobject
save Save the current subobject as an object in data\3dob
main object The name of the main object
LOAD Load a new object from data\3dob
SAVE Load the main object to data\3dob
skinXFG_DEFAULT Click the skin name (e.g. XFG_DEFAULT) to select a JPG image in data\skins to use as a skin in the editor
OBJ Load an OBJ file from data\obj

Special view modes

Main article: Special View Modes

View options

TemplateIconUnderConstruction.png This page or section is being initially created, or is in the process of an expansion or major restructuring. You are welcome to assist in its construction by editing it.
Show main
Show subobs
Show wheels
Show hidden
Normals
Test L.R.swap
Wire overlay
Gallery icon.png

Shared repository has media related to LFS Modeller screenshots.