Files
RCBASIC4/doc/doc_files/serenity_mesh_editor.html
2025-08-31 21:50:38 -05:00

93 lines
2.1 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="style.css">
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
<title>Serenity3D [RCBasic Doc] </title>
</head>
<body>
<p><h2>Serenity3D Mesh Editor </h2></p>
<p>
The mesh editor performs the following functions
</p>
<ol>
<li>
Load Mesh from file
</li>
<li>
Create Mesh from a mesh primitive shape
</li>
<li>
Remove mesh from project
</li>
</ol>
<p>
<br>
</p>
<p>
The mesh preview window has the same controls as the material preview. Hold the middle mouse button down and move the mouse left/right to rotate around the mesh.
</p>
<p>
In the ID panel, you can set the ID and choose a separate mesh for collision data.
</p>
<p><img src="images/mesh_id_panel.png" width=750 height=150></p>
<ol>
<li>
ID - Must be a valid RCBasic variable
</li>
<li>
File - The file the mesh was loaded from
</li>
<li>
Collider - You can select another mesh to use for collision geometry
</li>
</ol>
<p>
<br>
</p>
<p>
The material panel is where you can set materials for a mesh.
</p>
<p><img src="images/mesh_material_panel.png" width=600 height=240></p>
<ol>
<li>
Add - Add a material to the mesh
<ul>
<li>
Meshes can have more than one material if there are multiple materials on the 3D model
</li>
</ul>
</li>
<li>
Remove - Removes the selected mesh
</li>
<li>
Set/UnSet - Sets or Clears a material slot
</li>
</ol>
<p>
<br>
</p>
<p>
The animation panel is pretty simplistic. You can't modify any frames. You only assign which frames belong to an animation ID for reference in your project.
</p>
<p><img src="images/mesh_animation_panel.png" width=600 height=240></p>
<ol>
<li>
Animation ID - This is the name you want attached to the animation
</li>
<li>
Start Frame - The first frame of the animation
</li>
<li>
End Frame - The last frame of the animation
</li>
<li>
Speed - The speed in frames per second of the animation
</li>
</ol>
<p>
</body>
</html>