Editing Rich Appearance Format (RAF)

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

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"
|+ <raf>
|-
! Attribute !! Description
! 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"
|+ <model>
|-
! Attribute !! Description
! 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"
|+ <animation>
|-
! Attribute !! Description
! 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"
|+ <material>
|-
! Attribute !! Description
! 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"
|+ <texture>
! colspan="2" {{cellcolors|lightblue|white}} Sub Element: <texture>
! Attribute !! Description
|-
! 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"
|+ <actor>
|-
! Attribute !! Description
! 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"
|+ <camera>
|-
! Attribute !! Description
! 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"
|+ <light>
|-
! Attribute !! Description
! 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"
|+ <script>
|-
! Attribute !! Description
! colspan="2" {{cellcolors|blue|white}} Element: <script>
|-
! Attribute  
! Description
|-
|-
|-
| file || Path to the script file
| file || Path to the script file
|-
|}
|}


Please note that all contributions to PS3 Developer wiki are considered to be released under the GNU Free Documentation License 1.2 (see PS3 Developer wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following hCaptcha:

Cancel Editing help (opens in new window)