Archived

This topic is now archived and is closed to further replies.

cryo75

Mesh vs PatchMesh

Recommended Posts

Hi all, What''s the difference between a Mesh and a PatchMesh, and what would be suitable to use in a 3d tiled terrain engine?? Thanks, Ivan

Share this post


Link to post
Share on other sites
Guest Anonymous Poster

this info is from the directx help files
of D3DXPATCHINFO Structure

the Remarks

A mesh is a set of faces, each of which is described by a simple polygon. Objects can be created by connecting several meshes together. A patch mesh is constructed from patches. A patch is a four-sided piece of geometry constructed from curves. The type of curve used and the order of the curve can be varied so that the patch surface will fit almost any surface shape.

The following types of patch combinations are supported:

Patch Type __ Basis _____ Degree
Rectangle ___ Bezier ____ 2,3,5
Rectangle ___ B-Spline __ 2,3,5
Rectangle ___ Catmull Rom 3
Triangle ___ Bezier ____ 2,3,5
N-patch N/A 3

moon

Share this post


Link to post
Share on other sites
Yeah just saw it. It''s funny that just as soon you ask a question, you go back and find the answer

So I guess that patches are out of the question for my purpose.

Share this post


Link to post
Share on other sites