Sign in to follow this  
Followers 0
safiullahhussaini

OpenGL
Returning points instead of triangles from the tessellation stage

1 post in this topic

Again may be a rookie question, and I think I ve read about this somewhere in a book on Direct3D 11, but I just wanted to confirm.

Is it possible to stream out pointlist instead of triangle lists from the Tesselation stages (Hull and Domain Shaders) from a four control point list? And I dnt know if this is a valid question either or whether I should be asking it here, but how does OpenGL fare in this regard? I have heard from a friend that something like this is possible in OpenGL, so if it is, does the hardware support it? Is this a Direct3D limitation (for performance reasons or something)?

Thanks in advance.
0

Share this post


Link to post
Share on other sites
Well there certainly isn't a "point" domain for tessellation, because there would be nothing to tessellate. There's only "line", "triangle", and "quad". However if you use a geometry shader, you can take either a point, line, or triangle as input and output any of those primitive types.
0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0