$upaxis: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 4: Line 4:
* SMD files exported from [[3DS Max]] and [[XSI]] do use '''$upaxis Z''', so there's no need to specify the $upaxis command in your QC file.
* SMD files exported from [[3DS Max]] and [[XSI]] do use '''$upaxis Z''', so there's no need to specify the $upaxis command in your QC file.
* SMD files exported from [[Maya]] (by default) use '''$upaxis Y''', so you need to specify <code>$upaxis Y</code> in your QC file.
* SMD files exported from [[Maya]] (by default) use '''$upaxis Y''', so you need to specify <code>$upaxis Y</code> in your QC file.
{{warning|XSI viewports show '''Y''' as the upaxis ... ? [[User:Beeswax|Beeswax]] 13:44, 3 Apr 2008 (PDT)}}


=== Example Syntax ===
=== Example Syntax ===

Revision as of 13:44, 3 April 2008

The QC command $upaxis tells StudioMDL which axis in the .SMD file should be considered up.

  • By default StudioMDL will assume the SMD file uses $upaxis Z.
  • SMD files exported from 3DS Max and XSI do use $upaxis Z, so there's no need to specify the $upaxis command in your QC file.
  • SMD files exported from Maya (by default) use $upaxis Y, so you need to specify $upaxis Y in your QC file.
Warning.pngWarning:XSI viewports show Y as the upaxis ... ? Beeswax 13:44, 3 Apr 2008 (PDT)

Example Syntax

$upaxis Y