User Tools

Site Tools


visual3d:documentation:modeling:segments:animation_surface_models

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
visual3d:documentation:modeling:segments:animation_surface_models [2024/06/19 12:48] sgrangervisual3d:documentation:modeling:segments:animation_surface_models [2024/07/17 15:45] (current) – created sgranger
Line 1: Line 1:
-{{{{{{{{{{a surface mesh can be associated with each segment. if the user selects a default segment name, a default mesh that is associated with that segment name will be chosen. for example, if you create the "right thigh" segment (e.g. rth), a right thigh skeletal mesh is chosen by default.+====== Animation Surface Models ======
  
-  * if you do not see skeletoncheck to see that you have selected the "view skeleton" option. +A surface mesh can be associated with each segment. If the user selects default segment namea default mesh that is associated with that segment name will be chosenFor example, if you create the "Right Thighsegment (e.g. RTH)a right thigh skeletal mesh is chosen by default.
-  * if you do not see a skeleton and have selected the "view skeletonoptionyou may need to check the default model path in the model section of the **preferences**.+
  
-the skeletal model file associated with segment can be reassigned by the user in the **segment properties** dialogeach mesh is scaled to unit length in the model fileand then scaled to the segment length in the visual3d animation view. if you want to create your own custom skeletal meshes, please contact c-motion for assistance.+  * If you do not see skeleton, check to see that you have selected the "view skeleton" option. 
 +  * If you do not see a skeleton and have selected the "view skeleton" optionyou may need to check the default model path in the model section of the **Preferences**.
  
-===== wavefront_obj_file_format =====+The skeletal model file associated with a segment can be reassigned by the user in the **Segment Properties** dialog. Each mesh is scaled to unit length in the model file, and then scaled to the segment length in the Visual3D animation view. If you want to create your own custom skeletal meshes, please contact C-Motion for assistance.
  
-a full description of the wavefront obj file format can be found [[http://www.fileformat.info/format/wavefrontobj/|here]]. refer to [[visual3d:documentation:modeling:segments:wavefront_obj_file_format|wavefront_obj_file_format]] for how to export for use in visual3d.+==== Wavefront_obj_file_format ====
  
-[[http://en.wikipedia.org/wiki/wavefront_.obj_file|wikipedia documentation]]+A full description of the Wavefront obj file format can be found [[http://www.fileformat.info/format/wavefrontobj/|here]]Refer to [[Visual3D:Documentation:Modeling:Segments:Wavefront_obj_file_format|Wavefront_obj_file_format]] for how to export for use in Visual3D.
  
-===== position and orientation of the surface model =====+[[http://en.wikipedia.org/wiki/Wavefront_.obj_file|Wikipedia documentation]]
  
-visual3d will import models that are stored in either the wavefront (obj) or vrml (wrl) formats+==== Position and Orientation of the surface model ====
  
-visual3d treats all segments independently. this means that wireframe model files must contain polygons for only one segment.+Visual3D will import models that are stored in either the Wavefront (obj) or VRML (wrl) formats
  
-the position and orientation of the animation surface model is defined with respect to the segment coordinate system of the segment that the model is assigned to. in order to understand how to orient wireframe models to make them suitable for animation in visual3d, it is important to understand how the segment coordinate system is constructed for each segment.+Visual3D treats all segments independently. This means that wireframe model files must contain polygons for only one segment.
  
-visual3d allows the segment coordinate systems to be modified after the segment has been created.+The position and orientation of the animation surface model is defined with respect to the segment coordinate system of the segment that the model is assigned to. In order to understand how to orient wireframe models to make them suitable for animation in Visual3D, it is important to understand how the segment coordinate system is constructed for each segment.
  
-step 1. the segment endpoints are calculated. as described in the visual3d documentation elsewhere, there are many ways to calculate the segment endpointthe relevance to the calculation is that the markers that are used to define the segment endpoints also determine the frontal plane of the segment coordinate system. in this illustration the three red markers are used to calculate the blue segment endpoints+Visual3D allows the segment coordinate systems to be modified after the segment has been created.
  
-wireframe1.gif\\+Step 1The segment endpoints are calculated. As described in the Visual3D documentation elsewhere, there are many ways to calculate the segment endpoint. The relevance to the calculation is that the markers that are used to define the segment endpoints also determine the frontal plane of the segment coordinate system. In this illustration the three red markers are used to calculate the blue segment endpoints
  
 +{{:wireframe1.gif}}\\
  
-step 2. the z-axis is defined by the vector from the distal segment endpoint to the proximal segment endpoint. 
  
-wireframe2.gif\\+Step 2. The z-axis is defined by the vector from the distal segment endpoint to the proximal segment endpoint.
  
 +{{:wireframe2.gif}}\\
  
-step 3. the frontal plane (x-z) plane is defined by the markers. 
  
-wireframe3.gif\\+Step 3. The frontal plane (x-z) plane is defined by the markers.
  
 +{{:wireframe3.gif}}\\
  
-step 4. the y-axis is project forward in the anterior posterior direction. 
  
-wireframe4.gif\\+Step 4. The y-axis is project forward in the anterior posterior direction.
  
 +{{:wireframe4.gif}}\\
  
-step 5. the x-axis is then calculated perpendicular to the y-z plane. 
  
-wireframe5.gif\\+Step 5. The x-axis is then calculated perpendicular to the y-z plane.
  
 +{{:wireframe5.gif}}\\
  
-in order for a polygonal model to be displayed correctly in visual3d it must be oriented to align with the segment coordinate system. note that the model will be created for an ideal segment coordinate system because motion capture data on real subjects only approximates the ideal coordinate system. don’t be surprised if your polygonal models appear slightly askew. in the segment properties dialog in visual3d you can re-orient your polygonal model to make the animation look better without modifying the motion capture data. 
  
-lastly visual3d will scale the polygonal model to the length of the segment (as determined by motion capture data and model definition) assuming that the polygonal model as a length of 1 in the z-direction. note that this means that your z-values will lie between z=-1 and z=0 for a segment that is constructed to lie from segment endpoint to segment endpoint.+In order for a polygonal model to be displayed correctly in Visual3D it must be oriented to align with the segment coordinate system. Note that the model will be created for an ideal segment coordinate system because motion capture data on real subjects only approximates the ideal coordinate system. Don’t be surprised if your polygonal models appear slightly askew. In the segment properties dialog in Visual3D you can re-orient your polygonal model to make the animation look better without modifying the motion capture data.
  
-**warning!!** visual3d assumes 6 degree of freedom segments which means that joint properties are not defined. the point at which a segment rotates is therefore not necessarily about the segment endpoint. you may have to play with the origin of your wireframe model to make the segment look right in the animation.+Lastly Visual3D will scale the polygonal model to the length of the segment (as determined by motion capture data and model definition) assuming that the polygonal model as a length of 1 in the z-direction. Note that this means that your z-values will lie between z=-1 and z=0 for a segment that is constructed to lie from segment endpoint to segment endpoint.
  
-===== example transforming an obj file for a visual3d segment =====+**Warning!!** Visual3D assumes 6 degree of freedom segments which means that joint properties are not defined. The point at which a segment rotates is therefore not necessarily about the segment endpoint. You may have to play with the origin of your wireframe model to make the segment look right in the animation. 
 + 
 +==== Example Transforming an obj file for a Visual3D segment ==== 
 + 
 +The following is a very simple obj file that described the polygons for a cone.
  
-the following is a very simple obj file that described the polygons for a cone. 
  
  
-}}}}}}}}}} 
visual3d/documentation/modeling/segments/animation_surface_models.1718801328.txt.gz · Last modified: 2024/06/19 12:48 by sgranger