Difference between revisions of "Nif Optimization"

Jump to navigation Jump to search
32 bytes added ,  03:56, 19 September 2008
updated nifoptimize.py -> niftoaster.py optimize
imported>Amorilia
(minor update to faq)
imported>Amorilia
(updated nifoptimize.py -> niftoaster.py optimize)
Line 59: Line 59:


In the text box under "Application used to perform action", you see this text string:
In the text box under "Application used to perform action", you see this text string:
  "C:\Python25\python.exe" "C:\Python25\Scripts\nifoptimize.py" --pause "%1"
  "C:\Python25\python.exe" "C:\Python25\Scripts\niftoaster.py" --pause optimize "%1"
You can add new options between <tt>--pause</tt> and <tt>"%1"</tt>, for instance:
You can add new options between <tt>--pause</tt> and <tt>"%1"</tt>, for instance:
  "C:\Python25\python.exe" "C:\Python25\Scripts\nifoptimize.py" --pause -x NiMaterialProperty "%1"
  "C:\Python25\python.exe" "C:\Python25\Scripts\niftoaster.py" --pause -x NiMaterialProperty optimize "%1"
if you do not want the script to optimize NiMaterialProperty blocks when you run it from the context menu.
if you do not want the script to optimize NiMaterialProperty blocks when you run it from the context menu.


Line 96: Line 96:
;-x ''blocktype''
;-x ''blocktype''
:Exclude block type ''blocktype'' from optimization. For example, if you type
:Exclude block type ''blocktype'' from optimization. For example, if you type
  python.exe Scripts\nifoptimize.py -x NiTriStrips C:\nifoptimize
  python.exe Scripts\niftoaster.py -x NiTriStrips optimize C:\nifoptimize
:then the script will not attempt to optimize NiTriStrips blocks (that is, removing duplicate vertices, restripifying, reskinning, and so on). You can accumulate this option to exclude multiple block types.
:then the script will not attempt to optimize NiTriStrips blocks (that is, removing duplicate vertices, restripifying, reskinning, and so on). You can accumulate this option to exclude multiple block types.
  python.exe Scripts\nifoptimize.py -x NiTriStrips -x NiMaterialProperty C:\nifoptimize
  python.exe Scripts\niftoaster.py -x NiTriStrips -x NiMaterialProperty optimize C:\nifoptimize
:will prevent NiTriStrips to be optimized, and will also prevent duplicate NiMaterialProperty blocks to be merged.
:will prevent NiTriStrips to be optimized, and will also prevent duplicate NiMaterialProperty blocks to be merged.


Anonymous user

Navigation menu