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 39: | Line 39: | ||
<raf angle_unit="radian/degree"> | <raf angle_unit="radian/degree"> | ||
Β | <!-- model --> | ||
<model id="model" file="model.dae" vertex_color="disable/enable" > | <model id="model" file="model.dae" vertex_color="disable/enable" > | ||
<animation id="animation" file="animation.dae" start="1" end="100" sampling_rate="1" /> | <animation id="animation" file="animation.dae" start="1" end="100" sampling_rate="1" /> | ||
</model> | </model> | ||
<!-- material --> | |||
<material id="material" effect="pure_texture/pure_texture_alpha_0_depth_1/pure_texture_alpha_1_depth_0/pure_texture_alpha_0_depth_0/basic_lighting/basic_lighting_alpha_0/basic_lighting_edge_lit/basic_lighting_edge_lit_alpha_0/basic_lighting_alpha_add" > | <material id="material" effect="pure_texture/pure_texture_alpha_0_depth_1/pure_texture_alpha_1_depth_0/pure_texture_alpha_0_depth_0/basic_lighting/basic_lighting_alpha_0/basic_lighting_edge_lit/basic_lighting_edge_lit_alpha_0/basic_lighting_alpha_add" > | ||
<texture file="texture.jpg/texture.dds" type="color_map/normal_map/specular_map/tangent_normal_map" /> | <texture file="texture.jpg/texture.dds" type="color_map/normal_map/specular_map/tangent_normal_map" /> | ||
</material> | </material> | ||
<!-- actor --> | |||
<actor id="actor" model="model" material="material" position="x,y,z" rotation="x,y,z" scale="x,y,z" color="r,g,b,a" uv_scale="u,v" uv_offset="u,v" anim_weight="anim0, anim1, anim2, anim3" anim_speed="anim0, anim1, anim2, anim3" anim_time="anim0, anim1, anim2, anim3" /> | <actor id="actor" model="model" material="material" position="x,y,z" rotation="x,y,z" scale="x,y,z" color="r,g,b,a" uv_scale="u,v" uv_offset="u,v" anim_weight="anim0, anim1, anim2, anim3" anim_speed="anim0, anim1, anim2, anim3" anim_time="anim0, anim1, anim2, anim3" /> | ||
<!-- camera --> | |||
<camera id="camera" file="camera.dae" type="perspective/orthographic" yfov="1" ymag="1" znear="1" zfar="1" position="x,y,z" direction="x,y,z" up="x,y,z" /> | <camera id="camera" file="camera.dae" type="perspective/orthographic" yfov="1" ymag="1" znear="1" zfar="1" position="x,y,z" direction="x,y,z" up="x,y,z" /> | ||
<!-- light --> | |||
<light id="light" file="light.dae" type="ambient/point" color="r,g,b" position="x,y,z" direction="x,y,z" attenuation="1,1,1" /> | <light id="light" file="light.dae" type="ambient/point" color="r,g,b" position="x,y,z" direction="x,y,z" attenuation="1,1,1" /> | ||
<!-- script --> | |||
<script file="script.js" /> | <script file="script.js" /> | ||
</raf> | </raf> | ||
</syntaxhighlight>}} | </syntaxhighlight>}} |