Menu

Geometry Shader errors

Help
Anonymous
2011-04-05
2012-12-26
  • Anonymous

    Anonymous - 2011-04-05

    Hello, i'm trying to use Geometry Shader in GLGraphics, but not luck at all. First i tried in GLSLShader, then in GLCgShader but have errors like

    GLCgShader:  Cg error(s) in diffusegeom.cg
    GLCgShader:  The compile returned an error.
    GLCgShader:  (10) : error C3004: function "__internal void emitVertex(<error>);" not supported in this profile

    after looking into latest sources from svn i see you are force for shader using profile CgGL.CG_PROFILE_ARBFP1

    so meybe this is problem?

    Can you please help me with this? or maybe even better, make small sample how to use Geometry Shader in GLGraphics?

     
  • Andres Colubri

    Andres Colubri - 2011-04-06

    Hi, geometry shaders are not well tested in GLGraphics… I'll try to get a minimal glsl example running in the following days and will update about it.

     
  • Andres Colubri

    Andres Colubri - 2011-04-10

    Hello. I uploaded a new test package (2011-04-10) which fixes several issues I found in the handling of geometry shaders with GLSL. I also added a new example showing mesh subdivision using geo. shaders.

     
  • Anonymous

    Anonymous - 2011-04-11

    Thanx a lot! Sample working ok for me! Will test my code now!

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.