Difference between revisions of "Tutorials/SCS Blender Tools/Staying Organized in Blender"

From SCS Modding Wiki
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Note|This tutorial is a work in progress.}}
+
{{Note|WIP — [[User:Smarty|Smarty]] ([[User talk:Smarty|talk]]) 04:51, 22 June 2017 (CEST)}}
  
  
== Introduction ==
+
The multi-model workflow with [[Documentation/Tools/SCS Blender Tools|SCS Blender Tools]] is extraordinarily powerful. An entire, complex project may be easily managed from a single blend file: a truck with all of its accessories, interior variants, and animations; a trailer with all of its cargos; a system of wheel and tire accessories... A lot is possible with this workflow. However, without good organization and housekeeping, complex projects can quickly become cumbersome and difficult to navigate.
The multi-model workflow with [[Documentation/Tools/SCS Blender Tools|SCS Blender Tools]] is extraordinarily powerful. An entire, complex project may be easily managed from a single blend file: a truck with all of its accessories, interior variants, and animations; a trailer with all of its cargos; a system of wheel and tire accessories... A lot is possible with this workflow. However, without good organization and housekeeping, such a project can quickly become a mess.
 
  
 
This tutorial provides some basic techniques for keeping blend files organized within the framework of the multi-model workflow.
 
This tutorial provides some basic techniques for keeping blend files organized within the framework of the multi-model workflow.
  
  
== Using “'''EMPTY'''” Objects ==
+
== Using Empty Objects ==
While arguably the simplest geometric object in Blender, the “'''EMPTY'''” can be one of the most useful. Blender Tools makes use of the '''EMPTY'''type for [[Documentation/Tools/SCS Blender Tools/Root objects|root objects]] and [[Documentation/Tools/SCS Blender Tools/Locators|locators]]
+
While arguably the simplest geometric object in Blender, the “'''empty'''” can be one of the most useful. Blender Tools makes use of the '''empty''' type for [[Documentation/Tools/SCS Blender Tools/Root objects|root objects]] and [[Documentation/Tools/SCS Blender Tools/Locators|locators]]. When not configured as either or these special types, Blender Tools will not treat an '''empty''' specially upon export. To clarify, SCS objects which are children of an '''empty''' will still be treated as SCS objects; and, any objects which are children of an '''empty''' that is, in turn, a child of an SCS object will still be treated as belonging to the SCS object. The '''empty''' type can therefore be used to organize SCS objects within a scene, and any other objects within an SCS object, much like folders are used to organize documents.
 +
<gallery heights=200px mode=packed-hover>
 +
File:Staying_organized_001.jpg|Using empties to organize SCS root objects for accessories
 +
File:Staying_organized_002.jpg|Using empties to organize objects belonging to parts
 +
</gallery>
  
== Using Instances ==
+
=== Setting a Parent ===
{{Note|To be completed at a later date. This section will document some techniques to use instanced mesh objects for multiple SCS objects, etc.}}
+
Selected objects can be parented to the active object using the {{key press|Ctrl|P}} shortcut. A context menu gives the option of keeping the current transformation or not. The ''keep current transformation'' option maintains the selected objects' absolute position, scale, and orientation in the scene, and is generally the preferred option in this case.
  
 +
{{Note| 1 = <div style="overflow:auto">[[Image:Active_selection_example.jpg|right|100px]]When multiple objects are selected, the '''active''' object is highlighted in a lighter color and is usually the last object selected. In the example to the right, the mirror bracket, mirror head, and antenna are all selected, but the mirror bracket is the '''active''' object as indicated by its ''light'' orange outline. The set parent operation in this case would make the mirror head and antenna become children of the mirror bracket.</div>}}
 +
<br clear=all>
 +
=== Clearing a Parent ===
 +
Selected objects can also have their parents cleared, moving them to the root of the scene using {{key press|Alt|P}}. This operation also has the option between keeping the current transformation or not.
 +
 +
<!-- This section will document some techniques to use instanced mesh objects for multiple SCS objects, etc. -->
 +
== Using Linked Duplicates ==
 +
For repeated objects with non-uniform spacing, it is sometimes effective to make use of [https://docs.blender.org/manual/en/dev/editors/3dview/object/editing/duplication.html#linked-duplicates linked duplicates]. When you duplicate an object using {{key press|Alt|D}}, a new object is created with all of its data linking to the original. The new object can be moved, rotated and scaled using ''object'' transformations without affecting the original and can be given unique constraints and modifiers. Any changes you make to the mesh or vertex data in edit mode is applied to all copies.
 +
 +
An example where this is useful is trailer marker lights. All instances can be placed and rotated before the mesh, mapping (including lightmask), vertex colors, etc of the marker light are finalized. All of these data can be edited as needed and all of the instances are updated without needing to re-copy the original object. This makes it much simpler to prototype the entire trailer before getting bogged down modeling fine details.
 +
 +
[[File:Staying_organized_003.jpg|center]]
 +
 +
=== Resolving Links ===
 +
In some cases, you may wish to sever the link between duplicate objects. This can be accomplished with [https://docs.blender.org/manual/en/dev/data_system/data_blocks.html#data-system-datablock-make-single-user '''Object&rarr;Make Single User'''], hotkey {{key press|U}}.
 +
 +
<!-- This section will document some techniques to use scenes for vehicle model workflows with multiple variants; especially with regards to accessories whose positions change with each variant.
 
== Using Scenes ==
 
== Using Scenes ==
{{Note|To be completed at a later date. This section will document some techniques to use scenes for vehicle model workflows with multiple variants; especially with regards to accessories whose positions change with each variant.}}
+
 
 +
-->

Latest revision as of 02:51, 22 June 2017

Note: WIP — Smarty (talk) 04:51, 22 June 2017 (CEST)


The multi-model workflow with SCS Blender Tools is extraordinarily powerful. An entire, complex project may be easily managed from a single blend file: a truck with all of its accessories, interior variants, and animations; a trailer with all of its cargos; a system of wheel and tire accessories... A lot is possible with this workflow. However, without good organization and housekeeping, complex projects can quickly become cumbersome and difficult to navigate.

This tutorial provides some basic techniques for keeping blend files organized within the framework of the multi-model workflow.


Using Empty Objects

While arguably the simplest geometric object in Blender, the “empty” can be one of the most useful. Blender Tools makes use of the empty type for root objects and locators. When not configured as either or these special types, Blender Tools will not treat an empty specially upon export. To clarify, SCS objects which are children of an empty will still be treated as SCS objects; and, any objects which are children of an empty that is, in turn, a child of an SCS object will still be treated as belonging to the SCS object. The empty type can therefore be used to organize SCS objects within a scene, and any other objects within an SCS object, much like folders are used to organize documents.

Setting a Parent

Selected objects can be parented to the active object using the Ctrl+P shortcut. A context menu gives the option of keeping the current transformation or not. The keep current transformation option maintains the selected objects' absolute position, scale, and orientation in the scene, and is generally the preferred option in this case.

Note:
Active selection example.jpg
When multiple objects are selected, the active object is highlighted in a lighter color and is usually the last object selected. In the example to the right, the mirror bracket, mirror head, and antenna are all selected, but the mirror bracket is the active object as indicated by its light orange outline. The set parent operation in this case would make the mirror head and antenna become children of the mirror bracket.


Clearing a Parent

Selected objects can also have their parents cleared, moving them to the root of the scene using Alt+P. This operation also has the option between keeping the current transformation or not.

Using Linked Duplicates

For repeated objects with non-uniform spacing, it is sometimes effective to make use of linked duplicates. When you duplicate an object using Alt+D, a new object is created with all of its data linking to the original. The new object can be moved, rotated and scaled using object transformations without affecting the original and can be given unique constraints and modifiers. Any changes you make to the mesh or vertex data in edit mode is applied to all copies.

An example where this is useful is trailer marker lights. All instances can be placed and rotated before the mesh, mapping (including lightmask), vertex colors, etc of the marker light are finalized. All of these data can be edited as needed and all of the instances are updated without needing to re-copy the original object. This makes it much simpler to prototype the entire trailer before getting bogged down modeling fine details.

Staying organized 003.jpg

Resolving Links

In some cases, you may wish to sever the link between duplicate objects. This can be accomplished with Object→Make Single User, hotkey U.