graphics >> Rectangle Tessellation?

by Z2FtZU1ha2Vy » Tue, 03 May 2005 00:41:02 GMT

Currently, I tessellate my quads myself in order to improve lighting. But, I
see that there is some built in tessellation in D3D using the

Before I convert my code to use it, my questions are:

Would this be a good way to tessellate my quads?

Is this faster than if I just tessellate them at startup and draw each quad

Does this work on older cards without vertex shaders and other modern

graphics >> Rectangle Tessellation?

by Wessam Bahnassi » Tue, 03 May 2005 01:54:53 GMT

I think you're talking about tri-patches and the rest of the family?
The problem is that they're not widely supported on HW. However, you might
find D3DXTessellate*Patch() useful for your case?

Wessam Bahnassi
Microsoft DirectX MVP,
Lead Programmer

Similar Threads

1. Looking for rectangle in generalized rectangle

2. Largest axis parellel rectangle in a rotated rectangle

Does anyone have the algorithm handy to calculate the largest axis
parallel rectangle inside a rotated rectangle?

I've found code to do this for a n-sided polygon, which I could use to
do this.. Just wondering if there's a more efficient way of doing it
just for a rectangle.

3. Maximize Number of Rectangles Inside Larger Rectangle

4. Highlight rectangle in ListBox when mouse moves over rectangle

I am new to this Delphi programming. However, I have a nice drag and
drop working from ListBox to ListBox. However, I would like the
destination rectangles to be highlighted when the mouse is over that
location. I am having trouble doing this.

How do I set my ListBox up so that item rectangles will be highlighted
as the mouse moves over the rectangle? After the mouse leaves the
rectangle the rectangle goes back to normal. 



5. Drawing a rectangle over a rectangle

6. Polygon tessellation with C# .NET


I'd like to write a plug-in in C# with VS.Net.

This plug-in takes in Primitves such as : Boxes, Cylinder, Spheres, 
Pyramids, Cones...

I have to tessellate them in triangles to get a Mesh.

I used the GLU before (In C++ : gluTessCallback) . I'm quite new to C#, .NET 
and Direct3D.
I'd like to know if it can be done with Direct3D ? Or can i use GLU in C# ?
(I'd like to avoid managed C++)
Or if i can get a "simple" tessellation algoritm ? I found one in the 
previous posts, but didn't test it yet.

Thanks a milion.

7. Polygon tessellation

8. ID3DXPatchMesh and adaptive tessellation


I'm converting a ID3DXMesh to a ID3DXPatchMesh and then trying to do an 
adaptive tessellation based on a texture given by the SetDisplaceParam 
method. When calling the TessellateAdaptive method the resulting mesh is 
always uniformly tessellated like it does not take the texture into 
account at all.

I have tried different texture formats and texture usage parameters, but 
   there doesn't really seem to any documentation about the patch mesh 
or how the texture is used.

Have anybody gotten adaptive tesselation working?