Difference between revisions of "LFS Editor/Guides/Mirrors"

From LFS Manual
Jump to navigationJump to search
(internal mirror)
 
Line 40: Line 40:
 
| In the bottom left corner, you will see all existing mappings. Click the newly created mapping.
 
| In the bottom left corner, you will see all existing mappings. Click the newly created mapping.
 
}}
 
}}
 +
 +
== Internal mirror ==
 +
 +
=== Creating an internal mirror subobject ===
 +
 +
{{steps
 +
| Enter the [[Modeller|modeller]].
 +
| Click the {{old button|subob}} button at the top to enter [[LFS Editor/Modeller/Subobject Mode|subobject mode]].
 +
| Click {{old button|new subobject|#a1ffa1}}.
 +
| Enter the name of the new subobject and press OK.
 +
| Next to {{old button|object type}} below the list of subobjects, click {{old button|attachment|#ffffa1}} to change the subobject type.
 +
| Select {{button|Internal mirror : central rear view mirror|light}} from the list of subobject types.
 +
| Merge an existing internal mirror model into this subobject, or model one from scratch.
 +
}}
 +
 +
=== Creating a texture page ===
 +
 +
{{steps
 +
| Enter the [[Modeller|modeller]].
 +
| Click the {{old button|page}} button at the top to enter [[LFS Editor/Modeller/Texture Page Mode|texture page mode]].
 +
| Click {{old button|add new page|#a1ffa1}}.
 +
| When the "Select PNG texture" dialog appears, enter <code>s_mirr</code> and press {{button|OK}}.
 +
}}
 +
 +
=== Creating a texture cutout ===
 +
 +
{{steps
 +
| Click the {{old button|cutout}} button at the top to enter [[LFS Editor/Modeller/Texture Cutout Mode|texture cutout mode]].
 +
| Click {{old button|add new cutout|#a1ffa1}}, enter a name for it and press {{button|OK}}.
 +
| In the "texture page" column, check the assigned texture page of the newly created cutout. If it doesn't already say <code>s_mirr</code>, click the page name and select <code>s_mirr</code> from the list of pages on the right side of the screen.
 +
}}
 +
 +
=== Creating a texture mapping ===
 +
 +
{{steps
 +
| Click the {{old button|map}} button at the top to enter [[LFS Editor/Modeller/Texture Mapping Mode|texture mapping mode]].
 +
| Switch to any 2D view (e.g. front view by clicking the {{old button|f|#00ff00}} button in the [[LFS Editor/User Interface#Viewports|viewport controls]] at the bottom right, or pressing the {{key press|F}} key.
 +
| Press and hold the right mouse button and drag a rectangle in the car model area to create a yellow "drag box" for the mapping.
 +
| Click {{old button|add new mapping|#a1ffa1}}, enter a name for it and press {{button|OK}}.
 +
| In the "cutout" column, click the assigned cutout of the newly created mapping.
 +
| On the right side of the screen, select the correct cutout from the list of cutouts.
 +
}}
 +
 +
=== Assigning the mapping to triangles ===
 +
 +
{{steps
 +
| Click the {{old button|tri}} button at the top to enter [[LFS Editor/Modeller/Triangle Mode|triangle mode]].
 +
| Select the triangles representing the mirror surface. For example, press {{key press|Ctrl|LMB}} to select the triangles one by one.
 +
| In the bottom left corner, you will see all existing mappings. Click the newly created mapping.
 +
}}
 +
  
 
[[Category:LFS Editor Guides|{{SUBPAGENAME}}]]
 
[[Category:LFS Editor Guides|{{SUBPAGENAME}}]]

Latest revision as of 22:32, 1 January 2026

LFS Editor
Vehicle Mods

Mirrors for vehicle mods use a special texture page called s_mirr which looks black in editor but produces a real 3D mirror image in game.

Side mirrors

Creating a texture page

  1. 1 Enter the modeller.
  2. 2 Click the page button at the top to enter texture page mode.
  3. 3 Click add new page.
  4. 4 When the "Select PNG texture" dialog appears, enter s_mirr and press OK.

Creating a texture cutout

  1. 1 Click the cutout button at the top to enter texture cutout mode.
  2. 2 Click add new cutout, enter a name for it and press OK.
  3. 3 In the "texture page" column, check the assigned texture page of the newly created cutout. If it doesn't already say s_mirr, click the page name and select s_mirr from the list of pages on the right side of the screen.

Creating a texture mapping

  1. 1 Click the map button at the top to enter texture mapping mode.
  2. 2 Switch to any 2D view (e.g. front view by clicking the f button in the viewport controls at the bottom right, or pressing the F key.
  3. 3 Press and hold the right mouse button and drag a rectangle in the car model area to create a yellow "drag box" for the mapping.
  4. 4 Click add new mapping, enter a name for it and press OK.
  5. 5 In the "cutout" column, click the assigned cutout of the newly created mapping.
  6. 6 On the right side of the screen, select the correct cutout from the list of cutouts.

Assigning the mapping to triangles

  1. 1 Click the tri button at the top to enter triangle mode.
  2. 2 Select the triangles representing the mirror surface. For example, press Ctrl + LMB to select the triangles one by one.
  3. 3 In the bottom left corner, you will see all existing mappings. Click the newly created mapping.

Internal mirror

Creating an internal mirror subobject

  1. 1 Enter the modeller.
  2. 2 Click the subob button at the top to enter subobject mode.
  3. 3 Click new subobject.
  4. 4 Enter the name of the new subobject and press OK.
  5. 5 Next to object type below the list of subobjects, click attachment to change the subobject type.
  6. 6 Select Internal mirror : central rear view mirror from the list of subobject types.
  7. 7 Merge an existing internal mirror model into this subobject, or model one from scratch.

Creating a texture page

  1. 1 Enter the modeller.
  2. 2 Click the page button at the top to enter texture page mode.
  3. 3 Click add new page.
  4. 4 When the "Select PNG texture" dialog appears, enter s_mirr and press OK.

Creating a texture cutout

  1. 1 Click the cutout button at the top to enter texture cutout mode.
  2. 2 Click add new cutout, enter a name for it and press OK.
  3. 3 In the "texture page" column, check the assigned texture page of the newly created cutout. If it doesn't already say s_mirr, click the page name and select s_mirr from the list of pages on the right side of the screen.

Creating a texture mapping

  1. 1 Click the map button at the top to enter texture mapping mode.
  2. 2 Switch to any 2D view (e.g. front view by clicking the f button in the viewport controls at the bottom right, or pressing the F key.
  3. 3 Press and hold the right mouse button and drag a rectangle in the car model area to create a yellow "drag box" for the mapping.
  4. 4 Click add new mapping, enter a name for it and press OK.
  5. 5 In the "cutout" column, click the assigned cutout of the newly created mapping.
  6. 6 On the right side of the screen, select the correct cutout from the list of cutouts.

Assigning the mapping to triangles

  1. 1 Click the tri button at the top to enter triangle mode.
  2. 2 Select the triangles representing the mirror surface. For example, press Ctrl + LMB to select the triangles one by one.
  3. 3 In the bottom left corner, you will see all existing mappings. Click the newly created mapping.