Geometry shader in brief

Source: Internet
Author: User

A few words in dx10 tutorial are really brilliant ...... How is it like editing mesh modifier?

The benefit of the geometry shader that it allows manipulation of meshes on a per-primitive basis. instead of running a computation on each vertex individually, there is the option to operate on a per-primitive basis. that is, vertices can be passed in as a single vertex, a line segment (two vertices), or as a triangle (three vertices ).

In addition to allowing access to whole primitives, the geometry shader can create new primitives on the fly.

The geometry shader in direct3d 10 can read in a single primitive (with optional edge-adjacent primitives) and emit zero, one, or multiple primitives based on that.

For instance, it is possible to read in individual vertices, and generate multiple triangles based on those. This allows a wide range of new ideas to be executed on the graphics pipeline without CPU intervention.

the geometry shader exists between the vertex and the pixel shaders in the graphics pipeline.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.