Editing Rich Appearance Format (RAF)
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 67: | Line 67: | ||
{| class="wikitable" | {| class="wikitable" | ||
| | |- | ||
! Attribute | ! colspan="2" {{cellcolors|blue|white}} Root Element: <raf> | ||
|- | |||
! Attribute | |||
! Description | |||
|- | |- | ||
| angle_unit || Unit of angles in the scene file (radian/degree) | | angle_unit || Unit of angles in the scene file (radian/degree) | ||
|- | |||
|} | |} | ||
Line 77: | Line 81: | ||
===Model=== | ===Model=== | ||
{| class="wikitable" | {| class="wikitable" | ||
| | |- | ||
! Attribute | ! colspan="2" {{cellcolors|blue|white}} Element: <model> | ||
|- | |||
! Attribute | |||
! Description | |||
|- | |- | ||
| id || String accessed as the model attribute of the <actor> element | | id || String accessed as the model attribute of the <actor> element | ||
Line 86: | Line 93: | ||
| vertex_color || Usage (or lack) of color regarding each vertex | | vertex_color || Usage (or lack) of color regarding each vertex | ||
*enable/disable | *enable/disable | ||
|- | |||
|} | |} | ||
====Animation==== | ====Animation==== | ||
{| class="wikitable" | {| class="wikitable" | ||
| | |- | ||
! Attribute | ! colspan="2" {{cellcolors|lightblue|white}} Sub Element: <animation> | ||
|- | |||
! Attribute | |||
! Description | |||
|- | |- | ||
| id || String accessed by scripts | | id || String accessed by scripts | ||
Line 102: | Line 113: | ||
|- | |- | ||
| sampling_rate || Sampling rate | | sampling_rate || Sampling rate | ||
|- | |||
|} | |} | ||
===Material=== | ===Material=== | ||
{| class="wikitable" | {| class="wikitable" | ||
| | |- | ||
! Attribute | ! colspan="2" {{cellcolors|blue|white}} Element: <material> | ||
|- | |||
! Attribute | |||
! Description | |||
|- | |- | ||
| id || String accessed as the material attribute of the <actor> element | | id || String accessed as the material attribute of the <actor> element | ||
Line 122: | Line 137: | ||
* basic_lighting_alpha_add : Derive blending of basic_lighting by addition calculation | * basic_lighting_alpha_add : Derive blending of basic_lighting by addition calculation | ||
* sce01 : internal/reserved ? (used in coldboot.raf compiled with raf tools v1.00) | * sce01 : internal/reserved ? (used in coldboot.raf compiled with raf tools v1.00) | ||
|- | |||
|} | |} | ||
====Texture==== | ====Texture==== | ||
{| class="wikitable" | {| class="wikitable" | ||
| | ! colspan="2" {{cellcolors|lightblue|white}} Sub Element: <texture> | ||
! Attribute | |- | ||
! Attribute | |||
! Description | |||
|- | |- | ||
| file || Path to the texture file | | file || Path to the texture file | ||
Line 136: | Line 154: | ||
*specular_map : Specular strength (G) | *specular_map : Specular strength (G) | ||
*tangent_normal_map : Normal in tangent space, valid only for models with TEXTANGENT (RGB) | *tangent_normal_map : Normal in tangent space, valid only for models with TEXTANGENT (RGB) | ||
|- | |||
|} | |} | ||
===Actor=== | ===Actor=== | ||
{| class="wikitable" | {| class="wikitable" | ||
| | |- | ||
! Attribute | ! colspan="2" {{cellcolors|blue|white}} Element: <actor> | ||
|- | |||
! Attribute | |||
! Description | |||
|- | |- | ||
| id || String accessed by scripts | | id || String accessed by scripts | ||
Line 168: | Line 190: | ||
|-{{cellcolors|lightgrey}} | |-{{cellcolors|lightgrey}} | ||
| zsort || String indicating the z sort type (unspecified/back to front/front to back) <!-- mandatory in raf format v1.02... not mandatory/inexistant in raf format v1.00 --> | | zsort || String indicating the z sort type (unspecified/back to front/front to back) <!-- mandatory in raf format v1.02... not mandatory/inexistant in raf format v1.00 --> | ||
|- | |||
|} | |} | ||
Line 174: | Line 197: | ||
===Camera=== | ===Camera=== | ||
{| class="wikitable" | {| class="wikitable" | ||
| | |- | ||
! Attribute | ! colspan="2" {{cellcolors|blue|white}} Element: <camera> | ||
|- | |||
! Attribute | |||
! Description | |||
|- | |- | ||
| id || String accessed by scripts | | id || String accessed by scripts | ||
Line 196: | Line 222: | ||
|- | |- | ||
| up || Vector to the initial up direction (x, y, z) | | up || Vector to the initial up direction (x, y, z) | ||
|- | |||
|} | |} | ||
===Light=== | ===Light=== | ||
{| class="wikitable" | {| class="wikitable" | ||
| | |- | ||
! Attribute | ! colspan="2" {{cellcolors|blue|white}} Element: <light> | ||
|- | |||
! Attribute | |||
! Description | |||
|- | |- | ||
| id || String accessed by scripts | | id || String accessed by scripts | ||
Line 216: | Line 246: | ||
|- | |- | ||
| attenuation || Vector to the initial attenuation (zero-order, first-order, second-order) | | attenuation || Vector to the initial attenuation (zero-order, first-order, second-order) | ||
|- | |||
|} | |} | ||
===Script=== | ===Script=== | ||
{| class="wikitable" | {| class="wikitable" | ||
| | |- | ||
! Attribute | ! colspan="2" {{cellcolors|blue|white}} Element: <script> | ||
|- | |||
! Attribute | |||
! Description | |||
|- | |||
|- | |- | ||
| file || Path to the script file | | file || Path to the script file | ||
|- | |||
|} | |} | ||