Show
Ignore:
Timestamp:
10/10/09 11:41:28 (5 years ago)
Author:
robert
Message:

From Stephane Lamoliatte, "Here is a patch wich improves the support for geometry shaders in OpenSceneGraph.
It adds new PrimitiveSet? constants for the specific geometry shader primitive types :

  • LINES_ADJACENCY
  • LINE_STRIP_ADJACENCY
  • TRIANGLES_ADJACENCY
  • TRIANGLE_STRIP_ADJACENCY

It also adds some missing features to the glsl reader plug'in.
"

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/include/osg/PrimitiveSet

    r10600 r10627  
    173173            QUADS = GL_QUADS, 
    174174            QUAD_STRIP = GL_QUAD_STRIP, 
    175             POLYGON = GL_POLYGON 
     175            POLYGON = GL_POLYGON, 
     176            LINES_ADJACENCY = GL_LINES_ADJACENCY_EXT,  
     177            LINE_STRIP_ADJACENCY = GL_LINE_STRIP_ADJACENCY_EXT,  
     178            TRIANGLES_ADJACENCY = GL_TRIANGLES_ADJACENCY_EXT,  
     179            TRIANGLE_STRIP_ADJECENCY = GL_TRIANGLE_STRIP_ADJACENCY_EXT, 
    176180        }; 
    177181