[vtkusers] a bug in vtkOpenGLProjectedTetrahedraMapper

Andy Bauer andy.bauer at kitware.com
Mon Dec 29 09:24:24 EST 2014


Hi Jin,

Thanks for looking into this. Some instructions for contributing code to
VTK are at http://www.vtk.org/Wiki/VTK/Git/Develop. After you push your
code to gerrit for review, you'll want to assign a reviewer. People that
modified that code are most appropriate. Assign them at the change AND
topic level in gerrit to make sure they get notified by email for the code
review request -- it's a bit clunky and people haven't always gotten emails
for code reviews if you just add them under one of change and topic but I
can't remember which one doesn't send the email.

Regards,
Andy

On Mon, Dec 29, 2014 at 2:32 AM, Zhou, Jin <Jin.Zhou at amd.com> wrote:

>  Hi there,
>
>
>
> Currently I find a bug in vtkOpenGLProjectedTetrahedraMapper.cxx:line 470,
>
>
>
> void vtkOpenGLProjectedTetrahedraMapper::Render(vtkRenderer *renderer,
>
>                                                 vtkVolume *volume)
>
> {
>
>>
> glTexImage2D(GL_TEXTURE_2D, 0, GL_INTENSITY, TEXRES, TEXRES, 1, GL_RED,
>
>                  GL_FLOAT, texture);
>
>>
> }
>
>
>
> According to the opengl spec, the ‘border’ parameter of glTexImage2D must
> be 0:
>
> void *glTexImage2D*(GLenum target, GLint level, GLint internalFormat
> , GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const
> GLvoid * data);
>
> *border*
>
> This value must be 0.
>
>
>
> Can anybody tell me how to send the patch to VTK community ?
>
>
>
> Best Regards,
>
> Jin
>
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20141229/5ebc9ee5/attachment.html>


More information about the vtkusers mailing list