Open main menu

Difference between revisions of "Documentation/Tools/SCS Blender Tools/SCS Tools in Tool Shelf/Wrap & Stats Tools"

< Documentation‎ | Tools‎ | SCS Blender Tools‎ | SCS Tools in Tool Shelf
(Created page with "Almost all shaders inside SCS Game engine are using vertex colors. That's why it's very important how you set them. If shader explicitly doesn't specify otherwise then vertex...")
 
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
Almost all shaders inside SCS Game engine are using vertex colors. That's why it's very important how you set them. If shader explicitly doesn't specify otherwise then vertex colors with values 0.5 are actually neutral colors and won't change the look of resulting mesh inside game. If vertex colors are below 0.5 it will &quot;darken&quot; the model and what will be above 0.5 will result in &quot;brighter&quot; mesh.
+
Almost all shaders inside SCS Game engine are using vertex colors. That's why it's very important how you set them.  
 +
 
 +
If shader explicitly doesn't specify otherwise, then vertex colors with values 0.5 are actually neutral colors and won't change the look of resulting mesh inside game. If vertex colors are below 0.5 it will &quot;darken&quot; the model and what will be above 0.5 will result in &quot;brighter&quot; mesh.
  
 
== Wrap Tool ==
 
== Wrap Tool ==
Line 5: Line 7:
 
In addition to this there is Wrap Tool which helps you wrap vertex colors of active vertex color layer on specified interval. So if you baked or painted your model on the range from 0 to 1 you can easily use this tools to scale this interval to the one you define in operator properties (advised interval is from 0.4 to 0.6). Tool can be found in SCS Tools shelf if current object is in &quot;Vertex Paint&quot; mode.
 
In addition to this there is Wrap Tool which helps you wrap vertex colors of active vertex color layer on specified interval. So if you baked or painted your model on the range from 0 to 1 you can easily use this tools to scale this interval to the one you define in operator properties (advised interval is from 0.4 to 0.6). Tool can be found in SCS Tools shelf if current object is in &quot;Vertex Paint&quot; mode.
  
[[images/SCS_Tools_Shelf_-_Wrap_Tool.png]]
+
[[File:SCS_Tools_Shelf_-_Wrap_Tool.png]]
  
 
* '''Wrap All''' - wrap vertex colors on all vertices.
 
* '''Wrap All''' - wrap vertex colors on all vertices.
Line 14: Line 16:
 
As Blender doesn't have any proper number statistics over currently set vertex colors, this tool enables you to print out minimum, maximum and average vertex colors values for the mesh.
 
As Blender doesn't have any proper number statistics over currently set vertex colors, this tool enables you to print out minimum, maximum and average vertex colors values for the mesh.
  
[[images/SCS_Tools_Shelf_-_Stats_Tool.png]]
+
[[File:SCS_Tools_Shelf_-_Stats_Tool.png]]
  
 
* '''Get Statistics''' - output statistic to console and Blender menu bar.
 
* '''Get Statistics''' - output statistic to console and Blender menu bar.

Latest revision as of 09:21, 16 February 2016

Almost all shaders inside SCS Game engine are using vertex colors. That's why it's very important how you set them.

If shader explicitly doesn't specify otherwise, then vertex colors with values 0.5 are actually neutral colors and won't change the look of resulting mesh inside game. If vertex colors are below 0.5 it will "darken" the model and what will be above 0.5 will result in "brighter" mesh.

Wrap Tool

In addition to this there is Wrap Tool which helps you wrap vertex colors of active vertex color layer on specified interval. So if you baked or painted your model on the range from 0 to 1 you can easily use this tools to scale this interval to the one you define in operator properties (advised interval is from 0.4 to 0.6). Tool can be found in SCS Tools shelf if current object is in "Vertex Paint" mode.

 

  • Wrap All - wrap vertex colors on all vertices.
  • Wrap Selected - wrap vertex colors only on selected vertices.

Stats Tool

As Blender doesn't have any proper number statistics over currently set vertex colors, this tool enables you to print out minimum, maximum and average vertex colors values for the mesh.

 

  • Get Statistics - output statistic to console and Blender menu bar.