meta data for this page
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
pg_extend_trunk_vertex [2022/04/12 12:15] – croft | pg_extend_trunk_vertex [2023/04/19 10:33] (current) – steph.jorgensen | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ======Extending a Scanned Trunk Using Vertex Blending====== | + | ======Extending a scanned trunk using vertex blending====== |
- | + | ||
- | > | + | |
Tree trunks are often close to the camera and difficult to model which makes them an excellent candidate for photogrammetry. | Tree trunks are often close to the camera and difficult to model which makes them an excellent candidate for photogrammetry. | ||
Line 7: | Line 5: | ||
> | > | ||
- | =====Import the Mesh and its Textures===== | + | =====Import the mesh and its textures===== |
In order to use a 3d scan, you must first import the mesh as a [[kcmeshes|mesh asset]]. Next, create a [[toolmaterialsassetsbar|material asset]] that uses the textures associated with the scan. Be sure to associate the mesh asset with the material. | In order to use a 3d scan, you must first import the mesh as a [[kcmeshes|mesh asset]]. Next, create a [[toolmaterialsassetsbar|material asset]] that uses the textures associated with the scan. Be sure to associate the mesh asset with the material. | ||
- | {{ :pg_asset_setup.jpg | + | {{pg_asset_setup.jpg}} |
Meshes must be a single model that can have a single material on it. Photogrammetry meshes are typically saved as single meshes with unwrapped UV data that correspond to a texture atlas. | Meshes must be a single model that can have a single material on it. Photogrammetry meshes are typically saved as single meshes with unwrapped UV data that correspond to a texture atlas. | ||
- | =====Add the Mesh to the Model===== | + | =====Add the mesh to the model===== |
Once you have assets in place you'll use a [[mesh_generator|Mesh generator]] to make it part of your model. | Once you have assets in place you'll use a [[mesh_generator|Mesh generator]] to make it part of your model. | ||
- | {{ :pg_mesh_generator.jpg | + | {{pg_mesh_generator.jpg}} |
> | > | ||
- | =====Add the Vertex Blending Stitch Template===== | + | =====Add the vertex blending stitch template===== |
Select the Mesh generator and add the " | Select the Mesh generator and add the " | ||
- | {{ ::pg_vertex_blend.jpg | + | {{pg_vertex_blend.jpg}} |
- | =====Choose a Good Material | + | =====Choose a good material |
Create a material for the child branch and apply it. This material should match that of the scanned trunk as closely as possible (all maps: color, normal, gloss, etc.). | Create a material for the child branch and apply it. This material should match that of the scanned trunk as closely as possible (all maps: color, normal, gloss, etc.). | ||
- | =====Put the Stitch | + | =====Put the stitch |
The Stitch will be placed near the center of the mesh. It may be in a valid location but probably isn't. Switch to node editing mode, select either the stitch ring (if it's not valid) or the stitch geometry (if it is valid) and move the Stitch to the desired location. | The Stitch will be placed near the center of the mesh. It may be in a valid location but probably isn't. Switch to node editing mode, select either the stitch ring (if it's not valid) or the stitch geometry (if it is valid) and move the Stitch to the desired location. | ||
- | {{ ::pg_stitch_geometry_move.gif | + | {{pg_stitch_geometry_move.gif}} |
You must leave enough trunk geometry beyond the stitch location to be used in the blending process. | You must leave enough trunk geometry beyond the stitch location to be used in the blending process. | ||
- | =====Edit the Blend===== | + | =====Edit the blend===== |
Now that you have the stitch where you'd like it, it's time to make the blend region as seamless as possible. | Now that you have the stitch where you'd like it, it's time to make the blend region as seamless as possible. | ||
- | {{ ::pg_stitch_geometry_edit_blend.gif | + | {{pg_stitch_geometry_edit_blend.gif}} |
There will typically be a little bit of back and forth between blend settings, child positioning, | There will typically be a little bit of back and forth between blend settings, child positioning, | ||
- | =====Build out the Rest of the Model===== | + | =====Build out the rest of the model===== |
Use traditional SpeedTree techniques to add a procedural branch structure and leaf canopy to the model. | Use traditional SpeedTree techniques to add a procedural branch structure and leaf canopy to the model. | ||
- | {{ ::pg_stitch_geometry_full.jpg | + | {{pg_stitch_geometry_full.jpg}} |
> | > | ||
- | =====Best | + | =====Best |
The following list outlines a few things to keep in mind when using photogrammetry trunk meshes with vertex blending. | The following list outlines a few things to keep in mind when using photogrammetry trunk meshes with vertex blending. | ||