Hi Christoph and all,

Did you have any news on this? Is the simple pass-through geometry shader supposed to work using your branch?

/2014-08-20/ Christoph Kolb <http://mitk.org/git/?p=MITK.git;a=search;h=refs/heads/bug-18026-AddGeometryShaderSupport;s=Christoph+Kolb;st=author> Geometry shader support in mitkVtkShaderRepository <http://mitk.org/git/?p=MITK.git;a=commit;h=75ca21bd3684267d65544f94441b7e843787bee3>bug-18026-AddGeometryShaderSupport <http://mitk.org/git/?p=MITK.git;a=shortlog;h=refs/heads/bug-18026-AddGeometryShaderSupport>
http://mitk.org/git/?p=MITK.git;a=commit;h=75ca21bd3684267d65544f94441b7e843787bee3

Le 2014-08-21 09:49, Nil Goyette a écrit :
This being said, I never succeeded in running a geometry shader. The program starts without error, so the shaders are built and added in the repository, but when I add a FiberBundleX in the data manager, I always get the same Visual Studio error "Unhandled exception at 0x6916B759 (atioglxx.dll) in MI-Brain.exe: 0xC0000005: Access violation reading location 0x00000010."
File vtkOpenGLDisplayListPainter.cxx
Line 181 glCallList(iter->second);

I tried with 3 versions to be sure, but none of them works. I'm pretty sure 2) should work. 1) The shader I actually want to use, which keeps vertices only in a specific zone
2) Simple pass-through
#version 120
#extension GL_EXT_geometry_shader4 : enable
void main(void) {
  for (int i = 0; i &lt; gl_VerticesIn; ++i) {
    gl_Position = gl_PositionIn[i];
    EmitVertex();
  }
}
3) Empty main() (not sure it's valid though)

        

------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to